diff options
Diffstat (limited to 'gdb/bt-utils.h')
-rw-r--r-- | gdb/bt-utils.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/bt-utils.h b/gdb/bt-utils.h index 0981ed7..c2fbe97 100644 --- a/gdb/bt-utils.h +++ b/gdb/bt-utils.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2021-2024 Free Software Foundation, Inc. +/* Copyright (C) 2021-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -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 */ |