aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-10-11 02:21:50 +0000
committerDoug Evans <dje@google.com>2012-10-11 02:21:50 +0000
commit844226d69ae03fbc8d28715e8b97b7dbc1ae2fe6 (patch)
treed84c77a34e7691cb35a6ec788429660c608198f2 /gdb
parenta1855c1db0fb6d4ab803b5589069fe04c2864b64 (diff)
downloadgdb-844226d69ae03fbc8d28715e8b97b7dbc1ae2fe6.zip
gdb-844226d69ae03fbc8d28715e8b97b7dbc1ae2fe6.tar.gz
gdb-844226d69ae03fbc8d28715e8b97b7dbc1ae2fe6.tar.bz2
* dwarf2read.c (process_psymtab_comp_unit_reader): Remove duplicate
"0x" prefix on address in log message.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/dwarf2read.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b6ca77a..7955f5f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2012-10-10 Doug Evans <dje@google.com>
+ * dwarf2read.c (process_psymtab_comp_unit_reader): Remove duplicate
+ "0x" prefix on address in log message.
+
* dwarf2read.c (read_1_byte): Add const to buf parameter.
(read_1_signed_byte, read_2_bytes, read_2_signed_bytes): Ditto.
(read_4_bytes, read_4_signed_bytes, read_8_bytes): Ditto.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index afddd30..2dcba207 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -4859,7 +4859,7 @@ process_psymtab_comp_unit_reader (const struct die_reader_specs *reader,
struct gdbarch *gdbarch = get_objfile_arch (objfile);
fprintf_unfiltered (gdb_stdlog,
- "Psymtab for %s unit @0x%x: 0x%s - 0x%s"
+ "Psymtab for %s unit @0x%x: %s - %s"
", %d global, %d static syms\n",
per_cu->is_debug_types ? "type" : "comp",
per_cu->offset.sect_off,