aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-05-05 18:33:11 +0000
committerAndrew Cagney <cagney@redhat.com>2003-05-05 18:33:11 +0000
commit00905d52fe94f8ad61bfb36a7a427ae6b9578aa7 (patch)
tree1c6ab224709140c14ff8770ee1693b2c74250c3d /gdb/doc
parentb1e29e332aca04fd8b4b795d1c2ee1eb8fa7ba42 (diff)
downloadgdb-00905d52fe94f8ad61bfb36a7a427ae6b9578aa7.zip
gdb-00905d52fe94f8ad61bfb36a7a427ae6b9578aa7.tar.gz
gdb-00905d52fe94f8ad61bfb36a7a427ae6b9578aa7.tar.bz2
Index: testsuite/ChangeLog
2003-05-05 Andrew Cagney <cagney@redhat.com> * gdb.base/maint.exp: Add tests for "maint print dummy-frames". Index: doc/ChangeLog 2003-05-05 Andrew Cagney <cagney@redhat.com> * gdb.texinfo (Maintenance Commands): Document "maint print dummy-frames". 2003-05-05 Andrew Cagney <cagney@redhat.com> * dummy-frame.c: Include "command.h" and "gdbcmd.h". (fprint_dummy_frames): New function. (maintenance_print_dummy_frames): New function. (_initialize_dummy_frame): Add command "maint print dummy-frames". * frame.c (fprint_frame_id): Make global. * frame.h (fprint_frame_id): Declare. * Makefile.in (dummy-frame.o): Update dependencies.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo22
2 files changed, 27 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 3a4789a..9ad87b5 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -7,6 +7,11 @@
2003-05-04 Andrew Cagney <cagney@redhat.com>
+ * gdb.texinfo (Maintenance Commands): Document "maint print
+ dummy-frames".
+
+2003-05-04 Andrew Cagney <cagney@redhat.com>
+
* gdb.texinfo (GDB/MI Symbol Query): Use @{ and @}.
2003-05-03 J. Brobecker <brobecker@gnat.com>
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 370ad3a..7bb99c6 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -19373,6 +19373,28 @@ Create a core file? (y or n) @kbd{n}
Takes an optional parameter that is used as the text of the error or
warning message.
+@kindex maint print dummy-frames
+@item maint print dummy-frames
+
+Prints the contents of @value{GDBN}'s internal dummy-frame stack.
+
+@smallexample
+(gdb) @kbd{b add}
+@dots{}
+(gdb) @kbd{print add(2,3)}
+Breakpoint 2, add (a=2, b=3) at @dots{}
+58 return (a + b);
+The program being debugged stopped while in a function called from GDB.
+@dots{}
+(gdb) @kbd{maint print dummy-frames}
+0x1a57c80: pc=0x01014068 fp=0x0200bddc sp=0x0200bdd6
+ top=0x0200bdd4 id=@{stack=0x200bddc,code=0x101405c@}
+ call_lo=0x01014000 call_hi=0x01014001
+(gdb)
+@end smallexample
+
+Takes an optional file parameter.
+
@kindex maint print registers
@kindex maint print raw-registers
@kindex maint print cooked-registers