* gdb.server/ext-run.exp: Relax regexp for init program.

This commit is contained in:
Doug Evans 2008-12-04 17:41:42 +00:00
parent 87bdc95928
commit 2d476de178
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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"