[pushed 0/3] GDBserver: remove Hc handling from backend

Pedro Alves palves@redhat.com
Wed Nov 12 11:39:00 GMT 2014


There's still code in the GDBserver Linux backend that handles Hc
specially.  It's better that leave the backend agnostic of such remote
protocol details.

In fact, both places that special case it, are wrong.

This series fixes those up, and then cleans up a bit the common code
around Hc support.

Pedro Alves (3):
  GDBserver: ctrl-c after leader has exited
  GDBserver: don't resume all threads if the Hc thread disapears
  GDBserver: clean up 'cont_thread' handling

 gdb/gdbserver/ChangeLog                   | 17 +++++++++++++
 gdb/testsuite/ChangeLog                   |  5 ++++
 gdb/gdbserver/linux-low.c                 | 41 +++----------------------------
 gdb/gdbserver/server.c                    | 26 ++------------------
 gdb/testsuite/gdb.threads/leader-exit.c   |  3 ++-
 gdb/testsuite/gdb.threads/leader-exit.exp | 20 +++++++++++++++
 6 files changed, 49 insertions(+), 63 deletions(-)

-- 
1.9.3



More information about the Gdb-patches mailing list