OSDN Git Service

2003-01-18 Andrew Cagney <ac131313@redhat.com>
authorcagney <cagney>
Sat, 18 Jan 2003 17:25:22 +0000 (17:25 +0000)
committercagney <cagney>
Sat, 18 Jan 2003 17:25:22 +0000 (17:25 +0000)
commit8f653f954ea61296d71fae8fb46059b5109a6db4
tree4c07ba6f5b31275e12a01bb345e5b9b4d7cec591
parent7498e1fbbc752ce3a025214bf184716b44f84780
2003-01-18  Andrew Cagney  <ac131313@redhat.com>

* dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
(struct frame_unwind): Declare opaque.
(dummy_frame_p): Declare function.
* dummy-frame.c (dummy_frame_id_unwind): Make static.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
* dummy-frame.c: Include "frame-unwind.h".
(dummy_frame_p): New function.
(dummy_frame_unwind): New variable.
* frame.c: Include "frame-unwind.h".
(frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
to use the new unwind field.
(set_unwind_by_pc): Delete function.
(create_new_frame, get_prev_frame): Set unwind field using
frame_unwind_find_by_pc.
(trad_frame_unwind, trad_frame_unwinder): New variables.
* frame.h (trad_frame_unwind): Declare variable.
(frame_id_unwind_ftype): Delete declaration.
(frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
(struct frame_unwind): Declare opaque.
(struct frame_info): Replace the fields id_unwind, pc_unwind and
register_unwind with a single unwind pointer.
* frame-unwind.h, frame-unwind.c: New files.
* Makefile.in (SFILES): Add frame-unwind.c.
(frame_unwind_h): Define.
(COMMON_OBS): Add frame-unwind.o.
(frame-unwind.o): Specify dependencies.
(frame.o, dummy-frame.o): Update dependencies.
gdb/ChangeLog
gdb/Makefile.in
gdb/dummy-frame.c
gdb/dummy-frame.h
gdb/frame-unwind.c [new file with mode: 0644]
gdb/frame-unwind.h [new file with mode: 0644]
gdb/frame.c
gdb/frame.h