From: Tom Tromey Date: Sat, 18 Jul 2020 16:43:16 +0000 (-0600) Subject: Remove "linux_multi_process" global X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aee91db3eb3f602b80be4c0e5275f39bcb40d334;p=binutils-gdb.git Remove "linux_multi_process" global The "linux_multi_process" is initialized but never modified. I discussed this with Pedro on irc, and he said that, while it was useful when developing this feature, it is now no longer needed. So, this removes it. gdb/ChangeLog 2020-07-18 Tom Tromey * linux-nat.c (linux_multi_process): Remove. (linux_nat_target::supports_multi_process): Return true. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5a01458a46a..6d231f5d943 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-07-18 Tom Tromey + + * linux-nat.c (linux_multi_process): Remove. + (linux_nat_target::supports_multi_process): Return true. + 2020-07-17 Andrew Burgess * arch/riscv.c (riscv_tdesc_cache): Change map type. diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 03d52ba4f09..6a78735018c 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -4185,15 +4185,10 @@ linux_nat_target::always_non_stop_p () return true; } -/* True if we want to support multi-process. To be removed when GDB - supports multi-exec. */ - -int linux_multi_process = 1; - bool linux_nat_target::supports_multi_process () { - return linux_multi_process; + return true; } bool