From: Eli Zaretskii Date: Wed, 22 May 2013 16:18:12 +0000 (+0000) Subject: Fix reporting of DLL unload events on MS-Windows. X-Git-Tag: cygwin-1_7_19-release~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d85c48475feb99f061897d641adc54881a41762f;p=external%2Fbinutils.git 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. --- 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 + + * 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 * 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; }