I noticed that my IDE was confusing the two stopped_pids variables.
There is one in GDB and one in GDBserver. They should be static, make
them so.
gdb/ChangeLog:
* linux-nat.c (stopped_pids): Make static.
gdbserver/ChangeLog:
* linux-low.cc (stopped_pids): Make static.
Change-Id: If4a2bdcd45d32eb3a732d266a0f686a4e4c23672
+2020-07-21 Simon Marchi <simon.marchi@efficios.com>
+
+ * linux-nat.c (stopped_pids): Make static.
+
2020-07-21 Simon Marchi <simon.marchi@polymtl.ca>
PR ada/26235
int status;
struct simple_pid_list *next;
};
-struct simple_pid_list *stopped_pids;
+static struct simple_pid_list *stopped_pids;
/* Whether target_thread_events is in effect. */
static int report_thread_events;
+2020-07-21 Simon Marchi <simon.marchi@efficios.com>
+
+ * linux-low.cc (stopped_pids): Make static.
+
2020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
* tdesc.cc (allocate_target_description): Add header comment.
/* Next in chain. */
struct simple_pid_list *next;
};
-struct simple_pid_list *stopped_pids;
+static struct simple_pid_list *stopped_pids;
/* Trivial list manipulation functions to keep track of a list of new
stopped processes. */