diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aae5799bee..9029da9f9a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,8 +1,15 @@ +Fri Jul 25 16:48:18 1997 Jeffrey A Law (law@cygnus.com) + + * top.c (execute_command): Force cleanup of alloca areas. + * findvar.c (registers_changed): Likewise. + +start-sanitize-v850 Fri Jul 25 15:37:15 1997 Stu Grossman * v850ice.c: Include . Support new v850 DLL interface. * Add defs for target status. - + +end-sanitize-v850 start-sanitize-gdbtk Tue Jul 22 19:45:37 1997 Martin M. Hunt diff --git a/gdb/top.c b/gdb/top.c index 92e9e99233..dfa8f3d2c4 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1209,6 +1209,10 @@ execute_command (p, from_tty) free_all_values (); + /* Force cleanup of any alloca areas if using C alloca instead of + a builtin alloca. */ + alloca (0); + /* This can happen when command_line_input hits end of file. */ if (p == NULL) return;