aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-08-12 13:30:31 -0600
committerTom Tromey <tromey@adacore.com>2022-08-31 11:03:40 -0600
commit610f8c63394782fa73b12ff67f6cd2b76180ad2c (patch)
tree44ea91b7f02cff8913f0ff24a647801ac98aee63 /gdb
parent90621f6922ec7da513a2af46234bb5ae11a663ae (diff)
downloadfsf-binutils-gdb-610f8c63394782fa73b12ff67f6cd2b76180ad2c.zip
fsf-binutils-gdb-610f8c63394782fa73b12ff67f6cd2b76180ad2c.tar.gz
fsf-binutils-gdb-610f8c63394782fa73b12ff67f6cd2b76180ad2c.tar.bz2
Remove a call to clear_interpreter_hooks
mi_interp::resume does not need to call clear_interpreter_hooks, because this is already done by interp_set.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/mi/mi-interp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index dbf7118..af24220 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -190,10 +190,6 @@ mi_interp::resume ()
/* Route target error through the MI as well. */
gdb_stdtargerr = mi->targ;
- /* Replace all the hooks that we know about. There really needs to
- be a better way of doing this... */
- clear_interpreter_hooks ();
-
deprecated_show_load_progress = mi_load_progress;
}