aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-exp.y
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2022-07-19 08:05:25 +0200
committerMarkus Metzger <markus.t.metzger@intel.com>2022-10-18 14:16:10 +0200
commit5f0277edf24612029c5ff513342adcb01db56e7a (patch)
tree398203af4e79730ced0fec4acd8f363353cc2ca8 /gdb/ada-exp.y
parent06a670e280f39b0dd7fe0b0e0e21efa488c2729f (diff)
downloadgdb-5f0277edf24612029c5ff513342adcb01db56e7a.zip
gdb-5f0277edf24612029c5ff513342adcb01db56e7a.tar.gz
gdb-5f0277edf24612029c5ff513342adcb01db56e7a.tar.bz2
fixup! gdb, ada: update ada_lookup_simple_minsym
remove get_selected_block()
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r--gdb/ada-exp.y3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index 3ec9e4d..7b4d6cc 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);