This is the mail archive of the gdb-cvs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]