aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
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
commit8e61ebec34674445bd5ea8df627f5ba2afb57d79 (patch)
tree093649d7179e55c07aa25bd26704d1d34466a926 /gdb/nat
parent98a032873232f9685dc7a5d632481c1488b9f1c5 (diff)
downloadgdb-8e61ebec34674445bd5ea8df627f5ba2afb57d79.zip
gdb-8e61ebec34674445bd5ea8df627f5ba2afb57d79.tar.gz
gdb-8e61ebec34674445bd5ea8df627f5ba2afb57d79.tar.bz2
Change type of argument to windows-nat.c:thread_rec
windows-nat.c:thread_rec accepts an integer parameter whose interpretation depends on whether it is less than, equal to, or greater than zero. I found this confusing at times, so this patch replaces it with an enum instead. gdb/ChangeLog 2020-04-08 Tom Tromey <tromey@adacore.com> * windows-nat.c (enum thread_disposition_type): New. (thread_rec): Replace "get_context" parameter with "disposition"; change type. (windows_add_thread, windows_nat_target::fetch_registers) (windows_nat_target::store_registers, handle_exception) (windows_nat_target::resume, get_windows_debug_event) (windows_nat_target::get_tib_address) (windows_nat_target::thread_name) (windows_nat_target::thread_alive): Update.
Diffstat (limited to 'gdb/nat')
0 files changed, 0 insertions, 0 deletions