mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 12:03:45 +00:00
Bugfix: LOAD_DLL_DEBUG_EVENT lpImageName parameter was incorrect.
This commit is contained in:
parent
0be7cabb49
commit
d024d5e942
3 changed files with 3 additions and 3 deletions
|
@ -169,7 +169,7 @@ extern void PROCESS_WalkProcess( void );
|
|||
extern DWORD DEBUG_SendExceptionEvent( EXCEPTION_RECORD *rec, BOOL first_chance );
|
||||
extern DWORD DEBUG_SendCreateProcessEvent( HFILE file, HMODULE module, void *entry );
|
||||
extern DWORD DEBUG_SendCreateThreadEvent( void *entry );
|
||||
extern DWORD DEBUG_SendLoadDLLEvent( HFILE file, HMODULE module, LPSTR name );
|
||||
extern DWORD DEBUG_SendLoadDLLEvent( HFILE file, HMODULE module, LPSTR *name );
|
||||
extern DWORD DEBUG_SendUnloadDLLEvent( HMODULE module );
|
||||
|
||||
static inline PDB * WINE_UNUSED PROCESS_Current(void)
|
||||
|
|
|
@ -1461,7 +1461,7 @@ WINE_MODREF *MODULE_LoadLibraryExA( LPCSTR libname, HFILE hfile, DWORD flags )
|
|||
LeaveCriticalSection(&PROCESS_Current()->crit_section);
|
||||
|
||||
if (PROCESS_Current()->flags & PDB32_DEBUGGED)
|
||||
DEBUG_SendLoadDLLEvent( -1 /*FIXME*/, pwm->module, pwm->modname );
|
||||
DEBUG_SendLoadDLLEvent( -1 /*FIXME*/, pwm->module, &pwm->modname );
|
||||
|
||||
return pwm;
|
||||
}
|
||||
|
|
|
@ -96,7 +96,7 @@ DWORD DEBUG_SendCreateThreadEvent( void *entry )
|
|||
*
|
||||
* Send an LOAD_DLL_DEBUG_EVENT event to the current process debugger.
|
||||
*/
|
||||
DWORD DEBUG_SendLoadDLLEvent( HFILE file, HMODULE module, LPSTR name )
|
||||
DWORD DEBUG_SendLoadDLLEvent( HFILE file, HMODULE module, LPSTR *name )
|
||||
{
|
||||
struct debug_event_load_dll event;
|
||||
|
||||
|
|
Loading…
Reference in a new issue