aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/windows-nat.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ba4c83e..20bd955 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2013-05-20 Joel Brobecker <brobecker@adacore.com>
+ * windows-nat.c (handle_unload_dll): Add missing empty line.
+
+2013-05-20 Joel Brobecker <brobecker@adacore.com>
+
* dwarf2read.c (prototyped_function_p): New function.
(read_subroutine_type): Use it.
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 7eec2cf..41c1701 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -884,6 +884,7 @@ handle_unload_dll (void *dummy)
if (so->next->lm_info->load_addr == lpBaseOfDll)
{
struct so_list *sodel = so->next;
+
so->next = sodel->next;
if (!so->next)
solib_end = so;