aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-valprint.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:07:59 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:07:59 -0400
commite46d3488de137cd5a01377513ff49e32595456af (patch)
tree9800a3cc751efc32a82627170fc2864d7f1ce355 /gdb/m2-valprint.c
parentb4b73759537ae830d8b48834b419b095561d4d4a (diff)
downloadfsf-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/m2-valprint.c')
-rw-r--r--gdb/m2-valprint.c2
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>"));