From: Andrew Cagney Date: Sat, 22 Nov 2003 23:00:37 +0000 (+0000) Subject: 2003-11-22 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a9264f1262bd62bf892419a197deb2ee65a421a;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 99176eee3ad..12bd3cb07f0 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 bedbae45003..330666024db 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 30d69697a1a..00975f34fb6 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);