aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-typeprint.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2001-12-12 02:11:52 +0000
committerFred Fish <fnf@specifix.com>2001-12-12 02:11:52 +0000
commit74a9bb82c55f8d399894d5b3525572c17c3a0312 (patch)
tree21cf7847428158465650b87b4a98c4510ef0513d /gdb/ch-typeprint.c
parente9e79dd9fc61097942b74f385503cda31ca39127 (diff)
downloadfsf-binutils-gdb-74a9bb82c55f8d399894d5b3525572c17c3a0312.zip
fsf-binutils-gdb-74a9bb82c55f8d399894d5b3525572c17c3a0312.tar.gz
fsf-binutils-gdb-74a9bb82c55f8d399894d5b3525572c17c3a0312.tar.bz2
Approved by Jim Blandy:
2001-12-11 Fred Fish <fnf@redhat.com> * c-typeprint.c (c_type_print_base): Use type flags access macros to test bits. * ch-typeprint.c (chill_type_print_base): Ditto. * ch-valprint.c (chill_val_print): Ditto. * d10v-tdep.c (d10v_pointer_to_address): Ditto. * dwarf2read.c (dwarf2_add_member_fn): Ditto. * dwarfread.c (read_structure_scope): Ditto. * gdbtypes.c (create_range_type): Dittol (create_set_type): Ditto. (check_typedef): Ditto. * jv-typeprint.c (java_type_print_base): Ditto. * p-typeprint.c (pascal_type_print_base): Ditto * p-valprint.c (pascal_val_print): Ditto. * stabsread.c (read_cfront_member_functions): Ditto. (read_member_functions): Ditto. (cleanup_undefined_types): Ditto. * valprint.c (val_print): Ditto. * valops.c (hand_function_call): Remove is_prototyped variable and just use type flag test macro directly.
Diffstat (limited to 'gdb/ch-typeprint.c')
-rw-r--r--gdb/ch-typeprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ch-typeprint.c b/gdb/ch-typeprint.c
index 339dd0b..011bd12 100644
--- a/gdb/ch-typeprint.c
+++ b/gdb/ch-typeprint.c
@@ -207,7 +207,7 @@ chill_type_print_base (struct type *type, struct ui_file *stream, int show,
fprintf_filtered (stream, "(\n");
if ((TYPE_NFIELDS (type) == 0) && (TYPE_NFN_FIELDS (type) == 0))
{
- if (TYPE_FLAGS (type) & TYPE_FLAG_STUB)
+ if (TYPE_STUB (type))
{
fprintfi_filtered (level + 4, stream, "<incomplete type>\n");
}