This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Upload TSVs in extend-remote mode
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 25 Jun 2013 15:16:20 +0100
- Subject: Re: [PATCH] Upload TSVs in extend-remote mode
- References: <1371636174-9822-1-git-send-email-yao at codesourcery dot com> <51C34B4A dot 7000606 at redhat dot com> <51C50AAC dot 70305 at codesourcery dot com> <51C864CD dot 5080008 at redhat dot com> <51C994D7 dot 40603 at codesourcery dot com>
On 06/25/2013 02:02 PM, Yao Qi wrote:
> On 06/24/2013 11:25 PM, Pedro Alves wrote:
>> update the board file. I'd suggest in the same vein, making ".*${tsv}.*"
>> less lax. Otherwise, I'm afraid this is the sort of board setting that
>> will just go silently unnoticed.
>
> I think about making the regexp less lax, but run out of ideas. Users
> can set a regexp in gdb,predefined_tsv if their targets has multiple
> predfined tsvs, for example, there are two predefined tsvs "$foo" and
> "$bar", and this line can be written in the board file,
>
> set_board_info gdb,predefined_tsv "\\\$foo.*\\\$bar"
>
> so it is hard to make ".*${tsv}.*" more strict, afaik.
Well, it'd be the board writer's responsibility to only do
that if he wanted to be lax, but I don't think this is that
important. Fine with me as is.
Thanks!
--
Pedro Alves