Re: ping: Re: PATCH : allow to set length of hw watchpoints (e.g. for Valgrind gdbserver)

Pedro Alves
2011-05-27T17:59:11Z

On Friday 27 May 2011 18:53:19, Tom Tromey wrote:
> >>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
>
> Yao> Maybe, we need a new target `remote-valgrind' here, and move your
> Yao> stuff there.
>
> We discussed this a bit (last year?), but Pedro was against adding a new
> target. I don't recall why; I would like to know though.

It was in a different context (some target where endianess matters
depending on whether you're reading code or something else), but the
reasons are the same. There's no need for one, and it adds to
user confusion, and IDE complication. If the remote target needs
to behave differently against some remote stub, that calls
for the remote end giving gdb enough information for gdb to
adjust itself automatically.

I can't say I understand why was that being proposed in this case?
What is the patch breaking?

--
Pedro Alves