From ec77b8387f1b253dc78dc394e4c556aa0ecae3bc Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 8 Jun 2000 00:58:50 +0000 Subject: [PATCH] Send full path name and debug information in load_dll event. --- loader/pe_image.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/loader/pe_image.c b/loader/pe_image.c index 236cee9de92..0a372284b6c 100644 --- a/loader/pe_image.c +++ b/loader/pe_image.c @@ -964,9 +964,9 @@ WINE_MODREF *PE_LoadLibraryExA (LPCSTR name, DWORD flags) SNOOP_RegisterDLL(wm->module,wm->modname,wm->binfmt.pe.pe_export->NumberOfFunctions); req->handle = hFile; req->base = (void *)hModule32; - req->dbg_offset = 0; - req->dbg_size = 0; - req->name = &wm->modname; + req->dbg_offset = PE_HEADER(hModule32)->FileHeader.PointerToSymbolTable; + req->dbg_size = PE_HEADER(hModule32)->FileHeader.NumberOfSymbols; + req->name = &wm->filename; server_call_noerr( REQ_LOAD_DLL ); CloseHandle( hFile ); return wm;