diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-04-01 21:10:09 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-04-01 21:10:09 -0400 |
commit | 0672875f3c7c03580ed88dfa48c2e3a3b16d0697 (patch) | |
tree | 7339ddf8868b8d0a0b9a0f7b795c4e1e984f5722 /gdb/valprint.c | |
parent | 9902b327931538037f59f9acbb80fd6097f2777a (diff) | |
download | gdb-0672875f3c7c03580ed88dfa48c2e3a3b16d0697.zip gdb-0672875f3c7c03580ed88dfa48c2e3a3b16d0697.tar.gz gdb-0672875f3c7c03580ed88dfa48c2e3a3b16d0697.tar.bz2 |
gdb: remove TYPE_FLAG_ENUM
gdb/ChangeLog:
* gdbtypes.h (TYPE_FLAG_ENUM): Remove, replace all uses
with type::is_flag_enum.
Change-Id: I74e23893066eecd6df641045b859a6d6ebb13dd0
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r-- | gdb/valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c index baf50f7..654552a 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -616,7 +616,7 @@ generic_val_print_enum_1 (struct type *type, LONGEST val, fputs_styled (TYPE_FIELD_NAME (type, i), variable_name_style.style (), stream); } - else if (TYPE_FLAG_ENUM (type)) + else if (type->is_flag_enum ()) { int first = 1; |