PR python/17698 - add Breakpoint.pending
authorTom Tromey <tom@tromey.com>
Thu, 19 May 2016 21:51:00 +0000 (15:51 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 13 Jul 2016 19:21:00 +0000 (13:21 -0600)
commit93daf339a4d9496ecde15d3b1e852fbdb38c07d0
tree6d1b762e04a3b9cbd963284be33ccfdb7c3f9249
parent43684a7b844bce64735940b55b667f7086fa3d44
PR python/17698 - add Breakpoint.pending

This patch adds a "pending" attribute to gdb.Breakpoint.

Built and regtested on x86-64 Fedora 23.

2016-07-13  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-07-13  Tom Tromey  <tom@tromey.com>

PR python/17698:
* python.texi (Breakpoints In Python): Document
Breakpoint.pending.

2016-07-13  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.
gdb/ChangeLog
gdb/NEWS
gdb/breakpoint.c
gdb/breakpoint.h
gdb/doc/ChangeLog
gdb/doc/python.texi
gdb/python/py-breakpoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-breakpoint.exp
This page took 0.031134 seconds and 4 git commands to generate.