aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-10-06 15:32:18 +0000
committerPierre Muller <muller@sourceware.org>2009-10-06 15:32:18 +0000
commit67e5d36c367cd76c48411f65cc759ade26ae587a (patch)
tree94e4f2c1f44a0c0b6ec04bf832f7fe2257dbe24f /gdb/target.c
parent419c2fda0084b8f56501915d8191e7c53aca9264 (diff)
downloadbinutils-67e5d36c367cd76c48411f65cc759ade26ae587a.zip
binutils-67e5d36c367cd76c48411f65cc759ade26ae587a.tar.gz
binutils-67e5d36c367cd76c48411f65cc759ade26ae587a.tar.bz2
* ARI fix: "%p" rule.
target.c (debug_to_thread_architecture): Replace %p by %s using host_address_to_string function.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.c b/gdb/target.c
index e5d14fd..1ba8b35 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -3367,8 +3367,8 @@ debug_to_thread_architecture (struct target_ops *ops, ptid_t ptid)
retval = debug_target.to_thread_architecture (ops, ptid);
- fprintf_unfiltered (gdb_stdlog, "target_thread_architecture (%s) = %p [%s]\n",
- target_pid_to_str (ptid), retval,
+ fprintf_unfiltered (gdb_stdlog, "target_thread_architecture (%s) = %s [%s]\n",
+ target_pid_to_str (ptid), host_address_to_string (retval),
gdbarch_bfd_arch_info (retval)->printable_name);
return retval;
}