Changing the "enclosing_type" of a value structure
Andrew Cagney
ac131313@cygnus.com
Fri Aug 11 20:09:00 GMT 2000
Jim Ingham wrote:
> /* If we have the full object, but for some reason the enclosing
> type is wrong, set it *//* pai: FIXME -- sounds iffy */
I like the comment...
> return (value_ptr) xrealloc (val, sizeof (struct type)
> + TYPE_LENGTH (new_type));
Should it simply refuse to expand a type? That extra data becomes
undefined in general?
Andrew
More information about the Gdb
mailing list