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

[PATCH] weird.exp


This also is to handle the new output from the libthread_db library.

Checked in on mainline.

elena

2003-09-11  Elena Zannoni  <ezannoni@redhat.com>

	* gdb.stabs/weird.exp: Handle new gdb output at startup.

Index: weird.exp
===================================================================
RCS file: /cvs/uberbaum/gdb/testsuite/gdb.stabs/weird.exp,v
retrieving revision 1.5
diff -u -p -r1.5 weird.exp
--- weird.exp	6 Nov 2001 00:31:59 -0000	1.5
+++ weird.exp	11 Sep 2003 19:08:10 -0000
@@ -308,7 +308,7 @@ gdb_expect 60 {
 	send_gdb "y\n"
 	exp_continue
     }
-    -re "^Reading symbols from $binfile\\.\\.\\.done\.\r*\n$gdb_prompt $" {
+    -re "^Reading symbols from $binfile\\.\\.\\.done\.(|\r\nUsing host libthread_db library .*libthread_db.so.*\\.)\r\n$gdb_prompt $" {
 	pass "weirdx.o read without error"
     }
     -re ".*$gdb_prompt $" {


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