*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / gnu-nat.h
index d37cd3506699294690ff8a6a29bcc4b8b7bcc9e8..c792bb05b1eda7b0ea6e74a70a4e85bc4f3fae4d 100644 (file)
@@ -1,5 +1,5 @@
 /* Common things used by the various *gnu-nat.c files
-   Copyright (C) 1995, 1996, 1997, 1999, 2000, 2007, 2008
+   Copyright (C) 1995, 1996, 1997, 1999, 2000, 2007, 2008, 2009
    Free Software Foundation, Inc.
 
    Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -25,7 +25,7 @@
 
 struct inf;
 
-extern struct inf *current_inferior;
+extern struct inf *gnu_current_inf;
 
 /* Converts a GDB pid to a struct proc.  */
 struct proc *inf_tid_to_thread (struct inf *inf, int tid);
@@ -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;
 
This page took 0.023511 seconds and 4 git commands to generate.