diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-16 16:54:57 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-16 16:54:57 +0000 |
commit | c170fb600a47a28398a8dff22587f59fa5d2d37a (patch) | |
tree | 8d6abb004e390495f9b6bb18eb5d5c3c641eea2b /gdb/frame.h | |
parent | e01f337c0041af1bb05dc5e222cb932b0cc2a619 (diff) | |
download | gdb-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/frame.h')
-rw-r--r-- | gdb/frame.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index 04dee94..09df2b8 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -335,8 +335,9 @@ typedef CORE_ADDR (frame_pc_unwind_ftype) (struct frame_info *frame, /* Same as for registers above, but return the ID of the frame that called this one. */ -typedef struct frame_id (frame_id_unwind_ftype) (struct frame_info *frame, - void **unwind_cache); +typedef void (frame_id_unwind_ftype) (struct frame_info *frame, + void **unwind_cache, + struct frame_id *id); /* Describe the saved registers of a frame. */ |