gdb, gdbserver: make stopped_pids global variables static
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 21 Jul 2020 20:49:35 +0000 (16:49 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 21 Jul 2020 20:49:36 +0000 (16:49 -0400)
commit05c309a8aeb8060fdcb9a05bbcdca2f5f1be61d7
treefb3f21d98ee420d300668664b4ca0ecaabab517e
parentd1fd641e0b48e75401311528450eb1ddfb3a1fa0
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
gdb/ChangeLog
gdb/linux-nat.c
gdbserver/ChangeLog
gdbserver/linux-low.cc
This page took 0.026098 seconds and 4 git commands to generate.