aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-09-11 18:59:02 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-09-11 18:59:02 +0000
commit1c19974635cac3182de78365792080f48d36d0ae (patch)
tree5b36b7c45f8def14635213eaca95005e8147f04f /gdb/testsuite
parente961d8dc41acf21a3839ce26f21e8645f0da1c24 (diff)
downloadfsf-binutils-gdb-1c19974635cac3182de78365792080f48d36d0ae.zip
fsf-binutils-gdb-1c19974635cac3182de78365792080f48d36d0ae.tar.gz
fsf-binutils-gdb-1c19974635cac3182de78365792080f48d36d0ae.tar.bz2
2003-09-11 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/relocate.exp: Handle new gdb output at startup.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/relocate.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index dda10d7..7bd08cc 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2003-09-11 Elena Zannoni <ezannoni@redhat.com>
+
+ * gdb.base/relocate.exp: Handle new gdb output at startup.
+
2003-09-08 Michael Chastain <mec@shout.net>
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
diff --git a/gdb/testsuite/gdb.base/relocate.exp b/gdb/testsuite/gdb.base/relocate.exp
index 8d8ff90..916ce1c 100644
--- a/gdb/testsuite/gdb.base/relocate.exp
+++ b/gdb/testsuite/gdb.base/relocate.exp
@@ -67,7 +67,7 @@ gdb_reinitialize_dir $srcdir/$subdir
# Load the object file.
gdb_test "add-symbol-file ${binfile} 0" \
- "Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\." \
+ "Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\.(|\r\nUsing host libthread_db library .*libthread_db.so.*\\.)" \
"add-symbol-file ${testfile}.o 0" \
"add symbol table from file \".*${testfile}\\.o\" at\[ \t\r\n\]+\.text_addr = 0x0\[\r\n\]+\\(y or n\\) " \
"y"
@@ -116,7 +116,7 @@ gdb_test "set \$offset = 0x10000" ""
# Load the object file.
gdb_test "add-symbol-file ${binfile} \$offset" \
- "Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\." \
+ "Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\.(|\r\nUsing host libthread_db library .*libthread_db.so.*\\.)" \
"add-symbol-file ${testfile}.o \$offset" \
"add symbol table from file \".*${testfile}\\.o\" at\[ \t\r\n\]+\.text_addr = 0x10000\[\r\n\]+\\(y or n\\) " \
"y"