2003-11-22 Andrew Cagney <cagney@redhat.com>
* 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.
This commit is contained in:
parent
f15b280f12
commit
2a9264f126
3 changed files with 6 additions and 36 deletions
|
@ -1,5 +1,11 @@
|
|||
2003-11-22 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
|
24
gdb/frame.c
24
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)
|
||||
{
|
||||
|
|
12
gdb/frame.h
12
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);
|
||||
|
|
Loading…
Reference in a new issue