diff options
Diffstat (limited to 'gdb/break-catch-sig.c')
-rw-r--r-- | gdb/break-catch-sig.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c index 72a5ebc..9e1c6d6 100644 --- a/gdb/break-catch-sig.c +++ b/gdb/break-catch-sig.c @@ -1,6 +1,6 @@ /* Everything about signal catchpoints, for GDB. - Copyright (C) 2011-2024 Free Software Foundation, Inc. + Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -18,9 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "arch-utils.h" -#include <ctype.h> #include "breakpoint.h" -#include "cli/cli-cmds.h" #include "inferior.h" #include "infrun.h" #include "annotate.h" @@ -409,9 +407,7 @@ catch_signal_command (const char *arg, int from_tty, create_signal_catchpoint (tempflag, std::move (filter), catch_all); } -void _initialize_break_catch_sig (); -void -_initialize_break_catch_sig () +INIT_GDB_FILE (break_catch_sig) { add_catch_command ("signal", _("\ Catch signals by their names and/or numbers.\n\ |