This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Extend gdb.Breakpoint to allow setting a breakpoint at the current execution address
- From: Tom Tromey <tromey at redhat dot com>
- To: Siva Chandra <sivachandra at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 07 May 2012 12:56:28 -0600
- Subject: Re: [RFC] Extend gdb.Breakpoint to allow setting a breakpoint at the current execution address
- References: <CAGyQ6gwgaeptA6-C3-WFC6+1t_DW4pVc+pgJbQbAcZo=+SQ=bQ@mail.gmail.com> <878vhh5gk8.fsf@fleche.redhat.com> <CAGyQ6gw0pRymm0aX2p4JuvTZra32DCi+wVO-Uk=rmbr-gv3new@mail.gmail.com>
>>>>> "Siva" == Siva Chandra <sivachandra@google.com> writes:
Siva> Since gdb.Frame.pc works for me, I can drop this patch unless you feel
Siva> it adds a "good-to-have".
I think I'd prefer not to have it.
To me, this functionality seems like it is possibly useful from the CLI,
but for scripting it is simpler and clearer to just write out the full
expression.
Tom