* win32-nat.c (handle_load_dll): Give dll name and load address

if debug_events is on.
	(handle_unload_dll): Likewise.
This commit is contained in:
Pierre Muller 2008-06-18 06:27:34 +00:00
parent f34787f832
commit 7488902c73
3 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-12-18 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (handle_load_dll): Give dll name and load address
if debug_events is on.
(handle_unload_dll): Likewise.
2008-06-14 Vladimir Prus <vladimir@codesourcery.com>
Don't suppress *running when doing finish.

View File

@ -747,6 +747,9 @@ handle_load_dll (void *dummy)
solib_end->next = win32_make_so (dll_name, (DWORD) event->lpBaseOfDll);
solib_end = solib_end->next;
DEBUG_EVENTS (("gdb: Loading dll \"%s\" at 0x%lx.\n", solib_end->so_name,
(DWORD) solib_end->lm_info->load_addr));
return 1;
}
@ -771,6 +774,8 @@ handle_unload_dll (void *dummy)
so->next = sodel->next;
if (!so->next)
solib_end = so;
DEBUG_EVENTS (("gdb: Unloading dll \"%s\".\n", sodel->so_name));
win32_free_so (sodel);
solib_add (NULL, 0, NULL, auto_solib_add);
return 1;

View File

@ -747,6 +747,9 @@ handle_load_dll (void *dummy)
solib_end->next = win32_make_so (dll_name, (DWORD) event->lpBaseOfDll);
solib_end = solib_end->next;
DEBUG_EVENTS (("gdb: Loading dll \"%s\" at 0x%lx.\n", solib_end->so_name,
(DWORD) solib_end->lm_info->load_addr));
return 1;
}
@ -771,6 +774,8 @@ handle_unload_dll (void *dummy)
so->next = sodel->next;
if (!so->next)
solib_end = so;
DEBUG_EVENTS (("gdb: Unloading dll \"%s\".\n", sodel->so_name));
win32_free_so (sodel);
solib_add (NULL, 0, NULL, auto_solib_add);
return 1;