aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r--gdb/ax-gdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index ab5e800..899abb9 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -598,9 +598,8 @@ gen_var_ref (struct agent_expr *ax, struct axs_value *value, struct symbol *var)
case LOC_UNRESOLVED:
{
- struct bound_minimal_symbol msym
+ bound_minimal_symbol msym
= lookup_minimal_symbol (var->linkage_name (), NULL, NULL);
-
if (!msym.minsym)
error (_("Couldn't resolve symbol `%s'."), var->print_name ());