From: Jan Kratochvil Date: Mon, 5 Dec 2011 18:27:44 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1820ab4711aeca407cd1d9be62e0f832c530352d;p=binutils-gdb.git gdb/testsuite/ * gdb.server/ext-run.exp (get process list): Accept also systemd as PID 1. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 860201c35b8..52f4b984f8a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-12-05 Jan Kratochvil + + * gdb.server/ext-run.exp (get process list): Accept also systemd + as PID 1. + 2011-12-03 Jan Kratochvil Pedro Alves diff --git a/gdb/testsuite/gdb.server/ext-run.exp b/gdb/testsuite/gdb.server/ext-run.exp index b9305274202..165a2b6955c 100644 --- a/gdb/testsuite/gdb.server/ext-run.exp +++ b/gdb/testsuite/gdb.server/ext-run.exp @@ -55,7 +55,7 @@ if { [istarget *-*-linux*] } { # This is done in a way to avoid the timeout that can occur from # applying .* regexp to large output. gdb_test_sequence "info os processes" "get process list" \ - { "pid +user +command" "1 +root +\[/a-z\]*init" } + { "pid +user +command" "1 +root +\[/a-z\]*(init|systemd)" } } }