From 2d476de17835e31b0b1dc2ef35eabd1e8102c1ec Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 4 Dec 2008 17:41:42 +0000 Subject: [PATCH] * gdb.server/ext-run.exp: Relax regexp for init program. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.server/ext-run.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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" -- 2.30.2