* psymtab.c (allocate_psymtab): Use host_address_to_string.

This commit is contained in:
Doug Evans 2012-07-10 01:10:25 +00:00
parent 6721b2ec99
commit fd55216c81
2 changed files with 4 additions and 2 deletions

View 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

View 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);