aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-04-24 15:46:00 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-04-24 15:49:23 -0400
commit41966608a1ee2bde59772c41aae6ec95b309ff26 (patch)
tree5425dd252a689193d4aecf665d0289b7ea49d34c /gdb/cli
parent618e9847c576e97724a39077925588e4c19119b2 (diff)
downloadgdb-41966608a1ee2bde59772c41aae6ec95b309ff26.zip
gdb-41966608a1ee2bde59772c41aae6ec95b309ff26.tar.gz
gdb-41966608a1ee2bde59772c41aae6ec95b309ff26.tar.bz2
gdb: remove end_stepping_range observable
I noticed that this observable was never notified, which means we can probably safely remove it. The notification was removed in: commit 243a925328f8e3184b2356bee497181049c0174f Author: Pedro Alves <palves@redhat.com> Date: Wed Sep 9 18:23:24 2015 +0100 Replace "struct continuation" mechanism by something more extensible print_end_stepping_range_reason in turn becomes unused, so remote it as well. Change-Id: If5da5149276c282d2540097c8c4327ce0f70431a
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-interp.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c
index 9941014..5a515c6 100644
--- a/gdb/cli/cli-interp.c
+++ b/gdb/cli/cli-interp.c
@@ -151,21 +151,6 @@ cli_base_on_signal_received (enum gdb_signal siggnal)
}
}
-/* Observer for the end_stepping_range notification. */
-
-static void
-cli_base_on_end_stepping_range ()
-{
- SWITCH_THRU_ALL_UIS ()
- {
- cli_interp_base *cli = as_cli_interp_base (top_level_interpreter ());
- if (cli == nullptr)
- continue;
-
- print_end_stepping_range_reason (cli->interp_ui_out ());
- }
-}
-
/* Observer for the signalled notification. */
static void
@@ -422,8 +407,6 @@ _initialize_cli_interp ()
/* Note these all work for both the CLI and TUI interpreters. */
gdb::observers::normal_stop.attach (cli_base_on_normal_stop,
"cli-interp-base");
- gdb::observers::end_stepping_range.attach (cli_base_on_end_stepping_range,
- "cli-interp-base");
gdb::observers::signal_received.attach (cli_base_on_signal_received,
"cli-interp-base");
gdb::observers::signal_exited.attach (cli_base_on_signal_exited,