From 12bc5170ee9c498cd1a2be0e2dacbe5083ceb70e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 5 Dec 2022 10:59:27 -0700 Subject: Rename install_sigint_handler A subsequent patch will introduce a global 'install_sigint_handler' function, so first rename the static one in extension.c. --- gdb/extension.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/extension.c b/gdb/extension.c index 8cbd80f..1d951d6 100644 --- a/gdb/extension.c +++ b/gdb/extension.c @@ -657,7 +657,7 @@ get_active_ext_lang (void) /* Install a SIGINT handler. */ static void -install_sigint_handler (const struct signal_handler *handler_state) +install_ext_sigint_handler (const struct signal_handler *handler_state) { gdb_assert (handler_state->handler_saved); @@ -756,7 +756,7 @@ restore_active_ext_lang (struct active_ext_lang_state *previous) { /* Restore the previous SIGINT handler if one was saved. */ if (previous->sigint_handler.handler_saved) - install_sigint_handler (&previous->sigint_handler); + install_ext_sigint_handler (&previous->sigint_handler); /* If there's a SIGINT recorded in the cooperative extension languages, move it to the new language, or save it in GDB's global flag if the -- cgit v1.1