2002-12-13 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 13 Dec 2002 16:40:25 +0000 (16:40 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 13 Dec 2002 16:40:25 +0000 (16:40 +0000)
commitc689142becccac9fa3b1f9833243048a50396ffe
treededb68db325ddaa0f88cde3003ff3a6413962c22
parent18ea5ba4f05d572ec1513a37c22544c6037b21fa
2002-12-13  Andrew Cagney  <ac131313@redhat.com>

* frame.h (frame_id_unwind): Declare.
(struct frame_info): Add fields id_unwind, id_unwind_cache_p and
id_unwind_cache.
(frame_id_unwind_ftype): Declare.
* frame.c (frame_id_unwind): New function.
(set_unwind_by_pc): Add unwind_id parameter.  Initialized.
(create_new_frame, get_prev_frame): Pass id_unwind to
set_unwind_by_pc.
(frame_saved_regs_id_unwind): New function.
(frame_saved_regs_id_unwind): New function.
* dummy-frame.c (dummy_frame_id_unwind): New function.
(struct dummy_frame): Add field id.
(generic_push_dummy_frame): Initialize `id'.
* dummy-frame.h (dummy_frame_id_unwind): Declare.
gdb/ChangeLog
gdb/dummy-frame.c
gdb/dummy-frame.h
gdb/frame.c
gdb/frame.h