This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit/obv] Minor reformatting in dwarf2read.c:psymtabs_addrmap_cleanup.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Thu, 17 Jun 2010 15:37:18 -0700
- Subject: [commit/obv] Minor reformatting in dwarf2read.c:psymtabs_addrmap_cleanup.
Really a tiny insignificant detail that just happened to catch my attention.
Fixed thusly.
2010-06-17 Joel Brobecker <brobecker@adacore.com>
* dwarf2read.c (psymtabs_addrmap_cleanup): Add empty line after
last local variable declaration. No real code change.
Checked in.
---
gdb/ChangeLog | 5 +++++
gdb/dwarf2read.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index db4a2c5..15c7c85 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-17 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2read.c (psymtabs_addrmap_cleanup): Add empty line after
+ last local variable declaration. No real code change.
+
2010-06-17 Tom Tromey <tromey@redhat.com>
* dwarf2read.c (psymtabs_addrmap_cleanup): New function.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 9723ea2..613f021 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -2001,6 +2001,7 @@ static void
psymtabs_addrmap_cleanup (void *o)
{
struct objfile *objfile = o;
+
objfile->psymtabs_addrmap = NULL;
}
--
1.7.1