From 7a292a7adf506b866905b06b3024c0fd411c4583 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Mon, 26 Apr 1999 18:34:20 +0000 Subject: import gdb-19990422 snapshot --- gdb/gnu-nat.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/gnu-nat.h') diff --git a/gdb/gnu-nat.h b/gdb/gnu-nat.h index d238dc0..f50ba60 100644 --- a/gdb/gnu-nat.h +++ b/gdb/gnu-nat.h @@ -81,13 +81,10 @@ extern thread_state_t proc_get_state (struct proc *proc, int will_modify); debug ("{proc %d/%d %p}: " msg, \ __proc_pid (__proc), __proc->tid, __proc , ##args); } while (0) -#if MAINTENANCE_CMDS extern int gnu_debug_flag; + #define debug(msg, args...) \ do { if (gnu_debug_flag) \ fprintf (stderr, "%s: " msg "\r\n", __FUNCTION__ , ##args); } while (0) -#else -#define debug(msg, args...) (void)0 -#endif #endif /* __GNU_NAT_H__ */ -- cgit v1.1