aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-12-04 03:15:27 +0000
committerDaniel Jacobowitz <drow@false.org>2002-12-04 03:15:27 +0000
commit92806416b350aebd596e9a779b4d762430b2fb0a (patch)
tree8f764995c2a931cd609cca6609682f7006be07b0 /gdb/testsuite
parent3bcbaac54041e1226ae28cf918d4f5daf1a899af (diff)
downloadgdb-92806416b350aebd596e9a779b4d762430b2fb0a.zip
gdb-92806416b350aebd596e9a779b4d762430b2fb0a.tar.gz
gdb-92806416b350aebd596e9a779b4d762430b2fb0a.tar.bz2
* gdb.base/selftest.exp: Update for current gdb.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/selftest.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 4bc87e2..86ea376 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2002-12-03 Daniel Jacobowitz <drow@mvista.com>
+ * gdb.base/selftest.exp: Update for current gdb.
+
+2002-12-03 Daniel Jacobowitz <drow@mvista.com>
+
* gdb.base/maint.exp: Only dump symbols from one source file
or objfile.
diff --git a/gdb/testsuite/gdb.base/selftest.exp b/gdb/testsuite/gdb.base/selftest.exp
index 85e9fa7..573b8aa 100644
--- a/gdb/testsuite/gdb.base/selftest.exp
+++ b/gdb/testsuite/gdb.base/selftest.exp
@@ -1,4 +1,4 @@
-# Copyright 1988, 1990, 1991, 1992, 1994, 1997, 1999, 2000
+# Copyright 1988, 1990, 1991, 1992, 1994, 1997, 1999, 2000, 2002
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -392,7 +392,7 @@ GDB.*Copyright \[0-9\]+ Free Software Foundation, Inc..*$gdb_prompt $"\
set description "backtrace through signal handler"
send_gdb "backtrace\n"
gdb_expect {
- -re "#0.*read.*in main \\(.*\\) at .*main\\.c.*$gdb_prompt $" {
+ -re "#0.*(read|poll).*in main \\(.*\\) at .*gdb\\.c.*$gdb_prompt $" {
pass "$description"
}
-re ".*$gdb_prompt $" {