This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb frame.c frame.h infrun.c libunwind-fra ...
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 13 Sep 2009 16:28:29 -0000
- Subject: src/gdb frame.c frame.h infrun.c libunwind-fra ...
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sourceware.org 2009-09-13 16:28:29
Modified files:
gdb : frame.c frame.h infrun.c libunwind-frame.c
hppa-tdep.c ia64-tdep.c amd64obsd-tdep.c
i386obsd-tdep.c inline-frame.c thread.c
ChangeLog
gdb/doc : gdbint.texinfo ChangeLog
Log message:
gdb/
* frame.c (get_frame_id): Default to outer_frame_id if the this_id
method does not supply an ID. Assert that the result is not
null_frame_id.
(outer_frame_id): New.
(frame_id_p): Accept outer_frame_id.
(frame_id_eq): Allow outer_frame_id to be equal to itself.
(frame_find_by_id): Revert previous local workarounds.
(get_prev_frame_1): Adjust end-of-stack check to test outer_frame_id.
* frame.h (null_frame_id, frame_id_p): Update comments.
(outer_frame_id): Declare.
* infrun.c (handle_inferior_event): Do not treat all steps from the
outermost frame as subroutine calls.
* libunwind-frame.c (libunwind_frame_this_id): Do not clear THIS_ID.
* hppa-tdep.c (hppa_stub_frame_this_id): Likewise.
* ia64-tdep.c (ia64_frame_this_id): Likewise.
(ia64_libunwind_frame_this_id, ia64_libunwind_sigtramp_frame_this_id):
Use outer_frame_id instead of null_frame_id.
* amd64obsd-tdep.c (amd64obsd_trapframe_cache): Use outer_frame_id.
* i386obsd-tdep.c (i386obsd_trapframe_cache): Likewise.
* inline-frame.c (inline_frame_this_id): Refuse outer_frame_id.
* thread.c (restore_selected_frame): Update comment and remove
frame_id_p check.
gdb/doc/
* gdbint.texinfo (Unwinding the Frame ID): Reference outer_frame_id.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/frame.c.diff?cvsroot=src&r1=1.273&r2=1.274
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/frame.h.diff?cvsroot=src&r1=1.179&r2=1.180
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&r1=1.407&r2=1.408
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/libunwind-frame.c.diff?cvsroot=src&r1=1.23&r2=1.24
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/hppa-tdep.c.diff?cvsroot=src&r1=1.270&r2=1.271
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ia64-tdep.c.diff?cvsroot=src&r1=1.199&r2=1.200
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/amd64obsd-tdep.c.diff?cvsroot=src&r1=1.29&r2=1.30
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/i386obsd-tdep.c.diff?cvsroot=src&r1=1.37&r2=1.38
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/inline-frame.c.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/thread.c.diff?cvsroot=src&r1=1.115&r2=1.116
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10865&r2=1.10866
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doc/gdbint.texinfo.diff?cvsroot=src&r1=1.311&r2=1.312
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.950&r2=1.951