From: Phil Muldoon Date: Fri, 7 Oct 2011 13:23:18 +0000 (+0000) Subject: 2011-10-07 Phil Muldoon X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99f5279d98ee8a89fec3b4b20cee8b3c6eb7cc87;p=binutils-gdb.git 2011-10-07 Phil Muldoon PR python/12930 PR python/12802 * gdb.texinfo (Breakpoints In Python): Clarify behavior in the stop method. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 398f3472148..a59fa34f84d 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,11 @@ +2011-10-07 Phil Muldoon + + PR python/12930 + PR python/12802 + + * gdb.texinfo (Breakpoints In Python): Clarify behavior in the + stop method. + 2011-10-07 Ulrich Weigand * gdb.texinfo (Starting your Program): "set disable-randomization" diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 26f6216eb86..bb6e43c4414 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -23567,6 +23567,12 @@ methods have a chance to execute at that location. In this scenario if one of the methods returns @code{True} but the others return @code{False}, the inferior will still be stopped. +You should not alter the execution state of the inferior (i.e.@:, step, +next, etc.), alter the current frame context (i.e.@:, change the current +active frame), or alter, add or delete any breakpoint. As a general +rule, you should not alter any data within @value{GDBN} or the inferior +at this time. + Example @code{stop} implementation: @smallexample