aboutsummaryrefslogtreecommitdiff
path: root/gdb/completer.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/completer.c')
-rw-r--r--gdb/completer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/completer.c b/gdb/completer.c
index 4d6b0d1..7954c2c 100644
--- a/gdb/completer.c
+++ b/gdb/completer.c
@@ -396,7 +396,7 @@ expression_completer (struct cmd_list_element *ignore,
fieldname = NULL;
TRY_CATCH (except, RETURN_MASK_ERROR)
{
- type = parse_field_expression (text, &fieldname);
+ type = parse_expression_for_completion (text, &fieldname);
}
if (except.reason < 0)
return NULL;