diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2022-07-19 08:05:25 +0200 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2022-10-18 14:16:10 +0200 |
commit | 5f0277edf24612029c5ff513342adcb01db56e7a (patch) | |
tree | 398203af4e79730ced0fec4acd8f363353cc2ca8 /gdb/ada-exp.y | |
parent | 06a670e280f39b0dd7fe0b0e0e21efa488c2729f (diff) | |
download | gdb-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.y | 3 |
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); |