* mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Don't emit error

if high requested frame number is larger then number of available
	frames.
This commit is contained in:
Vladimir Prus 2006-09-17 15:45:50 +00:00
parent faa4097754
commit 6e90a7df84
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
* mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Don't emit error
if high requested frame number is larger then number of available
frames.
2006-09-16 Nick Roberts <nickrob@snap.net.nz>
* linux-nat.c (linux_test_for_tracefork): Don't leave zombie
@ -25,7 +31,7 @@
2006-09-07 Vladimir Prus <vladimir@codesourcery.com>
* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Don't emit
* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Don't emit
error if high requested frame number is larger then number
of available frames.

View File

@ -205,8 +205,6 @@ mi_cmd_stack_list_args (char *command, char **argv, int argc)
}
do_cleanups (cleanup_stack_args);
if (i < frame_high)
error (_("mi_cmd_stack_list_args: Not enough frames in stack."));
return MI_CMD_DONE;
}