diff options
author | Pierre Muller <muller@ics.u-strasbg.fr> | 2009-04-21 11:38:38 +0000 |
---|---|---|
committer | Pierre Muller <muller@ics.u-strasbg.fr> | 2009-04-21 11:38:38 +0000 |
commit | 4e2cf0c1b8dc9d4baba731b96b48a0978e14413d (patch) | |
tree | 8ce6d283aa28cde58fb4b082b134be92e9035b4a /gdb/symmisc.c | |
parent | 345c85ba5e4ef630e73b27a17cac2ec295b909c2 (diff) | |
download | gdb-4e2cf0c1b8dc9d4baba731b96b48a0978e14413d.tar.gz |
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.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 67baef77217..2e25c896df3 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); } |