diff options
-rw-r--r-- | gdb/doc/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 078ced4..f2ee9d8 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2006-09-17 Vladimir Prus <vladimir@codesourcery.com> + + * gdb.texinfo (GDB/MI Stack Manipulation): Mention that + -stack-list-arguments HIGH_FRAME argument can be larger then the + actual number of frames. + 2006-09-07 Vladimir Prus <vladimir@codesourcery.com> * gdb.texinfo (GDB/MI Stack Manipulation): Mention that diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 718781a..d2758d0 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -19230,8 +19230,12 @@ For a stack with frame levels 0 through 11: Display a list of the arguments for the frames between @var{low-frame} and @var{high-frame} (inclusive). If @var{low-frame} and -@var{high-frame} are not provided, list the arguments for the whole call -stack. +@var{high-frame} are not provided, list the arguments for the whole +call stack. If the two arguments are equal, show the single frame +at the corresponding level. It is an error if @var{low-frame} is +larger than the actual number of frames. On the other hand, +@var{high-frame} may be larger than the actual number of frames, in +which case only existing frames will be returned. The @var{show-values} argument must have a value of 0 or 1. A value of 0 means that only the names of the arguments are listed, a value of 1 |