public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Markus Metzger <mmetzger@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] fixup! gdb, ada: update ada_lookup_simple_minsym
Date: Tue, 18 Oct 2022 13:25:28 +0000 (GMT)	[thread overview]
Message-ID: <20221018132528.6DD543858C83@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5f0277edf24612029c5ff513342adcb01db56e7a

commit 5f0277edf24612029c5ff513342adcb01db56e7a
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Tue Jul 19 08:05:25 2022 +0200

    fixup! gdb, ada: update ada_lookup_simple_minsym
    
    remove get_selected_block()

Diff:
---
 gdb/ada-exp.y | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index 3ec9e4d610c..7b4d6cc6484 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -1698,9 +1698,6 @@ write_var_or_type (struct parser_state *par_state,
 	    }
 	  else if (syms.empty ())
 	    {
-	      if (block == nullptr)
-		block = get_selected_block (nullptr);
-
 	      struct objfile *objfile = nullptr;
 	      if (block != nullptr)
 		objfile = block_objfile (block);

                 reply	other threads:[~2022-10-18 13:25 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=20221018132528.6DD543858C83@sourceware.org \
    --to=mmetzger@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: link
Be 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).