diff options
author | Tom Tromey <tromey@adacore.com> | 2022-12-05 10:59:27 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-12-13 12:51:53 -0700 |
commit | 12bc5170ee9c498cd1a2be0e2dacbe5083ceb70e (patch) | |
tree | 9d1dd2ef325921c1f8e6fa8c3c2cb8503faa478f | |
parent | ea6929aaac370daddf0999faa553231c8b806b20 (diff) | |
download | gdb-12bc5170ee9c498cd1a2be0e2dacbe5083ceb70e.zip gdb-12bc5170ee9c498cd1a2be0e2dacbe5083ceb70e.tar.gz gdb-12bc5170ee9c498cd1a2be0e2dacbe5083ceb70e.tar.bz2 |
Rename install_sigint_handler
A subsequent patch will introduce a global 'install_sigint_handler'
function, so first rename the static one in extension.c.
-rw-r--r-- | gdb/extension.c | 4 |
1 files 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 |