This is the mail archive of the
gdb-cvs@sourceware.cygnus.com
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.base/break.exp
- To: gdb-cvs at sourceware dot cygnus dot com
- Subject: src/gdb/testsuite ChangeLog gdb.base/break.exp
- From: msnyder at sourceware dot cygnus dot com
- Date: 17 May 2000 17:10:19 -0000
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