From 92806416b350aebd596e9a779b4d762430b2fb0a Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 4 Dec 2002 03:15:27 +0000 Subject: [PATCH] * gdb.base/selftest.exp: Update for current gdb. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/selftest.exp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4bc87e22dd7..86ea37633d4 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-12-03 Daniel Jacobowitz + + * gdb.base/selftest.exp: Update for current gdb. + 2002-12-03 Daniel Jacobowitz * gdb.base/maint.exp: Only dump symbols from one source file diff --git a/gdb/testsuite/gdb.base/selftest.exp b/gdb/testsuite/gdb.base/selftest.exp index 85e9fa79af6..573b8aa4766 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 $" { -- 2.30.2