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.
This commit is contained in:
Tom Tromey 2022-08-12 13:30:31 -06:00
parent 90621f6922
commit 610f8c6339

View file

@ -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;
}