aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorPhil Muldoon <pmuldoon@redhat.com>2011-10-07 13:23:18 +0000
committerPhil Muldoon <pmuldoon@redhat.com>2011-10-07 13:23:18 +0000
commit99f5279d98ee8a89fec3b4b20cee8b3c6eb7cc87 (patch)
tree5f8717c0048df5d8ffc744c21dff71ba55f60e61 /gdb/doc
parent03583c206f350870e077f4e112f83b3c4bdd0b27 (diff)
downloadgdb-99f5279d98ee8a89fec3b4b20cee8b3c6eb7cc87.zip
gdb-99f5279d98ee8a89fec3b4b20cee8b3c6eb7cc87.tar.gz
gdb-99f5279d98ee8a89fec3b4b20cee8b3c6eb7cc87.tar.bz2
2011-10-07 Phil Muldoon <pmuldoon@redhat.com>
PR python/12930 PR python/12802 * gdb.texinfo (Breakpoints In Python): Clarify behavior in the stop method.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog8
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 398f347..a59fa34 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,11 @@
+2011-10-07 Phil Muldoon <pmuldoon@redhat.com>
+
+ PR python/12930
+ PR python/12802
+
+ * gdb.texinfo (Breakpoints In Python): Clarify behavior in the
+ stop method.
+
2011-10-07 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.texinfo (Starting your Program): "set disable-randomization"
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 26f6216..bb6e43c 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