aboutsummaryrefslogtreecommitdiff
path: root/sim/rx
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-03-31 13:41:02 -0600
committerTom Tromey <tromey@adacore.com>2022-04-04 13:58:37 -0600
commit0578e87f93b09e4cc41d3982eb1672bcfc81042d (patch)
treef2781002de2cf155a7f4cc9ae5f0c7bf08d1a270 /sim/rx
parentfc0b013e44e5a450631706bc25612b975cfbc692 (diff)
downloadbinutils-0578e87f93b09e4cc41d3982eb1672bcfc81042d.zip
binutils-0578e87f93b09e4cc41d3982eb1672bcfc81042d.tar.gz
binutils-0578e87f93b09e4cc41d3982eb1672bcfc81042d.tar.bz2
Remove some globals from nat/windows-nat.c
nat/windows-nat.c has a number of globals that it uses to communicate with its clients (gdb and gdbserver). However, if we ever want the Windows ports to be multi-inferior, globals won't work. This patch takes a step toward that by moving most nat/windows-nat.c globals into a new struct windows_process_info. Many functions are converted to be methods on this object. A couple of globals remain, as they are needed to truly be global due to the way that the Windows debugging APIs work. The clients still have a global for the current process. That is, this patch is a step toward the end goal, but doesn't implement the goal itself.
Diffstat (limited to 'sim/rx')
0 files changed, 0 insertions, 0 deletions