This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog Makefile.in dummy-frame.c du ...
- From: cagney at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 10 Jan 2003 15:22:40 -0000
- Subject: src/gdb ChangeLog Makefile.in dummy-frame.c du ...
CVSROOT: /cvs/src
Module name: src
Branch: cagney-unwind-20030108-branch
Changes by: cagney@sourceware.org 2003-01-10 07:22:40
Modified files:
gdb : ChangeLog Makefile.in dummy-frame.c
dummy-frame.h frame.c frame.h
Log message:
2003-01-10 Andrew Cagney <ac131313@redhat.com>
* sentinel-frame.c (sentinel_frame_register_unwind): Correctly set
LVALP and ADDRP.
* frame.c: Include "ui-out.h".
* frame.c (frame_type_from_pc): New function.
(create_new_frame): Use.
(set_unwind_by_pc): Drop unused frame parameter.
(deprecated_get_prev_frame): Rename old get_prev_frame.
(get_prev_frame): Rewrite. Unwind the PC first. Use
frame_id_unwind.
* dummy-frame.h (dummy_frame_id_unwind): Update.
(dummy_frame_pc_unwind): Update.
(dummy_frame_register_unwind): Update.
* dummy-frame.c: Update.
* frame.c (create_new_frame): Set next to a sentinal frame.
(create_sentinel_frame): New function.
(frame_id_unwind): Update id_unwind call.
(frame_saved_regs_register_unwind): Update cache parameter.
(frame_saved_regs_pc_unwind): Update cache parameter.
(frame_saved_regs_id_unwind): Update cache and id parameters.
* frame.h (frame_id_unwind_ftype): Return the frame ID using a
reference parameter.
(struct frame_unwind_cache): Declare.
(frame_id_unwind_ftype, frame_pc_unwind_ftype,
frame_register_unwind_ftype): Change the unwind cache_type to
`struct frame_unwind_cache'.
(struct frame_info): Change type of unwind_cache to `struct
frame_unwind_cache'.
* frame.c (get_next_frame): Don't go beyond the inner-most frame.
(frame_register_unwind): Assume that there is always a next frame.
(frame_register): Ditto.
(generic_unwind_get_saved_register): Ditto.
* frame.h (frame_type): Add SENTINEL_FRAME.
* Makefile.in (frame.o): Update dependencies.
* frame.h (FRAME_OBSTACK_ZALLOC): Define.
* Makefile.in (sentinel-frame.o): Specify dependencies.
(sentinel_frame_h): Define.
(SFILES): Add sentinel-frame.c.
(COMMON_OBS): Add sentinel-frame.o.
* sentinel-frame.c: New file.
* sentinel-frame.h: New file.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=cagney-unwind-20030108-branch&r1=1.3697&r2=1.3697.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&only_with_tag=cagney-unwind-20030108-branch&r1=1.311&r2=1.311.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dummy-frame.c.diff?cvsroot=src&only_with_tag=cagney-unwind-20030108-branch&r1=1.7&r2=1.7.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dummy-frame.h.diff?cvsroot=src&only_with_tag=cagney-unwind-20030108-branch&r1=1.5&r2=1.5.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/frame.c.diff?cvsroot=src&only_with_tag=cagney-unwind-20030108-branch&r1=1.56&r2=1.56.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/frame.h.diff?cvsroot=src&only_with_tag=cagney-unwind-20030108-branch&r1=1.59&r2=1.59.2.1