public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] fixup! gdb, ada: update ada_lookup_simple_minsym
@ 2022-10-18 13:25 Markus Metzger
0 siblings, 0 replies; only message in thread
From: Markus Metzger @ 2022-10-18 13:25 UTC (permalink / raw)
To: gdb-cvs
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-18 13:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18 13:25 [binutils-gdb] fixup! gdb, ada: update ada_lookup_simple_minsym Markus Metzger
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).