From: Markus Metzger Date: Tue, 19 Jul 2022 06:05:25 +0000 (+0200) Subject: fixup! gdb, ada: update ada_lookup_simple_minsym X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f0277edf24612029c5ff513342adcb01db56e7a;p=binutils-gdb.git fixup! gdb, ada: update ada_lookup_simple_minsym remove get_selected_block() --- 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);