aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1998-02-17 22:42:02 +0000
committerJason Molenda <jmolenda@apple.com>1998-02-17 22:42:02 +0000
commitdd6007359647d3873d1cb777660b7e0ef0b9352f (patch)
tree8e2f01fa8352e874506d18dce0e866afb182f1bc /gdb/gdbtypes.c
parent761784f055514462b8f61fd53a2d434388bb6783 (diff)
downloadgdb-dd6007359647d3873d1cb777660b7e0ef0b9352f.zip
gdb-dd6007359647d3873d1cb777660b7e0ef0b9352f.tar.gz
gdb-dd6007359647d3873d1cb777660b7e0ef0b9352f.tar.bz2
Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE. * configure.in: Ditto. * configure: Regenerated. Tue Feb 17 14:07:34 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> * gdbtypes.c (check_typedef): Do not try to resolve the length of a type which has TYPE_FLAG_TARGET_STUB set, if the target type has set TYPE_FLAG_TARGET_STUB as well. Patches from Peter.
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r--gdb/gdbtypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 2f4e411..d1bfa98 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -989,7 +989,7 @@ check_typedef (type)
struct type *range_type;
struct type *target_type = check_typedef (TYPE_TARGET_TYPE (type));
- if (TYPE_FLAGS (target_type) & TYPE_FLAG_STUB)
+ if (TYPE_FLAGS (target_type) & (TYPE_FLAG_STUB | TYPE_FLAG_TARGET_STUB))
{ }
else if (TYPE_CODE (type) == TYPE_CODE_ARRAY
&& TYPE_NFIELDS (type) == 1