From 1820ab4711aeca407cd1d9be62e0f832c530352d Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 5 Dec 2011 18:27:44 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.server/ext-run.exp (get process list): Accept also systemd as PID 1. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.server/ext-run.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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)" } } } -- 2.30.2