aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-11-14 14:03:06 -0700
committerTom Tromey <tromey@redhat.com>2013-11-14 14:03:06 -0700
commit8fe1b6533885f19680a2fbd827cb677c2e3c68ac (patch)
treeb5cdd623289bb2f0da427a0b4d764dda3ce263c5 /gdb/doc
parent36fa80421a9edbf97fc6081557509937bc717bc1 (diff)
downloadgdb-8fe1b6533885f19680a2fbd827cb677c2e3c68ac.zip
gdb-8fe1b6533885f19680a2fbd827cb677c2e3c68ac.tar.gz
gdb-8fe1b6533885f19680a2fbd827cb677c2e3c68ac.tar.bz2
fix grammar oddity in the manual
This patch fixes a buglet in the manual. It's wrong to say that a method is defined "as" a subclass. Instead it should say that a method is defined "in" a subclass. I'm checking this in under the obvious rule. 2013-11-14 Tom Tromey <tromey@redhat.com> * gdb.texinfo (Breakpoints In Python): Replace "as" with "in".
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 6ffdefa..0dc75cd 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-14 Tom Tromey <tromey@redhat.com>
+
+ * gdb.texinfo (Breakpoints In Python): Replace "as" with "in".
+
2013-11-14 Joel Brobecker <brobecker@adacore.com>
* gdb.texinfo (Show): Add xref anchor for "show language" command.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index a164785..c2dfa17 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -27184,7 +27184,7 @@ is assumed to be a @code{gdb.WP_WRITE} class.
@defun Breakpoint.stop (self)
The @code{gdb.Breakpoint} class can be sub-classed and, in
particular, you may choose to implement the @code{stop} method.
-If this method is defined as a sub-class of @code{gdb.Breakpoint},
+If this method is defined in a sub-class of @code{gdb.Breakpoint},
it will be called when the inferior reaches any location of a
breakpoint which instantiates that sub-class. If the method returns
@code{True}, the inferior will be stopped at the location of the