From: Doug Evans Date: Thu, 4 Dec 2008 17:41:42 +0000 (+0000) Subject: * gdb.server/ext-run.exp: Relax regexp for init program. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d476de17835e31b0b1dc2ef35eabd1e8102c1ec;p=binutils-gdb.git * gdb.server/ext-run.exp: Relax regexp for init program. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index af1045a4fe3..ab628c800d2 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-12-04 Doug Evans + + * gdb.server/ext-run.exp: Relax regexp for init program. + 2008-12-03 Tristan Gingold * gdb.base/macscp.exp: Generate an object file during compilation diff --git a/gdb/testsuite/gdb.server/ext-run.exp b/gdb/testsuite/gdb.server/ext-run.exp index 735c28fb1f8..14c03a465a4 100644 --- a/gdb/testsuite/gdb.server/ext-run.exp +++ b/gdb/testsuite/gdb.server/ext-run.exp @@ -46,7 +46,7 @@ gdb_test "run" "Breakpoint.* main .*" "continue to main" if { [istarget *-*-linux*] } { # On Linux, gdbserver can also report the list of processes. - gdb_test "info os processes" ".*pid +user +command.*1 +root +/sbin/init.*" "get process list" + gdb_test "info os processes" ".*pid +user +command.*1 +root +\[/a-z\]*init.*" "get process list" } gdb_test "kill" "" "kill" "Kill the program being debugged.*" "y"