diff options
author | Doug Evans <dje@google.com> | 2008-12-04 17:41:42 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2008-12-04 17:41:42 +0000 |
commit | 2d476de17835e31b0b1dc2ef35eabd1e8102c1ec (patch) | |
tree | 6b48ecd804cb25db1ebb7b18b31e1cb8889f0391 /gdb | |
parent | 87bdc959287d36ceef67aff9ff82dd412aed9ff6 (diff) | |
download | binutils-2d476de17835e31b0b1dc2ef35eabd1e8102c1ec.tar.gz binutils-2d476de17835e31b0b1dc2ef35eabd1e8102c1ec.tar.bz2 binutils-2d476de17835e31b0b1dc2ef35eabd1e8102c1ec.zip |
* gdb.server/ext-run.exp: Relax regexp for init program.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.server/ext-run.exp | 2 |
2 files changed, 5 insertions, 1 deletions
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 <dje@google.com> + + * gdb.server/ext-run.exp: Relax regexp for init program. + 2008-12-03 Tristan Gingold <gingold@adacore.com> * 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" |