diff options
Diffstat (limited to 'gdb/completer.c')
-rw-r--r-- | gdb/completer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/completer.c b/gdb/completer.c index fd52a04..d1ebf67 100644 --- a/gdb/completer.c +++ b/gdb/completer.c @@ -344,7 +344,7 @@ add_struct_fields (struct type *type, VEC (char_ptr) **output, int computed_type_name = 0; const char *type_name = NULL; - CHECK_TYPEDEF (type); + type = check_typedef (type); for (i = 0; i < TYPE_NFIELDS (type); ++i) { if (i < TYPE_N_BASECLASSES (type)) @@ -415,7 +415,7 @@ expression_completer (struct cmd_list_element *ignore, { for (;;) { - CHECK_TYPEDEF (type); + type = check_typedef (type); if (TYPE_CODE (type) != TYPE_CODE_PTR && TYPE_CODE (type) != TYPE_CODE_REF) break; |