mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
gdb, gdbserver: make stopped_pids global variables static
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
This commit is contained in:
@@ -206,7 +206,7 @@ struct simple_pid_list
|
||||
/* 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. */
|
||||
|
||||
Reference in New Issue
Block a user