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

[commit] gdb.base/break-interp.exp (reach): Relax expected output a bit.


Hi.

I was getting failures in break-interp.exp because the output
contained extra chattyness from gdb (in this case auto language selection).

Breakpoint 2, 0x0000000000400390 in main ()
Current language:  auto
The current source language is "auto; currently asm".
(gdb) FAIL: gdb.base/break-interp.exp: LDprelinkNOdebugNO: BINprelinkNOdebugNOpieNO: reach-main: reach

I've committed this.

2010-06-28  Doug Evans  <dje@google.com>

	* gdb.base/break-interp.exp (reach): Relax expected output a bit.

Index: gdb.base/break-interp.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/break-interp.exp,v
retrieving revision 1.11
diff -u -p -r1.11 break-interp.exp
--- gdb.base/break-interp.exp	1 Jun 2010 21:29:21 -0000	1.11
+++ gdb.base/break-interp.exp	28 Jun 2010 16:51:42 -0000
@@ -252,7 +252,7 @@ proc reach {func command displacement} {
 	    -re "Breakpoint \[0-9\]+, $func \\(.*\\) at .*:\[0-9\]+\r\n.*$gdb_prompt $" {
 		pass $test
 	    }
-	    -re "Breakpoint \[0-9\]+, \[0-9xa-f\]+ in $func \\(\\)( from .*)?\r\n$gdb_prompt $" {
+	    -re "Breakpoint \[0-9\]+, \[0-9xa-f\]+ in $func \\(\\).*\r\n$gdb_prompt $" {
 		pass $test
 	    }
 	}



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