aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-exp.y
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2024-07-16 23:52:01 -0400
committerSimon Marchi <simon.marchi@efficios.com>2024-08-12 10:31:09 -0400
commit8d2f4b7c3168f79fdef3e50163c91cca43da1381 (patch)
tree0a87cada0ceab50dc2fd4025f6a1e607d31f51ea /gdb/d-exp.y
parentc8979ae4fbcc2b84b4192d0596597c3352fa430b (diff)
downloadbinutils-8d2f4b7c3168f79fdef3e50163c91cca43da1381.zip
binutils-8d2f4b7c3168f79fdef3e50163c91cca43da1381.tar.gz
binutils-8d2f4b7c3168f79fdef3e50163c91cca43da1381.tar.bz2
gdb: remove lookup_bound_minimal_symbol
Now that lookup_minimal_symbol has default values for sfile and objf, calling lookup_bound_minimal_symbol is identical to calling lookup_minimal_symbol without sfile and objf. Remove lookup_bound_minimal_symbol, replace call sites with lookup_minimal_symbol. Change-Id: I0a420fb56de1de8bee8a7303228c9e4546e3577b Reviewed-by: Keith Seitz <keiths@redhat.com> Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/d-exp.y')
-rw-r--r--gdb/d-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/d-exp.y b/gdb/d-exp.y
index f4de994..9fc63af 100644
--- a/gdb/d-exp.y
+++ b/gdb/d-exp.y
@@ -464,7 +464,7 @@ PrimaryExpression:
{
/* Lookup foreign name in global static symbols. */
bound_minimal_symbol msymbol
- = lookup_bound_minimal_symbol (copy.c_str ());
+ = lookup_minimal_symbol (copy.c_str ());
if (msymbol.minsym != NULL)
pstate->push_new<var_msym_value_operation> (msymbol);
else if (!have_full_symbols (current_program_space)