diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-04-08 20:03:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-04-08 20:03:52 +0000 |
commit | fb2be677dcb440b001df7739bda229295910a7c8 (patch) | |
tree | 343dee28c6245e56eabcebd5fb77ac965c7ab071 /gdb/tramp-frame.c | |
parent | 67faf007637dbb56ab9efb68af7a800a29bf3141 (diff) | |
download | gdb-fb2be677dcb440b001df7739bda229295910a7c8.zip gdb-fb2be677dcb440b001df7739bda229295910a7c8.tar.gz gdb-fb2be677dcb440b001df7739bda229295910a7c8.tar.bz2 |
2004-04-08 Andrew Cagney <cagney@redhat.com>
* frame-unwind.c (struct frame_unwind_table, frame_unwind_init)
(frame_unwind_prepend_unwinder, frame_unwind_append_sniffer)
(frame_unwind_find_by_frame): Re-implement the unwind code so
that it can both prepend and append sniffers. Replace
frame_unwind_register_unwinder with frame_unwind_prepend_unwinder.
* tramp-frame.c (tramp_frame_append): Use
frame_unwind_prepend_unwinder.
* frame-unwind.h (frame_unwind_prepend_unwinder): Replace
frame_unwind_register_unwinder.
* tramp-frame.h (tramp_frame_prepend_unwinder): Rename
tramp_frame_append.
* tramp-frame.c (tramp_frame_prepend_unwinder): Update.
* mips-linux-tdep.c (mips_linux_init_abi, mips_linux_init_abi)
(mips_linux_init_abi): Update.
Diffstat (limited to 'gdb/tramp-frame.c')
-rw-r--r-- | gdb/tramp-frame.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tramp-frame.c b/gdb/tramp-frame.c index 528603c..6ea2e3f 100644 --- a/gdb/tramp-frame.c +++ b/gdb/tramp-frame.c @@ -146,8 +146,8 @@ tramp_frame_sniffer (const struct frame_unwind *self, } void -tramp_frame_append (struct gdbarch *gdbarch, - const struct tramp_frame *tramp_frame) +tramp_frame_prepend_unwinder (struct gdbarch *gdbarch, + const struct tramp_frame *tramp_frame) { struct frame_data *data; struct frame_unwind *unwinder; @@ -171,5 +171,5 @@ tramp_frame_append (struct gdbarch *gdbarch, unwinder->sniffer = tramp_frame_sniffer; unwinder->this_id = tramp_frame_this_id; unwinder->prev_register = tramp_frame_prev_register; - frame_unwind_register_unwinder (gdbarch, unwinder); + frame_unwind_prepend_unwinder (gdbarch, unwinder); } |