@cindex command line editing
@cindex history substitution
GDB reads its input commands via the @code{readline} interface. This
-GNU library provides consistant behaviour for programs which provide a
+GNU library provides consistent behavior for programs which provide a
command line interface to the user. Advantages are @samp{emacs}-style
or @samp{vi}-style inline editing of commands, @samp{csh}-like history
substitution, and a storage and recall of command history across
used as the core dump file name. Thus,
@example
-gdb progm core
+gdb program core
@end example
@noindent
-specifies @file{progm} as the executable program and @file{core} as a core
+specifies @file{program} as the executable program and @file{core} as a core
dump file to examine. (You do not need to have a core dump file if what
you plan to do is debug the program interactively.)
Show whether C++ virtual function tables are pretty printed, or not.
@item set addressprint
-@item set adressprint on
+@item set addressprint on
@kindex set addressprint
GDB will print memory addresses in stack traces and structure values.
The default is on.
surrounding the program counter of the selected frame. A single
argument to this command is a program counter value; the function
surrounding this value will be dumped. Two arguments (separated by one
-or more spaces) specify a range of addresss (first inclusive, second
+or more spaces) specify a range of addresses (first inclusive, second
exclusive) to be dumped.
@kindex x
the value of the assignment expression (which is 4).
All the assignment operators of C are supported, including the
-incrementation operators @samp{++} and @samp{--}, and combining
+increment operators @samp{++} and @samp{--}, and combining
assignments such as @samp{+=} and @samp{<<=}.
@kindex set
commands and input them again; you can even use parts of the output
in this way.
-All the facilities of Emacs's Shell mode are available for this purpose.
+All the facilities of Emacs' Shell mode are available for this purpose.
@item
GDB displays source code through Emacs. Each time GDB displays a