This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RFA: update MI -stack-list-frames documentation
- From: Tom Tromey <tromey at redhat dot com>
- To: GDB Development <gdb at sourceware dot org>
- Date: Tue, 07 Sep 2010 11:53:26 -0600
- Subject: RFA: update MI -stack-list-frames documentation
Dodji noticed that -stack-list-frames doesn't document the "from" field.
While fixing this, I noticed that it also doesn't document the
"fullname" field.
This patch adds both.
Ok?
Tom
2010-09-07 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (GDB/MI Stack Manipulation) <-stack-list-frames>:
Document "fullname" and "from".
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.762
diff -u -r1.762 gdb.texinfo
--- gdb.texinfo 1 Sep 2010 19:03:51 -0000 1.762
+++ gdb.texinfo 7 Sep 2010 17:52:38 -0000
@@ -26041,8 +26041,13 @@
Function name.
@item @var{file}
File name of the source file where the function lives.
+@item @var{fullname}
+The full file name of the source file where the function lives.
@item @var{line}
Line number corresponding to the @code{$pc}.
+@item @var{from}
+The shared library where this function is defined. This is only given
+if the frame's function is not known.
@end table
If invoked without arguments, this command prints a backtrace for the