diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-07 22:53:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-07 22:53:09 +0000 |
commit | 2d75187b9e6fa5ec17ed9cf92367b2d9840518fd (patch) | |
tree | ec9f1070071efeacdf7fe103e037d00d2dc8ecb4 /gdb/frame.c | |
parent | 75778ec42f949f47868a62ff0ca84204978a8b54 (diff) | |
download | gdb-2d75187b9e6fa5ec17ed9cf92367b2d9840518fd.zip gdb-2d75187b9e6fa5ec17ed9cf92367b2d9840518fd.tar.gz gdb-2d75187b9e6fa5ec17ed9cf92367b2d9840518fd.tar.bz2 |
2003-01-07 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_get_frame_context): New function.
(deprecated_set_frame_context): New function.
* frame.h (deprecated_get_frame_context): Declare.
(deprecated_set_frame_context): Declare.
* dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
(cfi_init_extra_frame_info): Use deprecated_set_frame_context.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index f09a47b..ec2aab1 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -1322,6 +1322,19 @@ deprecated_set_frame_prev_hack (struct frame_info *fi, fi->prev = prev; } +struct context * +deprecated_get_frame_context (struct frame_info *fi) +{ + return fi->context; +} + +void +deprecated_set_frame_context (struct frame_info *fi, + struct context *context) +{ + fi->context = context; +} + struct frame_info * deprecated_frame_xmalloc (void) { |