This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] gdbserver: Remove traces of ancient Hc handling
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 21 Sep 2017 12:38:48 -0400
- Subject: [binutils-gdb] gdbserver: Remove traces of ancient Hc handling
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT f557a88ab120b75ddcc507c03d565c28e5f88c16 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: f557a88ab120b75ddcc507c03d565c28e5f88c16
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.