This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb frame.h blockframe.c ChangeLog
- From: brobecke at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 2 Jul 2002 19:09:26 -0000
- Subject: src/gdb frame.h blockframe.c ChangeLog
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sources.redhat.com 2002-07-02 12:09:18
Modified files:
gdb : frame.h blockframe.c ChangeLog
Log message:
* frame.h (frame_address_in_block): New function.
* blockframe.c (frame_address_in_block): New function extracted
from get_frame_block().
(get_frame_block): Use frame_address_in_block().
(block_innermost_frame): Use frame_address_in_block() to match
the frame pc address against the block boundaries rather than
the frame pc directly. This prevents a failure when a frame pc
is actually a return-address pointing immediately after the end
of the given block.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/frame.h.diff?cvsroot=src&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/blockframe.c.diff?cvsroot=src&r1=1.31&r2=1.32
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.2860&r2=1.2861