aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-03-26 11:11:40 -0600
committerTom Tromey <tom@tromey.com>2020-03-28 09:22:53 -0600
commitf1749218ff325e2074583fa7d7caf9ee09a1feb8 (patch)
tree0827cec25e6342eee65e91638e130c5c59b49b60
parent767be9d907ae92a943cec9d2de4f52e077335ba7 (diff)
downloadgdb-f1749218ff325e2074583fa7d7caf9ee09a1feb8.zip
gdb-f1749218ff325e2074583fa7d7caf9ee09a1feb8.tar.gz
gdb-f1749218ff325e2074583fa7d7caf9ee09a1feb8.tar.bz2
Fix formatting of read_attribute_reprocess
I noticed that the start of read_attribute_reprocess had the wrong formatting. This patch fixes it. gdb/ChangeLog 2020-03-28 Tom Tromey <tom@tromey.com> * dwarf2/read.c (read_attribute_reprocess): Fix formatting.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2/read.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 50c7cb4..bc4451e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2020-03-28 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (read_attribute_reprocess): Fix formatting.
+
2020-03-27 Hannes Domani <ssbssa@yahoo.de>
* windows-nat.c (windows_add_all_dlls): Fix system dll paths.
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c
index 2465ece..8c5046e 100644
--- a/gdb/dwarf2/read.c
+++ b/gdb/dwarf2/read.c
@@ -18302,8 +18302,9 @@ partial_die_info::fixup (struct dwarf2_cu *cu)
attributes are the ones that need str_offsets_base or addr_base attributes.
They could not have been processed in the first round, because at the time
the values of str_offsets_base or addr_base may not have been known. */
-void read_attribute_reprocess (const struct die_reader_specs *reader,
- struct attribute *attr)
+static void
+read_attribute_reprocess (const struct die_reader_specs *reader,
+ struct attribute *attr)
{
struct dwarf2_cu *cu = reader->cu;
switch (attr->form)