Re: [PATCH 0/2] Better handling of slow remote transfers

Sandra Loosemore
2015-08-14T22:26:46Z

On 08/14/2015 12:26 PM, Joel Brobecker wrote:
>> 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.

It actually looks to me like we are not any closer to having this
resolved than we were at the beginning of the week. Gary's last patch
for ^C handling didn't work for me and he said he is out of ideas. I am
willing to try out patches, but I'm really swamped with other tasks
right now as well as being totally unfamiliar with the internals of this
code, so it's not reasonable to think I could fix this myself in time
for the 7.10 release. And AFAIK nobody else is working on this either. :-(

-Sandra