projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06a670e
)
fixup! gdb, ada: update ada_lookup_simple_minsym
author
Markus Metzger
<markus.t.metzger@intel.com>
Tue, 19 Jul 2022 06:05:25 +0000
(08:05 +0200)
committer
Markus Metzger
<markus.t.metzger@intel.com>
Tue, 18 Oct 2022 12:16:10 +0000
(14:16 +0200)
remove get_selected_block()
gdb/ada-exp.y
patch
|
blob
|
history
diff --git
a/gdb/ada-exp.y
b/gdb/ada-exp.y
index 3ec9e4d610c20a5ef791008bc3bf6606271e22b4..7b4d6cc64848375fdfeeb2d38deae0c1f4a2d7d7 100644
(file)
--- 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);