This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Support temporary breakpoints in runto_main.
- From: Pedro Alves <palves at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 22 May 2013 11:03:58 +0100
- Subject: Re: [RFC] Support temporary breakpoints in runto_main.
- References: <yjt2obc3c06n dot fsf at ruffy2 dot mtv dot corp dot google dot com> <20892 dot 29958 dot 954822 dot 19459 at ruffy2 dot mtv dot corp dot google dot com>
On 05/22/2013 08:34 AM, Doug Evans wrote:
> 2013-05-21 Doug Evans <dje@google.com>
>
> * lib/gdb.exp (gdb_breakpoint): New option "permanent".
> (runto): Ditto.
> (runto_main): New argument "args".
This is fine with me, though it's a bit unfortunate that "permanent breakpoint"
has some other meaning in GDB. It means a breakpoint already planted in the
target without GDB involvement, one that GDB can't insert or remove.
I can't imagine many options left, so I'd suggest "temporary" vs
"no-temporary"/"non-temporary"...
--
Pedro Alves