* gdb.texinfo: Fix typo, $bpnum is set to last breakpoint number.
[binutils-gdb.git] / gdb / doc / gdb.texinfo
index 4f182a2b6f7c43a8b8476da14492c14e4af47d20..1f4e95ec6281bdbdba9d42ec27e726c41fae19e6 100644 (file)
 @syncodeindex ky cp
 
 @c readline appendices use @vindex, @findex and @ftable,
-@c annotate.texi uses @findex.
+@c annotate.texi and gdbmi use @findex.
 @syncodeindex vr cp
 @syncodeindex fn cp
 
-@c gdbmi uses @findex
-@syncodeindex fn cp
-
 @c !!set GDB manual's edition---not the same as GDB version!
 @set EDITION Eighth
 
@@ -80,7 +77,7 @@ into another language, under the above conditions for modified versions.
 @sp 1
 @subtitle @value{EDITION} Edition, for @value{GDBN} version @value{GDBVN}
 @subtitle @value{DATE}
-@author Richard Stallman, Roland Pesch, Stan Shebs, et.al.
+@author Richard Stallman, Roland Pesch, Stan Shebs, et al.
 @page
 @tex
 {\parskip=0pt
@@ -209,6 +206,11 @@ Copyright (C) 1988-2000 Free Software Foundation, Inc.
 
 @end ifhtml
 
+@c TeX can handle the contents at the start but makeinfo 3.12 can not
+@iftex
+@contents
+@end iftex
+
 @node Summary
 @unnumbered Summary of @value{GDBN}
 
@@ -2322,7 +2324,7 @@ all breakpoint in that range are operated on.
 @cindex latest breakpoint
 Breakpoints are set with the @code{break} command (abbreviated
 @code{b}).  The debugger convenience variable @samp{$bpnum} records the
-number of the breakpoints you've set most recently; see @ref{Convenience
+number of the breakpoint you've set most recently; see @ref{Convenience
 Vars,, Convenience variables}, for a discussion of what you can do with
 convenience variables.
 
@@ -12877,5 +12879,12 @@ needed for special purposes only.
 % Blame: doc@cygnus.com, 1991.
 @end tex
 
+@c TeX can handle the contents at the start but makeinfo 3.12 can not
+@ifinfo
+@contents
+@end ifinfo
+@ifhtml
 @contents
+@end ifhtml
+
 @bye