This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Upload TSVs in extend-remote mode


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]