aboutsummaryrefslogtreecommitdiff
path: root/gdb/bt-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/bt-utils.h')
-rw-r--r--gdb/bt-utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/bt-utils.h b/gdb/bt-utils.h
index ed381d8..c2fbe97 100644
--- a/gdb/bt-utils.h
+++ b/gdb/bt-utils.h
@@ -75,4 +75,9 @@ extern void gdb_internal_backtrace_set_cmd (const char *args, int from_tty,
extern void gdb_internal_backtrace_init_str ();
+/* Print MSG to gdb_stderr or stderr in a way that is safe to do from an
+ interrupt handler. */
+
+extern void sig_write (const char *msg);
+
#endif /* GDB_BT_UTILS_H */