Small fixes to the Python API doc
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 20 Oct 2014 17:29:36 +0000 (13:29 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 20 Oct 2014 17:29:36 +0000 (13:29 -0400)
commitfab3a15dfb4255e9d5a79536518ccdbed4e66e23
treed36b7a6fff5cb0567b37a519bd54a3f4d616642c
parent092f880b8e4cacee96e85a885c206e8879e86fec
Small fixes to the Python API doc

First:
"Breakpoint.delete" is missing parenthesis.

Second:
Someone on IRC asked, how come there is no disable() method in the
Breakpoint object.  It turns out you have to do "bp.enabled = False".
Since every normal person would probably search for "disable" in that page
if their intent is to disable a python breakpoint, I thought it would be
useful if the description contained "disable" so it would be easy to find.
The result might seem a bit silly and redundant, so I am open to
suggestions.

gdb/doc/ChangeLog:

* python.texi (Breakpoints In Python): Add parenthesis after
Breakpoint.delete.  Clarify Breakpoint.enabled description so
that it contains "disable".
gdb/doc/ChangeLog
gdb/doc/python.texi
This page took 0.024154 seconds and 4 git commands to generate.