mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user