From 5f0277edf24612029c5ff513342adcb01db56e7a Mon Sep 17 00:00:00 2001 From: Markus Metzger Date: Tue, 19 Jul 2022 08:05:25 +0200 Subject: [PATCH] fixup! gdb, ada: update ada_lookup_simple_minsym remove get_selected_block() --- 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); -- 2.30.2