[00/10] remote: More multi-target preparation

Message ID 20180516141830.16859-1-palves@redhat.com
Headers show
Series
  • remote: More multi-target preparation
Related show

Message

Pedro Alves May 16, 2018, 2:18 p.m.
Here's another chunk split from my multi-target branch.

This series makes us end up with a remote_state instance per
remote_target instance.

Pedro Alves (10):
  remote: struct remote_state, use op new
  remote: Eliminate remote_hostio_close_cleanup
  remote: Make readahead_cache a C++ class
  remote: multiple remote_arch_state instances per arch
  remote: remote_arch_state pointers -> remote_arch_state objects
  remote: Small cleanup in compare_section_command
  remote: Move discard_pending_stop_replies call
  Handle "show remote memory-write-packet-size" when not connected
  remote: Make vcont_builder a class
  remote: one struct remote_state per struct remote_target

 gdb/remote-fileio.c               |  214 ++--
 gdb/remote-fileio.h               |    3 +-
 gdb/remote-notif.c                |   22 +-
 gdb/remote-notif.h                |   21 +-
 gdb/remote.c                      | 2029 ++++++++++++++++++++++---------------
 gdb/remote.h                      |    9 +-
 gdb/testsuite/gdb.base/remote.exp |    6 +-
 7 files changed, 1344 insertions(+), 960 deletions(-)

-- 
2.14.3