diff options
author | Pierre Muller <muller@ics.u-strasbg.fr> | 2009-10-06 15:32:17 +0000 |
---|---|---|
committer | Pierre Muller <muller@ics.u-strasbg.fr> | 2009-10-06 15:32:17 +0000 |
commit | 41172dade897e7d93976d82a66059c758251e0f7 (patch) | |
tree | 16ca8c44e157d1662a5292366a2ec45da6ce362b | |
parent | 83a29744c468ec47712c1096a70731e52f0e0d58 (diff) | |
download | gdb-41172dade897e7d93976d82a66059c758251e0f7.tar.gz |
* ARI fix: "%p" rule.
target.c (debug_to_thread_architecture): Replace %p by %s using
host_address_to_string function.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/target.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8e7bf5f22d6..36887fa30ee 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr> + + * ARI fix: "%p" rule. + target.c (debug_to_thread_architecture): Replace %p by %s using + host_address_to_string function. + 2009-10-06 Tristan Gingold <gingold@adacore.com> * darwin-nat.c: Add __TEXT __info_plist content. diff --git a/gdb/target.c b/gdb/target.c index e5d14fd1039..1ba8b3555a3 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; } |