This is the mail archive of the gdb-cvs@sourceware.cygnus.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]

src/gdb/testsuite ChangeLog gdb.base/break.exp


CVSROOT:	/cvs/src
Module name:	src
Changes by:	msnyder@sourceware.cygnus.com	00/05/17 10:10:19

Modified files:
	gdb/testsuite  : ChangeLog 
	gdb/testsuite/gdb.base: break.exp 

Log message:
	2000-05-12  Michael Snyder  <msnyder@.cygnus.com>
	
	* gdb.base/break.exp (bp on small function, optimized file):
	Add a second pass pattern.  The behavior differs here between stabs
	and dwarf for one-line functions.  Stabs preserves two line symbols
	(one before the prologue and one after) with the same line number,
	but dwarf regards these as duplicates and discards one of them.
	Therefore the address after the prologue (where the breakpoint is)
	has no exactly matching line symbol, and GDB reports the breakpoint
	as if it were in the middle of a line rather than at the beginning.

Patches:
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.27&r2=1.28
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/break.exp.diff?cvsroot=src&r1=1.4&r2=1.5


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