aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/windows-nat.c1
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f972b53..bc787a7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
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;
}