[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb-patches
Subject: RFA: tolerate one-line functions
From: jimb () zwingli ! cygnus ! com (Jim Blandy)
Date: 2000-04-27 15:25:00
Message-ID: npzoqfi3lw.fsf () zwingli ! cygnus ! com
[Download RAW message or body]
2000-04-26 Jim Blandy <jimb@redhat.com>
* gdb.base/break.exp ("run until breakpoint set at small function,
optimized file"): XFAIL if the breakpoint hit messages include an
address. GCC's Dwarf 2 line info doesn't help us distinguish the
prologue from the real source code, so GDB can't tell we're really
just sitting after the prologue.
Index: break.exp
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/testsuite/gdb.base/break.exp,v
retrieving revision 1.52
diff -c -c -r1.52 break.exp
*** gdb/testsuite/gdb.base/break.exp 2000/03/27 07:37:31 1.52
--- gdb/testsuite/gdb.base/break.exp 2000/04/27 17:03:43
***************
*** 870,877 ****
#
# run until the breakpoint at a small function
#
! gdb_test continue "Continuing\\..*Breakpoint \[0-9\]+, marker4 \\(d=177601976\\) at \
.*$srcfile:51.*51\[\t \]+void.*marker4.*" \
! "run until breakpoint set at small function, optimized file"
# Reset the default arguments for VxWorks
--- 870,890 ----
#
# run until the breakpoint at a small function
#
! send_gdb "continue\n"
! gdb_expect {
! -re "Continuing\\..*Breakpoint \[0-9\]+, marker4 \\(d=177601976\\) at \
.*$srcfile:51.*51\[\t \]+void.*marker4.*" {
! pass "run until breakpoint set at small function, optimized file"
! }
! -re "Continuing\\..*Breakpoint \[0-9\]+, $hex in marker4 \\(d=177601976\\) at \
.*$srcfile:51.*51\[\t \]+void.*marker4.*" {
! xfail "run until breakpoint set at small function, optimized file"
! }
! -re "$gdb_prompt $" {
! fail "run until breakpoint set at small function, optimized file"
! }
! timeout {
! fail "(timeout) run until breakpoint set at small function, optimized file"
! }
! }
# Reset the default arguments for VxWorks
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic