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.
This commit is contained in:
parent
761784f055
commit
dd60073596
5 changed files with 17 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue