2004-04-08 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Thu, 8 Apr 2004 20:03:52 +0000 (20:03 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 8 Apr 2004 20:03:52 +0000 (20:03 +0000)
commitfb2be677dcb440b001df7739bda229295910a7c8
tree343dee28c6245e56eabcebd5fb77ac965c7ab071
parent67faf007637dbb56ab9efb68af7a800a29bf3141
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.
gdb/ChangeLog
gdb/frame-unwind.c
gdb/frame-unwind.h
gdb/mips-linux-tdep.c
gdb/tramp-frame.c
gdb/tramp-frame.h