* dwarf2read.c (process_psymtab_comp_unit_reader): Remove duplicate
authorDoug Evans <dje@google.com>
Thu, 11 Oct 2012 02:21:50 +0000 (02:21 +0000)
committerDoug Evans <dje@google.com>
Thu, 11 Oct 2012 02:21:50 +0000 (02:21 +0000)
"0x" prefix on address in log message.

gdb/ChangeLog
gdb/dwarf2read.c

index b6ca77a98f31c514cb4ce81182211b32c72b605b..7955f5ff11f96629387804c59bafda522bd82f23 100644 (file)
@@ -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.
index afddd30007e8b9c720767582a804b9ea8c56615b..2dcba20764545569aa0c2e7620b9bf212e7d663c 100644 (file)
@@ -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,