Fix reporting of DLL unload events on MS-Windows.
gdb/windows-nat.c (handle_unload_dll): Don't call solib_add for the unloaded DLL, it will be done by handle_solib_event. See http://sourceware.org/ml/gdb-patches/2013-05/msg00713.html for the details.
This commit is contained in:
parent
cd2ae97138
commit
d85c48475f
@ -1,3 +1,10 @@
|
||||
2013-05-22 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* windows-nat.c (handle_unload_dll): Don't call solib_add for the
|
||||
unloaded DLL, it will be done by handle_solib_event. See
|
||||
http://sourceware.org/ml/gdb-patches/2013-05/msg00713.html for the
|
||||
details.
|
||||
|
||||
2013-05-22 Phil Muldoon <pmuldoon@redhat.com>
|
||||
|
||||
* ui-out.c: Create typedef ui_out_level_p and define vector
|
||||
|
@ -891,7 +891,6 @@ handle_unload_dll (void *dummy)
|
||||
DEBUG_EVENTS (("gdb: Unloading dll \"%s\".\n", sodel->so_name));
|
||||
|
||||
windows_free_so (sodel);
|
||||
solib_add (NULL, 0, NULL, auto_solib_add);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user