aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-05-22 16:18:12 +0000
committerEli Zaretskii <eliz@gnu.org>2013-05-22 16:18:12 +0000
commitd85c48475feb99f061897d641adc54881a41762f (patch)
treee9abdcb2f2e6af56dffa410ffb5d78140d8cd2f2 /gdb/windows-nat.c
parentcd2ae97138838d415067c2cf64519f8dc7c1f084 (diff)
downloadgdb-d85c48475feb99f061897d641adc54881a41762f.zip
gdb-d85c48475feb99f061897d641adc54881a41762f.tar.gz
gdb-d85c48475feb99f061897d641adc54881a41762f.tar.bz2
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 41c1701..db3188b 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;
}