From 2f1acb09b62408bd9a6ee373b66c394df980f609 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sun, 17 Sep 2006 17:03:51 +0000 Subject: [PATCH] * gdb.texinfo (GDB/MI Stack Manipulation): Mention that -stack-list-arguments HIGH_FRAME argument can be larger then the actual number of frames. --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/gdb.texinfo | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 078ced4e903..f2ee9d88524 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2006-09-17 Vladimir Prus + + * 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 * gdb.texinfo (GDB/MI Stack Manipulation): Mention that diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 718781a6242..d2758d03295 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 -- 2.30.2