From 9630e38b8d046c38b463a0001be134aa4e8544d6 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 10 Jul 2012 01:10:25 +0000 Subject: * psymtab.c (allocate_psymtab): Use host_address_to_string. --- gdb/psymtab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/psymtab.c') 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); -- cgit v1.2.1