This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] Make remote file transfers interruptible
- From: Pedro Alves <palves at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>, gdb-patches at sourceware dot org
- Cc: 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 16:16:38 +0100
- Subject: Re: [PATCH 2/2] 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>
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.
Thanks,
Pedro Alves