From 2a9264f1262bd62bf892419a197deb2ee65a421a Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 22 Nov 2003 23:00:37 +0000 Subject: 2003-11-22 Andrew Cagney * frame.c (deprecated_get_frame_context): Delete function. (deprecated_set_frame_prev_hack): Delete function. (struct frame_info): Delete member "context". * frame.h (deprecated_get_frame_context): Delete declaration. (deprecated_set_frame_context): Delete declaration. --- gdb/ChangeLog | 6 ++++++ gdb/frame.c | 24 ------------------------ gdb/frame.h | 12 ------------ 3 files changed, 6 insertions(+), 36 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 99176ee..12bd3cb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2003-11-22 Andrew Cagney + * frame.c (deprecated_get_frame_context): Delete function. + (deprecated_set_frame_prev_hack): Delete function. + (struct frame_info): Delete member "context". + * frame.h (deprecated_get_frame_context): Delete declaration. + (deprecated_set_frame_context): Delete declaration. + * procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment. * config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro. * config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro. diff --git a/gdb/frame.c b/gdb/frame.c index bedbae4..33066602 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -86,10 +86,6 @@ struct frame_info initialized by DEPRECATED_INIT_EXTRA_FRAME_INFO */ struct frame_extra_info *extra_info; - /* If dwarf2 unwind frame informations is used, this structure holds - all related unwind data. */ - struct context *context; - /* The frame's low-level unwinder and corresponding cache. The low-level unwinder is responsible for unwinding register values for the previous frame. The low-level unwind methods are @@ -2248,26 +2244,6 @@ deprecated_set_frame_next_hack (struct frame_info *fi, fi->next = next; } -void -deprecated_set_frame_prev_hack (struct frame_info *fi, - struct frame_info *prev) -{ - 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) { diff --git a/gdb/frame.h b/gdb/frame.h index 30d6969..00975f3 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -738,18 +738,6 @@ 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); - /* Return non-zero if the architecture is relying on legacy frame code. */ extern int legacy_frame_p (struct gdbarch *gdbarch); -- cgit v1.1