diff options
Diffstat (limited to 'gdb/frame.h')
-rw-r--r-- | gdb/frame.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index 2f50eeb..f32021c 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -701,4 +701,16 @@ extern void deprecated_set_frame_next_hack (struct frame_info *fi, extern void deprecated_set_frame_prev_hack (struct frame_info *fi, struct frame_info *prev); +/* FIXME: cagney/2003-01-07: Instead of the dwarf2cfi having its own + dedicated `struct frame_info . context' field, the code should use + the per frame `unwind_cache' that is passed to the + frame_pc_unwind(), frame_register_unwind() and frame_id_unwind() + methods. + + See "dummy-frame.c" for an example of how a cfi-frame object can be + implemented using this. */ +extern struct context *deprecated_get_frame_context (struct frame_info *fi); +extern void deprecated_set_frame_context (struct frame_info *fi, + struct context *context); + #endif /* !defined (FRAME_H) */ |