diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 474c1af479..f1b2329d38 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2014-10-20 Simon Marchi + + * python.texi (Breakpoints In Python): Add parenthesis after + Breakpoint.delete. Clarify Breakpoint.enabled description so + that it contains "disable". + 2014-10-17 Doug Evans * python.texi (Events In Python): Document clear_objfiles event. diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 43663d8b44..f1fd841bf9 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -4265,7 +4265,7 @@ watchpoint scope, the watchpoint remains valid even if execution of the inferior leaves the scope of that watchpoint. @end defun -@defun Breakpoint.delete +@defun Breakpoint.delete () Permanently deletes the @value{GDBN} breakpoint. This also invalidates the Python @code{Breakpoint} object. Any further access to this object's attributes or methods will raise an error. @@ -4273,7 +4273,8 @@ to this object's attributes or methods will raise an error. @defvar Breakpoint.enabled This attribute is @code{True} if the breakpoint is enabled, and -@code{False} otherwise. This attribute is writable. +@code{False} otherwise. This attribute is writable. You can use it to enable +or disable the breakpoint. @end defvar @defvar Breakpoint.silent