diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2006-09-17 15:45:50 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2006-09-17 15:45:50 +0000 |
commit | 6e90a7df8410beee5c14e5e0d79f6f66b73d9e5b (patch) | |
tree | b54b505b14fa5d37eda86cf3e70f98154868c536 /gdb | |
parent | faa4097754e5c234eba1c3577544769243fcab80 (diff) | |
download | gdb-6e90a7df8410beee5c14e5e0d79f6f66b73d9e5b.zip gdb-6e90a7df8410beee5c14e5e0d79f6f66b73d9e5b.tar.gz gdb-6e90a7df8410beee5c14e5e0d79f6f66b73d9e5b.tar.bz2 |
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 8 | ||||
-rw-r--r-- | 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 <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. 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; } |