aboutsummaryrefslogtreecommitdiff
path: root/gdb/interps.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-09-06 15:29:09 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-09-07 21:55:20 -0400
commitbec941b342c86dcb61d017d988166ed7a68aba34 (patch)
treea4d25247a38d206eb0f7c7cb1b54bf60c3a3a698 /gdb/interps.c
parent8cde0346f2a7c2419cd91305e60bd1d3433ce403 (diff)
downloadgdb-bec941b342c86dcb61d017d988166ed7a68aba34.zip
gdb-bec941b342c86dcb61d017d988166ed7a68aba34.tar.gz
gdb-bec941b342c86dcb61d017d988166ed7a68aba34.tar.bz2
gdb: remove interp_pre_command_loop
It is a trivial wrapper around the pre_command_loop method, remove it. Change-Id: Idb2c61f9b68988528006a9a9b2b528f43781eef4 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/interps.c')
-rw-r--r--gdb/interps.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/interps.c b/gdb/interps.c
index 7baa849..fa294df 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -262,16 +262,6 @@ command_interp (void)
return current_ui->current_interpreter;
}
-/* See interps.h. */
-
-void
-interp_pre_command_loop (struct interp *interp)
-{
- gdb_assert (interp != NULL);
-
- interp->pre_command_loop ();
-}
-
/* See interp.h */
int