aboutsummaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-07-20 12:46:08 -0600
committerTom Tromey <tromey@adacore.com>2022-08-16 08:04:37 -0600
commit02d04eac24f497e34ac9869bac5bfb1e044a6b62 (patch)
tree5dbf104d58fe1abec6fe1338fb823c78a443de06 /compile
parentec29a63c80602056bfc8533d230394d0db14b982 (diff)
downloadgdb-02d04eac24f497e34ac9869bac5bfb1e044a6b62.zip
gdb-02d04eac24f497e34ac9869bac5bfb1e044a6b62.tar.gz
gdb-02d04eac24f497e34ac9869bac5bfb1e044a6b62.tar.bz2
Use strwinerror in gdb/windows-nat.c
When working on windows-nat.c, it's useful to see an error message in addition to the error number given by GetLastError. This patch moves strwinerror from gdbserver to gdbsupport, and then updates windows-nat.c to use it. A couple of minor changes to strwinerror (constify the return type and use the ARRAY_SIZE macro) are also included.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions