From 3ab7648384afdc0a8ebe893347286bee2ff2f850 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 12 Jan 2024 18:42:47 +0100 Subject: [TRACE] Better trace for wrapped dladdr1 calls --- src/wrapped/wrappedlibdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wrapped/wrappedlibdl.c b/src/wrapped/wrappedlibdl.c index 217ae012..ac803569 100644 --- a/src/wrapped/wrappedlibdl.c +++ b/src/wrapped/wrappedlibdl.c @@ -423,7 +423,7 @@ int my_dladdr1(x64emu_t* emu, void *addr, void *i, void** extra_info, int flags) if(flags==RTLD_DL_SYMENT) { printf_log(LOG_INFO, "Warning, unimplement call to dladdr1 with RTLD_DL_SYMENT flags\n"); } else if (flags==RTLD_DL_LINKMAP) { - printf_log(LOG_INFO, "Warning, partially unimplemented call to dladdr1 with RTLD_DL_LINKMAP flags\n"); + printf_log(LOG_INFO, "Warning, partially unimplemented call to dladdr1 with RTLD_DL_LINKMAP flags for %s\n", lib?lib->name:"current process"); *(linkmap_t**)extra_info = getLinkMapLib(lib); } return (info->dli_sname)?1:0; // success is non-null here... -- cgit 1.4.1