This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/2] Invalid file I/O file handles when the target closes


On 2018-04-10 06:11, Pedro Alves wrote:
Found this little easily-splittable piece on my multi-target branch,
thought I'd send it out.

On the branch, we can connect to multiple remote servers
simultaneously.  Each remote connection is managed by a separate
heap-allocated target_ops instance.  The change from a single global
remote target_ops heap-allocated target_ops instances exposed the
problem fixed in patch #2.

Pedro Alves (2):
  C++ify fileio_fh_t, replace VEC with std::vector
  File I/O file handles after target closes

 gdb/remote.c |   3 +-
gdb/target.c | 108 ++++++++++++++++++++++++++++++++++++++---------------------
 2 files changed, 70 insertions(+), 41 deletions(-)

Makes sense to me.

Simon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]