* gdb.java/jprint.exp: XFAIL printing of static class members
[deliverable/binutils-gdb.git] / gdb / gnu-nat.h
index 855c2734ce39d73f46d7688747f48b66abb96c66..b6122a363ea9e26501670d068522a5f6dc1c42ff 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, 2010
    Free Software Foundation, Inc.
 
    Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -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;
 
@@ -97,4 +98,8 @@ extern int gnu_debug_flag;
  do { if (gnu_debug_flag) \
         fprintf_unfiltered (gdb_stdlog, "%s:%d: " msg "\r\n", __FILE__ , __LINE__ , ##args); } while (0)
 
+/* Create a prototype generic GNU/Hurd target.  The client can
+   override it with local methods.  */
+struct target_ops *gnu_target (void);
+
 #endif /* __GNU_NAT_H__ */
This page took 0.025032 seconds and 4 git commands to generate.