diff options
author | Tom Tromey <tom@tromey.com> | 2020-07-18 10:43:16 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-07-18 10:43:16 -0600 |
commit | aee91db3eb3f602b80be4c0e5275f39bcb40d334 (patch) | |
tree | 2899b41b472a1704cf1b6a58582718c81e604e71 /gdb | |
parent | dea6fdedf9871b9b411a68983573f111f2b6de28 (diff) | |
download | gdb-aee91db3eb3f602b80be4c0e5275f39bcb40d334.zip gdb-aee91db3eb3f602b80be4c0e5275f39bcb40d334.tar.gz gdb-aee91db3eb3f602b80be4c0e5275f39bcb40d334.tar.bz2 |
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 <tom@tromey.com>
* linux-nat.c (linux_multi_process): Remove.
(linux_nat_target::supports_multi_process): Return true.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/linux-nat.c | 7 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5a01458..6d231f5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-07-18 Tom Tromey <tom@tromey.com> + + * linux-nat.c (linux_multi_process): Remove. + (linux_nat_target::supports_multi_process): Return true. + 2020-07-17 Andrew Burgess <andrew.burgess@embecosm.com> * arch/riscv.c (riscv_tdesc_cache): Change map type. diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 03d52ba..6a78735 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 |