public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] gdb: remove spurious colon in create_debug_type_hash_table debug print
@ 2021-03-15 17:27 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2021-03-15 17:27 UTC (permalink / raw)
  To: gdb-patches

This printout in create_debug_type_hash_table has an unexpected colon at
the end, remove it:

    [dwarf-read] create_debug_type_hash_table: Reading .debug_info for /home/simark/build/binutils-gdb/gdb/a.out:

gdb/ChangeLog:

	* dwarf2/read.c (create_debug_type_hash_table): Remove colon at
	end of debug print.

Change-Id: I2d707248249daf4d8b6fa8e7064acdc56c90f2dd
---
 gdb/ChangeLog     | 5 +++++
 gdb/dwarf2/read.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4ead5ae64513..2315d5bc6ea1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2021-03-15  Simon Marchi  <simon.marchi@polymtl.ca>
+
+	* dwarf2/read.c (create_debug_type_hash_table): Remove colon at
+	end of debug print.
+
 2021-03-15  Simon Marchi  <simon.marchi@polymtl.ca>
 
 	* dwarf2/read.c (dw2_get_file_names_reader): Remove info_ptr
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c
index 704ba9f36655..d6881300fa66 100644
--- a/gdb/dwarf2/read.c
+++ b/gdb/dwarf2/read.c
@@ -6286,7 +6286,7 @@ create_debug_type_hash_table (dwarf2_per_objfile *per_objfile,
 		    ? &dwo_file->sections.abbrev
 		    : &per_objfile->per_bfd->abbrev);
 
-  dwarf_read_debug_printf ("Reading %s for %s:",
+  dwarf_read_debug_printf ("Reading %s for %s",
 			   section->get_name (),
 			   abbrev_section->get_file_name ());
 
-- 
2.30.1


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

only message in thread, other threads:[~2021-03-15 17:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15 17:27 [pushed] gdb: remove spurious colon in create_debug_type_hash_table debug print Simon Marchi

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).