diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-05-22 16:18:11 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-05-22 16:18:11 +0000 |
commit | 412237328f6a7293cfba3f85d914f896db975af1 (patch) | |
tree | 34e2be38c61a080b5858f232fcf3dc416ed355e4 /gdb/windows-nat.c | |
parent | 783bc92bdf91418a80557af431c7e4f86ecee768 (diff) | |
download | gdb-412237328f6a7293cfba3f85d914f896db975af1.tar.gz |
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.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 41c1701c25c..db3188b0c17 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -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; } |