diff options
Diffstat (limited to 'gdb/gnu-nat.h')
-rw-r--r-- | gdb/gnu-nat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-nat.h b/gdb/gnu-nat.h index cc430835f2c..bcdfe6e7779 100644 --- a/gdb/gnu-nat.h +++ b/gdb/gnu-nat.h @@ -96,6 +96,6 @@ extern int gnu_debug_flag; #define debug(msg, args...) \ do { if (gnu_debug_flag) \ - fprintf_unfiltered (gdb_stdlog, "%s: " msg "\r\n", __FUNCTION__ , ##args); } while (0) + fprintf_unfiltered (gdb_stdlog, "%s:%d: " msg "\r\n", __FILE__ , __LINE__ , ##args); } while (0) #endif /* __GNU_NAT_H__ */ |