This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[OB COMMITTED] Add missing empty line after var declarations in handle_unload_dll
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 20 May 2013 14:29:02 +0400
- Subject: [OB COMMITTED] Add missing empty line after var declarations in handle_unload_dll
Hello,
I noticed the following trivial style issue while looking at Eli's
patch. Fixed thusly.
gdb/ChangeLog:
* windows-nat.c (handle_unload_dll): Add missing empty line.
Checked in.
---
gdb/ChangeLog | 4 ++++
gdb/windows-nat.c | 1 +
2 files changed, 5 insertions(+)
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;
--
1.7.10.4