summaryrefslogtreecommitdiff
path: root/gdb/doc/gdb.texinfo
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2005-06-19 03:16:32 +0000
committerNick Roberts <nickrob@snap.net.nz>2005-06-19 03:16:32 +0000
commita1220c73d4a671275b455e7397503fb9e79abbc9 (patch)
tree9522bb3186e392021e260d12bf46dba001d1f6ed /gdb/doc/gdb.texinfo
parent827f71444ef4a2ea9e42fcc6a3caa8430706ebe2 (diff)
downloadgdb-a1220c73d4a671275b455e7397503fb9e79abbc9.tar.gz
(GDB/MI Stack Manipulation):
Re-instate -stack-info-frame with example. Say that it gets info on selected frame, not current frame.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r--gdb/doc/gdb.texinfo28
1 files changed, 28 insertions, 0 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 0dd2f55e7d2..4a8ada9b5a3 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -19223,6 +19223,34 @@ Signal handling commands are not implemented.
@node GDB/MI Stack Manipulation
@section @sc{gdb/mi} Stack Manipulation Commands
+
+@subheading The @code{-stack-info-frame} Command
+@findex -stack-info-frame
+
+@subsubheading Synopsis
+
+@smallexample
+ -stack-info-frame
+@end smallexample
+
+Get info on the selected frame.
+
+@subsubheading @value{GDBN} Command
+
+The corresponding @value{GDBN} command is @samp{info frame} or @samp{frame}
+(without arguments).
+
+@subsubheading Example
+
+@smallexample
+(@value{GDBP})
+-stack-info-frame
+^done,frame=@{level="1",addr="0x0001076c",func="callee3",
+file="../../../devo/gdb/testsuite/gdb.mi/basics.c",
+fullname="/home/foo/bar/devo/gdb/testsuite/gdb.mi/basics.c",line="17"@}
+(@value{GDBP})
+@end smallexample
+
@subheading The @code{-stack-info-depth} Command
@findex -stack-info-depth