public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Tom Tromey <tromey@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove a call to clear_interpreter_hooks Date: Wed, 31 Aug 2022 17:15:05 +0000 (GMT) [thread overview] Message-ID: <20220831171505.E6B983858D39@sourceware.org> (raw) 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; }
reply other threads:[~2022-08-31 17:15 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220831171505.E6B983858D39@sourceware.org \ --to=tromey@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).