aboutsummaryrefslogtreecommitdiff
path: root/gdb/xtensa-tdep.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-04-17 15:44:28 +0000
committerPierre Muller <muller@sourceware.org>2009-04-17 15:44:28 +0000
commita74ce742ff4d9d7f8c207852d8b51234f661b532 (patch)
tree6c7e1c941f1cad94dab90297e625ab24b76d98f0 /gdb/xtensa-tdep.c
parentd9118602518511148f81961bbdd632439db10a19 (diff)
downloadgdb-a74ce742ff4d9d7f8c207852d8b51234f661b532.zip
gdb-a74ce742ff4d9d7f8c207852d8b51234f661b532.tar.gz
gdb-a74ce742ff4d9d7f8c207852d8b51234f661b532.tar.bz2
ARI fix: Do not use %p, replace by call to host_address_to_string
for host pointers. * darwin-nat.c (darwin_xfer_partial): Apply change. * gnu-nat.c (inf_continue, gnu_xfer_memory): Ditto. * gnu-nat.h (proc_debug): Ditto. * symmisc.c (maintenance_info_symtabs): Ditto. (maintenance_info_psymtabs): Ditto. * windows-nat.c (handle_load_dll): Ditto. (handle_unload_dll, info_w32_command, handle_exception): Ditto. * xtensa-tdep.c (xtensa_unwind_pc): Ditto.
Diffstat (limited to 'gdb/xtensa-tdep.c')
-rw-r--r--gdb/xtensa-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c
index 393b60b0..31683ec 100644
--- a/gdb/xtensa-tdep.c
+++ b/gdb/xtensa-tdep.c
@@ -1018,7 +1018,8 @@ xtensa_unwind_pc (struct gdbarch *gdbarch, struct frame_info *next_frame)
gdb_byte buf[8];
CORE_ADDR pc;
- DEBUGTRACE ("xtensa_unwind_pc (next_frame = %p)\n", next_frame);
+ DEBUGTRACE ("xtensa_unwind_pc (next_frame = %s)\n",
+ host_address_to_string (next_frame));
frame_unwind_register (next_frame, gdbarch_pc_regnum (gdbarch), buf);
pc = extract_typed_address (buf, builtin_type (gdbarch)->builtin_func_ptr);