summaryrefslogtreecommitdiff
path: root/gdb/frame.h
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
commit63a46f2b27bae898892f026ac6797aa83a0f0da0 (patch)
treef8f26a9e886fe5db7549e67a44698bf59b8a4469 /gdb/frame.h
parent155cbbc210c9d9815bc15bc8d634674c2fe1cba1 (diff)
downloadgdb-63a46f2b27bae898892f026ac6797aa83a0f0da0.tar.gz
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/frame.h')
-rw-r--r--gdb/frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index cb629d995c0..a8f05f35f8b 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -95,6 +95,10 @@ extern int frame_id_eq (struct frame_id l, struct frame_id r);
above about frameless functions. */
extern int frame_id_inner (struct frame_id l, struct frame_id r);
+/* Write the internal representation of a frame ID on the specified
+ stream. */
+extern void fprint_frame_id (struct ui_file *file, struct frame_id id);
+
/* For every stopped thread, GDB tracks two frames: current and
selected. Current frame is the inner most frame of the selected