diff options
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 752612f..2f9458c 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -958,7 +958,7 @@ define_symbol (CORE_ADDR valu, const char *string, int desc, int type, than the "declared-as" type for unprototyped functions, so we treat all functions as if they were prototyped. This is used primarily for promotion when calling the function from GDB. */ - TYPE_PROTOTYPED (SYMBOL_TYPE (sym)) = 1; + SYMBOL_TYPE (sym)->set_is_prototyped (true); /* fall into process_prototype_types. */ @@ -1005,7 +1005,7 @@ define_symbol (CORE_ADDR valu, const char *string, int desc, int type, TYPE_FIELD_ARTIFICIAL (ftype, nparams++) = 0; } ftype->set_num_fields (nparams); - TYPE_PROTOTYPED (ftype) = 1; + ftype->set_is_prototyped (true); } break; @@ -1813,7 +1813,7 @@ again: func_type->field (i).set_type (t->type); } func_type->set_num_fields (num_args); - TYPE_PROTOTYPED (func_type) = 1; + func_type->set_is_prototyped (true); type = func_type; break; |