aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
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 $" {