diff options
author | Tom Tromey <tromey@adacore.com> | 2020-04-08 14:33:35 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-08 14:47:58 -0600 |
commit | 8e61ebec34674445bd5ea8df627f5ba2afb57d79 (patch) | |
tree | 093649d7179e55c07aa25bd26704d1d34466a926 /gdb/nat | |
parent | 98a032873232f9685dc7a5d632481c1488b9f1c5 (diff) | |
download | fsf-binutils-gdb-8e61ebec34674445bd5ea8df627f5ba2afb57d79.zip fsf-binutils-gdb-8e61ebec34674445bd5ea8df627f5ba2afb57d79.tar.gz fsf-binutils-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