aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/p-exp.y')
-rw-r--r--gdb/p-exp.y5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y
index 0a0fa95..77f853b 100644
--- a/gdb/p-exp.y
+++ b/gdb/p-exp.y
@@ -717,11 +717,10 @@ variable: name_not_typename
}
else
{
- struct bound_minimal_symbol msymbol;
std::string arg = copy_name ($1.stoken);
- msymbol =
- lookup_bound_minimal_symbol (arg.c_str ());
+ bound_minimal_symbol msymbol
+ = lookup_bound_minimal_symbol (arg.c_str ());
if (msymbol.minsym != NULL)
pstate->push_new<var_msym_value_operation>
(msymbol);