Remove the_windows_nat_target global
authorTom Tromey <tromey@adacore.com>
Wed, 30 Nov 2022 15:51:09 +0000 (08:51 -0700)
committerTom Tromey <tromey@adacore.com>
Thu, 1 Dec 2022 18:36:18 +0000 (11:36 -0700)
commit5f8363d9248f1864b58d329a2c734527c3713055
tree296a3009e0822dfe6065b4779c8cc77c9ac7dab9
parent77d2113f27eac3ad9b4dcaa7768b428dd7c59ae8
Remove the_windows_nat_target global

I belatedly realized that the "the_windows_nat_target" global isn't
really necessary.  It's only used in one place, where 'this' would be
simpler and clearer.  This patch removes the global entirely.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/windows-nat.c