diff options
Diffstat (limited to 'gdb/m2-valprint.c')
-rw-r--r-- | gdb/m2-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m2-valprint.c b/gdb/m2-valprint.c index b0a3ce3..9f5ce7e 100644 --- a/gdb/m2-valprint.c +++ b/gdb/m2-valprint.c @@ -383,7 +383,7 @@ m2_value_print_inner (struct value *val, struct ui_file *stream, int recurse, case TYPE_CODE_SET: elttype = type->index_type (); elttype = check_typedef (elttype); - if (TYPE_STUB (elttype)) + if (elttype->is_stub ()) { fprintf_styled (stream, metadata_style.style (), _("<incomplete type>")); |