aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-nat.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gnu-nat.h')
-rw-r--r--gdb/gnu-nat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-nat.h b/gdb/gnu-nat.h
index f50ba60..3a32ab6 100644
--- a/gdb/gnu-nat.h
+++ b/gdb/gnu-nat.h
@@ -85,6 +85,6 @@ extern int gnu_debug_flag;
#define debug(msg, args...) \
do { if (gnu_debug_flag) \
- fprintf (stderr, "%s: " msg "\r\n", __FUNCTION__ , ##args); } while (0)
+ fprintf_unfiltered (gdb_stdlog, "%s: " msg "\r\n", __FUNCTION__ , ##args); } while (0)
#endif /* __GNU_NAT_H__ */