This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Handle multiple breakpoint hits in Python interface
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Kevin Pouget <kevin dot pouget at gmail dot com>
- Cc: tromey at redhat dot com, gdb-patches at sourceware dot org
- Date: Thu, 01 Sep 2011 06:12:30 -0400
- Subject: Re: [PATCH] Handle multiple breakpoint hits in Python interface
- References: <BANLkTik-ffBpfx4BALF5+Y0xSx_NnaCs7g@mail.gmail.com> <BANLkTinWAR40Fp5TsPubiucTOKygJHHZsw@mail.gmail.com> <m3d3jea6ak.fsf@fleche.redhat.com> <BANLkTik0q4iqSUH9B9ue=0uHzbJqjv32yA@mail.gmail.com> <m3zkm7ucrb.fsf@fleche.redhat.com> <BANLkTi=TJNb57D_UkmPW-ZGfYVaRqGE5=w@mail.gmail.com> <E1QQxDK-0007FP-T4@fencepost.gnu.org> <BANLkTikPMgQ9fwKBcv7zuWHm7mf=hAP86w@mail.gmail.com> <m3aaap79pt.fsf@fleche.redhat.com> <CAPftXULfb=M0qzO5tYhE_7+Qo6xj62tAT9xeS6tNdMnFepoyTw@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Kevin Pouget <kevin.pouget@gmail.com>
> Date: Thu, 1 Sep 2011 10:35:42 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sourceware.org
>
> + ** The "gdb.breakpoint" function has been deprecated and in favor of
> + "gdb.breakpoints".
Without the "and", this is okay.
> +@code{gdb.BreakpointEvent} event indicates that one or several breakpoints have
^^^^^^^^^^^^^^
"one or more"
> +@defivar BreakpointEvent breakpoints
> +A sequence containing references to all the breakpoints (type
> +@code{gdb.Breakpoint}) that were hit.
> @xref{Breakpoints In Python}, for details of the @code{gdb.Breakpoint} object.
> +@defivar BreakpointEvent breakpoint
This cannot be right: each @defivar should end with the corresponding
"@end defivar". Didn't makeinfo bitch at you?
> +A reference to the first breakpoint that was hit of type @code{gdb.Breakpoint}.
As opposed to what? watchpoints, catchpoints etc.? IOW, why do you
need to mention the type issue?
Thanks.