aboutsummaryrefslogtreecommitdiff
path: root/libiberty/tmpnam.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-04-08 14:33:35 -0600
committerTom Tromey <tromey@adacore.com>2020-04-08 14:47:58 -0600
commit98a032873232f9685dc7a5d632481c1488b9f1c5 (patch)
tree70351fce16a4d7860fa2cc9bb92032363babd7ed /libiberty/tmpnam.c
parent7c7411bcabdbe88c6a2f1b9a6090eea0dc50686f (diff)
downloadgdb-98a032873232f9685dc7a5d632481c1488b9f1c5.zip
gdb-98a032873232f9685dc7a5d632481c1488b9f1c5.tar.gz
gdb-98a032873232f9685dc7a5d632481c1488b9f1c5.tar.bz2
Share Windows thread-suspend and -resume code
This adds "suspend" and "resume" methods to windows_thread_info, and changes gdb and gdbserver to share this code. gdb/ChangeLog 2020-04-08 Tom Tromey <tromey@adacore.com> * windows-nat.c (thread_rec): Use windows_thread_info::suspend. (windows_continue): Use windows_continue::resume. * nat/windows-nat.h (struct windows_thread_info) <suspend, resume>: Declare new methods. * nat/windows-nat.c: New file. * configure.nat (NATDEPFILES): Add nat/windows-nat.o when needed. gdbserver/ChangeLog 2020-04-08 Tom Tromey <tromey@adacore.com> * win32-low.c (win32_require_context, suspend_one_thread): Use windows_thread_info::suspend. (continue_one_thread): Use windows_thread_info::resume. * configure.srv (srv_tgtobj): Add windows-nat.o when needed.
Diffstat (limited to 'libiberty/tmpnam.c')
0 files changed, 0 insertions, 0 deletions