]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Implement pid_to_exec_file for Windows in gdbserver
authorTom Tromey <tromey@adacore.com>
Tue, 26 Apr 2022 20:16:57 +0000 (14:16 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 13 May 2022 14:21:16 +0000 (08:21 -0600)
commitfcab58390fc7a972f499b8ae1b2ff06994b6c1fc
tree71deaa52a04fb55d314b4fe78783fcb9ea9a8b16
parent4eab18b566a0a10d8436eb221c606df4a2803edc
Implement pid_to_exec_file for Windows in gdbserver

I noticed that gdbserver did not implement pid_to_exec_file for
Windows, while gdb did implement it.  This patch moves the code to
nat/windows-nat.c, so that it can be shared.  This makes the gdbserver
implementation trivial.
gdb/nat/windows-nat.c
gdb/nat/windows-nat.h
gdb/windows-nat.c
gdbserver/win32-low.cc
gdbserver/win32-low.h