]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove "linux_multi_process" global
authorTom Tromey <tom@tromey.com>
Sat, 18 Jul 2020 16:43:16 +0000 (10:43 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 18 Jul 2020 16:43:16 +0000 (10:43 -0600)
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.

gdb/ChangeLog
gdb/linux-nat.c

index 5a01458a46a44715c9c6622bfee07f2177423471..6d231f5d9432fde803f51008f08d0e3548df7d66 100644 (file)
@@ -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.
index 03d52ba4f0945f3871045725e9d3bf8f17f8d273..6a78735018c1b58b9a4bfd564d1877e2f9d8b714 100644 (file)
@@ -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