aboutsummaryrefslogtreecommitdiff
path: root/gdb/dummy-frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-16 16:54:57 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-16 16:54:57 +0000
commitc170fb600a47a28398a8dff22587f59fa5d2d37a (patch)
tree8d6abb004e390495f9b6bb18eb5d5c3c641eea2b /gdb/dummy-frame.h
parente01f337c0041af1bb05dc5e222cb932b0cc2a619 (diff)
downloadgdb-c170fb600a47a28398a8dff22587f59fa5d2d37a.zip
gdb-c170fb600a47a28398a8dff22587f59fa5d2d37a.tar.gz
gdb-c170fb600a47a28398a8dff22587f59fa5d2d37a.tar.bz2
2003-01-16 Andrew Cagney <ac131313@redhat.com>
* frame.h (frame_id_unwind_ftype): Change type so that the frame's ID back using a parameter. * frame.c (frame_id_unwind): Update call. (frame_saved_regs_id_unwind): Update. * dummy-frame.c (dummy_frame_id_unwind): Update function. * dummy-frame.h (struct frame_id): Add opaque declaration. (dummy_frame_id_unwind): Update declaration.
Diffstat (limited to 'gdb/dummy-frame.h')
-rw-r--r--gdb/dummy-frame.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/dummy-frame.h b/gdb/dummy-frame.h
index cfa2709..746e663 100644
--- a/gdb/dummy-frame.h
+++ b/gdb/dummy-frame.h
@@ -24,6 +24,7 @@
struct frame_info;
struct regcache;
+struct frame_id;
/* GENERIC DUMMY FRAMES
@@ -63,8 +64,9 @@ extern CORE_ADDR dummy_frame_pc_unwind (struct frame_info *frame,
/* Assuming that FRAME is a dummy, return the ID of the calling frame
(the frame that the dummy has the saved state of). */
-extern struct frame_id dummy_frame_id_unwind (struct frame_info *frame,
- void **unwind_cache);
+extern void dummy_frame_id_unwind (struct frame_info *frame,
+ void **unwind_cache,
+ struct frame_id *id);
/* Does the PC fall in a dummy frame?