aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2006-09-07 16:40:19 +0000
committerVladimir Prus <vladimir@codesourcery.com>2006-09-07 16:40:19 +0000
commit2ab1eb7abcf19861c0d778227bd44d5085d1e176 (patch)
tree245560e05fc437b51017571f5717ebc7fd590fb9 /gdb/doc
parent7a0b019608c711103302293b080ceee97f67af6c (diff)
downloadgdb-2ab1eb7abcf19861c0d778227bd44d5085d1e176.zip
gdb-2ab1eb7abcf19861c0d778227bd44d5085d1e176.tar.gz
gdb-2ab1eb7abcf19861c0d778227bd44d5085d1e176.tar.bz2
Allow the HIGH-FRAME parameter for -stack-list-frames to be larger
than the number of available frames.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo5
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index c7a5621..078ced4 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-07 Vladimir Prus <vladimir@codesourcery.com>
+
+ * gdb.texinfo (GDB/MI Stack Manipulation): Mention that
+ -stack-list-locals HIGH_FRAME argument can be larger then the
+ actual number of frames.
+
2006-09-02 Bob Wilson <bob.wilson@acm.org>
* gdb.texinfo (Packets, Stop Reply Packets, General Query Packets,
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index fd8d3c0..718781a 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -19331,7 +19331,10 @@ Line number corresponding to the @code{$pc}.
If invoked without arguments, this command prints a backtrace for the
whole stack. If given two integer arguments, it shows the frames whose
levels are between the two arguments (inclusive). If the two arguments
-are equal, it shows the single frame at the corresponding level.
+are equal, it shows 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 then the
+actual number of frames, in which case only existing frames will be returned.
@subsubheading @value{GDBN} Command