public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove a call to clear_interpreter_hooks
@ 2022-08-31 17:15 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2022-08-31 17:15 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=610f8c63394782fa73b12ff67f6cd2b76180ad2c
commit 610f8c63394782fa73b12ff67f6cd2b76180ad2c
Author: Tom Tromey <tromey@adacore.com>
Date: Fri Aug 12 13:30:31 2022 -0600
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.
Diff:
---
gdb/mi/mi-interp.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index dbf71185ea7..af242208a0b 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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-31 17:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 17:15 [binutils-gdb] Remove a call to clear_interpreter_hooks Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).