Fixes PR tdep/1623 and PR tdep/1624.
+2004-04-25 Mark Kettenis <kettenis@gnu.org>
+
+ * stack.c (return_command): Use CHECK_TYPEDEF on the return type.
+ Fixes PR tdep/1623 and PR tdep/1624.
+
2004-04-24 Michael Chastain <mec.gnu@mindspring.com>
* xmodem.h, xmodem.c: Remove files.
return_type = TYPE_TARGET_TYPE (SYMBOL_TYPE (thisfun));
if (return_type == NULL)
return_type = builtin_type_int;
+ CHECK_TYPEDEF (return_type);
return_value = value_cast (return_type, return_value);
/* Make sure the value is fully evaluated. It may live in the