This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch] Mechanism for board files to set default remotetimeout
- From: Pedro Alves <palves at redhat dot com>
- To: Sterling Augustine <saugustine at google dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 03 Jun 2013 12:09:26 +0100
- Subject: Re: [Patch] Mechanism for board files to set default remotetimeout
- References: <CAEG7qUxhokN487WsVXgQsRj5MGv-mPw8D2WB9oT7dYRBmA3UMw at mail dot gmail dot com> <51A877BD dot 4020804 at redhat dot com> <CAEG7qUxVaxn_J7G1jhUZFryK6ekoxaYZoLfGR8+Ke5y_m0HSgA at mail dot gmail dot com> <51AC7565 dot 9070400 at redhat dot com>
On 06/03/2013 11:52 AM, Pedro Alves wrote:
> That's always nice, thanks.
>
> Note however, given "-ex", you don't even need the special -l switch.
>
> This
>
> gdb -ex "set remotetimeout xxx"
>
> works just as fine. So you can do this from the command line:
>
> $ make check RUNTESTFLAGS="GDBFLAGS='-ex set\ remotetimeout\ 1000'"
>
> Or, for example, this is a board file I have for testing
> GDB in different modes:
Added this info to the wiki, in:
http://sourceware.org/gdb/wiki/TestingGDB
--
Pedro Alves