aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-04-21 11:38:38 +0000
committerPierre Muller <muller@sourceware.org>2009-04-21 11:38:38 +0000
commitdfc3cd0e774f1ed6cca0bc39b32b673426cbd128 (patch)
treea16110ed99d47af389e866b773e91517eb733a21 /gdb/symmisc.c
parent29b0e8a24aad93899d3d81d9e43493adfa83c930 (diff)
downloadgdb-dfc3cd0e774f1ed6cca0bc39b32b673426cbd128.zip
gdb-dfc3cd0e774f1ed6cca0bc39b32b673426cbd128.tar.gz
gdb-dfc3cd0e774f1ed6cca0bc39b32b673426cbd128.tar.bz2
ARI fix: remove "%p".
* ia64-tdep.c (ia64_frame_this_id): Use host_address_to_string function. (ia64_sigtramp_frame_this_id): Ditto. (ia64_libunwind_frame_this_id): Ditto. (ia64_libunwind_sigtramp_frame_this_id): Ditto. * symmisc.c (maintenance_info_psymtabs): Ditto.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 67baef7..2e25c89 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -1027,8 +1027,8 @@ maintenance_info_psymtabs (char *regexp, int from_tty)
printf_filtered (" globals ");
if (psymtab->n_global_syms)
{
- printf_filtered ("(* (struct partial_symbol **) %p @ %d)\n",
- (psymtab->objfile->global_psymbols.list
+ printf_filtered ("(* (struct partial_symbol **) %s @ %d)\n",
+ host_address_to_string (psymtab->objfile->global_psymbols.list
+ psymtab->globals_offset),
psymtab->n_global_syms);
}
@@ -1037,8 +1037,8 @@ maintenance_info_psymtabs (char *regexp, int from_tty)
printf_filtered (" statics ");
if (psymtab->n_static_syms)
{
- printf_filtered ("(* (struct partial_symbol **) %p @ %d)\n",
- (psymtab->objfile->static_psymbols.list
+ printf_filtered ("(* (struct partial_symbol **) %s @ %d)\n",
+ host_address_to_string (psymtab->objfile->static_psymbols.list
+ psymtab->statics_offset),
psymtab->n_static_syms);
}