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

Joel Brobecker
2015-08-14T18:26:53Z

> 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