From 6e90a7df8410beee5c14e5e0d79f6f66b73d9e5b Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sun, 17 Sep 2006 15:45:50 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 8 +++++++- gdb/mi/mi-cmd-stack.c | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dea2137..c60d30d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2006-09-17 Vladimir Prus + + * 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 * linux-nat.c (linux_test_for_tracefork): Don't leave zombie @@ -25,7 +31,7 @@ 2006-09-07 Vladimir Prus - * 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. diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 00dcba4..ddb38c3 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -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; } -- 2.7.4