summaryrefslogtreecommitdiff
path: root/gdb/f-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/f-exp.y')
-rw-r--r--gdb/f-exp.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/f-exp.y b/gdb/f-exp.y
index ad312246805..741d76c227d 100644
--- a/gdb/f-exp.y
+++ b/gdb/f-exp.y
@@ -469,7 +469,8 @@ variable: name_not_typename
struct minimal_symbol *msymbol;
register char *arg = copy_name ($1.stoken);
- msymbol = lookup_minimal_symbol (arg, NULL);
+ msymbol =
+ lookup_minimal_symbol (arg, NULL, NULL);
if (msymbol != NULL)
{
write_exp_msymbol (msymbol,