diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:07:59 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:07:59 -0400 |
commit | e46d3488de137cd5a01377513ff49e32595456af (patch) | |
tree | 9800a3cc751efc32a82627170fc2864d7f1ce355 /gdb/p-typeprint.c | |
parent | b4b73759537ae830d8b48834b419b095561d4d4a (diff) | |
download | fsf-binutils-gdb-e46d3488de137cd5a01377513ff49e32595456af.zip fsf-binutils-gdb-e46d3488de137cd5a01377513ff49e32595456af.tar.gz fsf-binutils-gdb-e46d3488de137cd5a01377513ff49e32595456af.tar.bz2 |
gdb: remove TYPE_STUB
gdb/ChangeLog:
* gdbtypes.h (TYPE_STUB): Remove, replace all
uses with type::is_stub.
Change-Id: Iec25b50449a0d10a38f815209e478c343e98632c
Diffstat (limited to 'gdb/p-typeprint.c')
-rw-r--r-- | gdb/p-typeprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c index 7842b63..6a6f3dd 100644 --- a/gdb/p-typeprint.c +++ b/gdb/p-typeprint.c @@ -561,7 +561,7 @@ pascal_type_print_base (struct type *type, struct ui_file *stream, int show, fprintf_filtered (stream, "\n"); if ((type->num_fields () == 0) && (TYPE_NFN_FIELDS (type) == 0)) { - if (TYPE_STUB (type)) + if (type->is_stub ()) fprintfi_filtered (level + 4, stream, "<incomplete type>\n"); else fprintfi_filtered (level + 4, stream, "<no data fields>\n"); |