public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Fix formatting of read_attribute_reprocess
@ 2020-03-28 15:24 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2020-03-28 15:24 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f1749218ff325e2074583fa7d7caf9ee09a1feb8

commit f1749218ff325e2074583fa7d7caf9ee09a1feb8
Author: Tom Tromey <tom@tromey.com>
Date:   Thu Mar 26 11:11:40 2020 -0600

    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.

Diff:
---
 gdb/ChangeLog     | 4 ++++
 gdb/dwarf2/read.c | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 50c7cb4fe3b..bc4451ec0c4 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 2465ecebe34..8c5046ef41c 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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-28 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-28 15:24 [binutils-gdb] Fix formatting of read_attribute_reprocess Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).