fix grammar oddity in the manual
authorTom Tromey <tromey@redhat.com>
Thu, 14 Nov 2013 21:03:06 +0000 (14:03 -0700)
committerTom Tromey <tromey@redhat.com>
Thu, 14 Nov 2013 21:03:06 +0000 (14:03 -0700)
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".

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 6ffdefa..0dc75cd 100644 (file)
@@ -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.
index a164785..c2dfa17 100644 (file)
@@ -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