aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-10 01:10:25 +0000
committerDoug Evans <dje@google.com>2012-07-10 01:10:25 +0000
commitfd55216c81fd25259ef30a5914ee82b727eddd8b (patch)
tree328433d2e87b30a1a1c6e97693901579f18d2599 /gdb/psymtab.c
parent6721b2ec995b983abc98246ec3fdd0ade806907d (diff)
downloadgdb-fd55216c81fd25259ef30a5914ee82b727eddd8b.zip
gdb-fd55216c81fd25259ef30a5914ee82b727eddd8b.tar.gz
gdb-fd55216c81fd25259ef30a5914ee82b727eddd8b.tar.bz2
* psymtab.c (allocate_psymtab): Use host_address_to_string.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r--gdb/psymtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index c92cab8..5366d94 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);