diff options
author | Tom Tromey <tromey@adacore.com> | 2021-04-30 10:22:23 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-04-30 10:22:23 -0600 |
commit | 1053c6389a699550f2c7c1f118ce4d2c1889a73a (patch) | |
tree | 8575bc41d64235f9ce8b67dc53636752885e5dce /sim/m32c | |
parent | 698facb837c556b0e189b92563ec8bd4f2de373d (diff) | |
download | binutils-1053c6389a699550f2c7c1f118ce4d2c1889a73a.zip binutils-1053c6389a699550f2c7c1f118ce4d2c1889a73a.tar.gz binutils-1053c6389a699550f2c7c1f118ce4d2c1889a73a.tar.bz2 |
Use template functions in windows-nat.c
windows-nat.c defines a number of replacement functions that simply
return zero. This patch removes these in favor of a couple of
template functions.
gdb/ChangeLog
2021-04-30 Tom Tromey <tromey@adacore.com>
* windows-nat.c (bad_GetModuleFileNameEx): Remove define.
(bad_DebugActiveProcessStop, bad_DebugBreakProcess)
(bad_DebugSetProcessKillOnExit, bad_EnumProcessModules)
(bad_GetModuleFileNameExW, bad_GetModuleFileNameExA)
(bad_GetModuleInformation, bad_OpenProcessToken): Remove.
(bad): New template functions.
(_initialize_loadable): Update.
Diffstat (limited to 'sim/m32c')
0 files changed, 0 insertions, 0 deletions