This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/2] Better handling of slow remote transfers
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Gary Benson <gbenson at redhat dot com>
- Cc: Doug Evans <dje at google dot com>, Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches <gdb-patches at sourceware dot org>, Sandra Loosemore <sandra at codesourcery dot com>, Pedro Alves <palves at redhat dot com>, André Pönitz <apoenitz at t-online dot de>, Paul Koning <Paul_Koning at dell dot com>
- Date: Fri, 14 Aug 2015 11:26:48 -0700
- Subject: Re: [PATCH 0/2] Better handling of slow remote transfers
- Authentication-results: sourceware.org; auth=none
- References: <001a11c301b0388ac5051d0c5ab8 at google dot com> <20150811185519 dot GA28644 at host1 dot jankratochvil dot net> <CADPb22TM42jGif4PqOgpvDxb7RhzS=vBgGJijcB7h9-3rCbH7A at mail dot gmail dot com> <20150811195943 dot GC22245 at adacore dot com> <20150812094831 dot GD11096 at blade dot nx>
> If we are to reset the default sysroot to "" then please consider the
> series I posted that added the auto-target-prefix functionality:
>
> https://sourceware.org/ml/gdb-patches/2015-07/msg00828.html
>
> With these patches the "target:" prefix is only enabled if the user
> does "target remote" with no sysroot or file specified, a case that
> in 7.9 would result in a debug session with no symbols.
Trying to summarize where we are, right now:
1. Part of the discussion was about trying to figure out why
C-c would not interrupt file transfers midway through;
2. Before that, there was some discussion about whether or not
we should transfer all files in the case where the no
executable was provided and sysroot is empty.
I'm unclear whether this part was generally accepted or not.
I have a feeling that having (1) resolved would go a long way
towards accepting (2).
That being said, I understand Pedro's concerns regarding adding
this extra logic that late in the game, even if it is fairly simple.
But if he or others agree with it, then I would be fine with it too.
It does seem to only affect a corner case.
--
Joel