* gdb.server/ext-run.exp: Relax regexp for init program.
authorDoug Evans <dje@google.com>
Thu, 4 Dec 2008 17:41:42 +0000 (17:41 +0000)
committerDoug Evans <dje@google.com>
Thu, 4 Dec 2008 17:41:42 +0000 (17:41 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.server/ext-run.exp

index af1045a4fe334edca8e1f128fe816335d50953a4..ab628c800d299e9cd41f2a378ccd6bfbe8d53c08 100644 (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
index 735c28fb1f861fa4e39feab0e933d48d696e7d93..14c03a465a49330570f1f8dc112a1cf42e0257cc 100644 (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"