aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-03-15 13:27:03 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-03-15 13:27:03 -0400
commit4800761a71cf4eb1024ab586385be4832d62aabb (patch)
treed7c99b7655479b3bb1f6615384110c7bddabfa50
parent850ed749b4bb6d859ab11d4fdebd16c44b4ad9e9 (diff)
downloadgdb-4800761a71cf4eb1024ab586385be4832d62aabb.zip
gdb-4800761a71cf4eb1024ab586385be4832d62aabb.tar.gz
gdb-4800761a71cf4eb1024ab586385be4832d62aabb.tar.bz2
gdb: remove spurious colon in create_debug_type_hash_table debug print
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
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dwarf2/read.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4ead5ae..2315d5b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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
parameter, adjust caller.
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c
index 704ba9f..d688130 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 ());