This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[pushed] Make remote file transfers interruptible
- From: Gary Benson <gbenson at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Sandra Loosemore <sandra at codesourcery dot com>, Doug Evans <dje at google dot com>, Jan Kratochvil <jan dot kratochvil at redhat dot com>, André Pönitz <apoenitz at t-online dot de>, Paul_Koning at Dell dot com
- Date: Fri, 21 Aug 2015 17:23:54 +0100
- Subject: [pushed] Make remote file transfers interruptible
- Authentication-results: sourceware.org; auth=none
- References: <1438788496-32246-1-git-send-email-gbenson at redhat dot com> <1438788496-32246-3-git-send-email-gbenson at redhat dot com> <55D740D6 dot 9030108 at redhat dot com>
Pedro Alves wrote:
> On 08/05/2015 04:28 PM, Gary Benson wrote:
> > This commit makes it possible to interrupt slow remote file transfers.
> >
> > gdb/ChangeLog:
> >
> > * gdb_bfd.c (gdb_bfd_iovec_fileio_pread): Add QUIT call.
>
> OK.
>
> Hopefully BFD doesn't get corrupted when an exception crosses it.
> If it does, then we'll need to catch all exceptions before returning
> to BFD, and return some "silently abort whatever you're doing"
> error.
Pushed to master and 7.10.
Thanks,
Gary
--
http://gbenson.net/