From fd55216c81fd25259ef30a5914ee82b727eddd8b Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 10 Jul 2012 01:10:25 +0000 Subject: [PATCH] * psymtab.c (allocate_psymtab): Use host_address_to_string. --- gdb/ChangeLog | 2 ++ gdb/psymtab.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a3c2d4c0ea7..4ebefdedd7f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2012-07-09 Doug Evans + * 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 diff --git a/gdb/psymtab.c b/gdb/psymtab.c index c92cab86369..5366d947393 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -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); -- 2.30.2