* psymtab.c (allocate_psymtab): Use host_address_to_string.
authorDoug Evans <dje@google.com>
Tue, 10 Jul 2012 01:10:25 +0000 (01:10 +0000)
committerDoug Evans <dje@google.com>
Tue, 10 Jul 2012 01:10:25 +0000 (01:10 +0000)
gdb/ChangeLog
gdb/psymtab.c

index a3c2d4c0ea730991bdf25190bc5ef8a6a70b0246..4ebefdedd7f1b807079cfddec9fca491d4c39912 100644 (file)
@@ -1,5 +1,7 @@
 2012-07-09  Doug Evans  <dje@google.com>
 
+       * psymtab.c (allocate_psymtab): Use host_address_to_string.
+
        * dwarf2read.c (load_full_type_unit): Simplify.
 
        * dwarf2read.c (dwarf2_per_objfile): Change type of all_type_units
index c92cab86369328569c095e3fd4e644feb43bc8db..5366d947393952fecc5a972798ceb2b55ce06c91 100644 (file)
@@ -1747,8 +1747,8 @@ allocate_psymtab (const char *filename, struct objfile *objfile)
                              last_objfile_name);
        }
       fprintf_unfiltered (gdb_stdlog,
-                         "Created psymtab 0x%lx for module %s.\n",
-                         (long) psymtab, filename);
+                         "Created psymtab %s for module %s.\n",
+                         host_address_to_string (psymtab), filename);
     }
 
   return (psymtab);