aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-nat.h
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/gnu-nat.h
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/gnu-nat.h')
-rw-r--r--gdb/gnu-nat.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/gnu-nat.h b/gdb/gnu-nat.h
index ccb837d..fc9f774 100644
--- a/gdb/gnu-nat.h
+++ b/gdb/gnu-nat.h
@@ -88,8 +88,9 @@ extern char *proc_string (struct proc *proc);
#define proc_debug(_proc, msg, args...) \
do { struct proc *__proc = (_proc); \
- debug ("{proc %d/%d %p}: " msg, \
- __proc_pid (__proc), __proc->tid, __proc , ##args); } while (0)
+ debug ("{proc %d/%d %s}: " msg, \
+ __proc_pid (__proc), __proc->tid,
+ host_address_to_string (__proc) , ##args); } while (0)
extern int gnu_debug_flag;