aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-09-21 16:52:33 +0100
committerPedro Alves <palves@redhat.com>2017-09-21 16:52:33 +0100
commitf557a88ab120b75ddcc507c03d565c28e5f88c16 (patch)
treee44acbd5cb926b6e1002a8ef2b926873ae169ddb /gdb/target.c
parent8fe09d7421db51bc13c9228547d63e6315bd6bd0 (diff)
downloadgdb-f557a88ab120b75ddcc507c03d565c28e5f88c16.zip
gdb-f557a88ab120b75ddcc507c03d565c28e5f88c16.tar.gz
gdb-f557a88ab120b75ddcc507c03d565c28e5f88c16.tar.bz2
gdbserver: Remove traces of ancient Hc handling
Back in commit f0db101d9897 ("gdbserver: don't pick a random thread if the current thread dies"), a couple years ago, the last references to set_desired_thread(0) [select the Hc thread] were removed, and all the remaining calls to set_desired_thread pass '1', meaning general thread. This means we can simplify set_desired_thread. gdb/gdbserver/ChangeLog: 2017-09-21 Pedro Alves <palves@redhat.com> * server.c (gdb_read_memory, handle_status, process_serial_event) (handle_serial_event, handle_target_event): Adjust to set_desired_thread prototype change. * target.c (set_desired_thread): Remove 'use_general' parameter and adjust. * target.h (set_desired_thread): Remove 'use_general' parameter.
Diffstat (limited to 'gdb/target.c')
0 files changed, 0 insertions, 0 deletions