This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 3/3] PR python/17698 - add Breakpoint.pending
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Fri, 20 May 2016 15:29:36 +0100
- Subject: Re: [RFA 3/3] PR python/17698 - add Breakpoint.pending
- Authentication-results: sourceware.org; auth=none
- References: <1463695563-4130-1-git-send-email-tom at tromey dot com> <1463695563-4130-4-git-send-email-tom at tromey dot com>
On 19/05/16 23:06, Tom Tromey wrote:
> This patch adds a "pending" attribute to gdb.Breakpoint.
>
> Built and regtested on x86-64 Fedora 23.
>
> 2016-05-19 Tom Tromey <tom@tromey.com>
>
> PR python/17698:
> * NEWS: Update.
> * python/py-breakpoint.c (bppy_get_pending): New function.
> (breakpoint_object_getset): Add entry for "pending".
> * breakpoint.h (pending_breakpoint_p): Declare.
> * breakpoint.c (pending_breakpoint_p): New function.
>
> 2016-05-19 Tom Tromey <tom@tromey.com>
>
> PR python/17698:
> * python.texi (Breakpoints In Python): Document
> Breakpoint.pending.
>
> 2016-05-19 Tom Tromey <tom@tromey.com>
>
> PR python/17698:
> * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
> test.
> (test_watchpoints): Likewise.
> (test_bkpt_pending): New proc.
Looks good to me!
Cheers
Phil