2004-03-21 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 21 Mar 2004 22:28:52 +0000 (22:28 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 21 Mar 2004 22:28:52 +0000 (22:28 +0000)
commit82417da5f06061d684c325816bdb1b1f0075fbc4
tree959630fbbe0e4a12aef2fc4165cb44f9e862af71
parente5fbc737f638ac7154ce0ad79e165af82ca03f9e
2004-03-21  Andrew Cagney  <cagney@redhat.com>

* frame-unwind.h: Update copyright.
(struct frame_data): Add opaque declaration.
(frame_sniffer_ftype): Declare.
(struct frame_unwind): Add "unwind_data" and "sniffer".
(frame_unwind_register_unwinder): Declare.
(frame_unwind_find_by_frame): Add parameter "this_cache".
* frame.c (get_frame_id, create_new_frame, legacy_get_prev_frame)
(legacy_get_prev_frame, legacy_get_prev_frame)
(get_frame_type): Pass the prologue_cache to
frame_unwind_find_by_frame.
* frame-unwind.c (struct frame_unwind_table_entry): Add field
"unwinder".
(frame_unwind_register_unwinder): New function.
(frame_unwind_find_by_frame): Handle an unwind sniffer.
gdb/ChangeLog
gdb/frame-unwind.c
gdb/frame-unwind.h
gdb/frame.c