\input texinfo @c -*-texinfo-*-
-@c Copyright 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999
+@c Copyright 1988-1999
@c Free Software Foundation, Inc.
@c
@c %**start of header
of @cite{Debugging with @value{GDBN}: the @sc{gnu} Source-Level Debugger}
for @value{GDBN} Version @value{GDBVN}.
-Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
-Free Software Foundation, Inc.
+Copyright (C) 1988-1999 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
\hfill (Send bugs and comments on @value{GDBN} to bug-gdb\@prep.ai.mit.edu.)\par
\hfill {\it Debugging with @value{GDBN}}\par
\hfill \TeX{}info \texinfoversion\par
-\hfill doc\@cygnus.com\par
}
@end tex
@end ifclear
@end ifset
@vskip 0pt plus 1filll
-Copyright @copyright{} 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
-Free Software Foundation, Inc.
+Copyright @copyright{} 1988-1999 Free Software Foundation, Inc.
@sp 2
@ifclear HPPA
Published by the Free Software Foundation @*
This is the @value{EDITION} Edition, @value{DATE}, for @value{GDBN} Version
@value{GDBVN}.
-Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1998, 1999
-Free Software Foundation, Inc.
+Copyright (C) 1988-1999 Free Software Foundation, Inc.
@menu
* Summary:: Summary of @value{GDBN}
@ifclear BARETARGET
* Backtrace:: Backtraces
* Selection:: Selecting a frame
* Frame Info:: Information on a frame
-@ifset MIPS
-* MIPS Stack:: MIPS machines and the function stack
-@end ifset
+* Alpha/MIPS Stack:: Alpha and MIPS machines and the function stack
Examining Source Files
@end quotation
So that they may not regard their long labor as thankless, we
-particularly thank those who shepherded GDB through major releases:
+particularly thank those who shepherded @value{GDBN} through major
+releases:
+Jason Molenda (release 4.17),
Stan Shebs (release 4.14),
-Fred Fish (releases 4.13, 4.12, 4.11, 4.10, and 4.9),
+Fred Fish (releases 4.16, 4.15, 4.13, 4.12, 4.11, 4.10, and 4.9),
Stu Grossman and John Gilmore (releases 4.8, 4.7, 4.6, 4.5, and 4.4),
John Gilmore (releases 4.3, 4.2, 4.1, 4.0, and 3.9);
Jim Kingdon (releases 3.5, 3.4, and 3.3);
and Randy Smith (releases 3.2, 3.1, and 3.0).
-As major maintainer of @value{GDBN} for some period, each
-contributed significantly to the structure, stability, and capabilities
-of the entire debugger.
+As major maintainer of @value{GDBN} for some period, each contributed
+significantly to the structure, stability, and capabilities of the
+entire debugger.
Richard Stallman, assisted at various times by Peter TerMaat, Chris
Hanson, and Richard Mlynarik, handled releases through 2.8.
There is absolutely no warranty for @value{GDBN}; type "show warranty"
for details.
-@value{GDBN} @value{GDBVN}, Copyright 1995 Free Software Foundation, Inc...
+@value{GDBN} @value{GDBVN}, Copyright 1999 Free Software Foundation, Inc...
(@value{GDBP})
@end smallexample
@end ifclear
* Backtrace:: Backtraces
* Selection:: Selecting a frame
* Frame Info:: Information on a frame
-@ifset MIPS
-* MIPS Stack:: MIPS machines and the function stack
-@end ifset
+* Alpha/MIPS Stack:: Alpha and MIPS machines and the function stack
@end menu
distracting.
@end table
-@ifset MIPS
-@node Frame Info, MIPS Stack, Selection, Stack
-@section Information about a frame
-@end ifset
-@ifclear MIPS
-@node Frame Info, , Selection, Stack
+@node Frame Info, Alpha/MIPS Stack, Selection, Stack
@section Information about a frame
-@end ifclear
There are several other commands to print information about the selected
stack frame.
@end ifclear
@end table
-@ifset MIPS
-@node MIPS Stack, , Frame Info, Stack
-@section MIPS machines and the function stack
+@node Alpha/MIPS Stack, , Frame Info, Stack
+@section MIPS/Alpha machines and the function stack
+@cindex stack on Alpha
@cindex stack on MIPS
+@cindex Alpha stack
@cindex MIPS stack
-MIPS based computers use an unusual stack frame, which sometimes
-requires @value{GDBN} to search backward in the object code to find the
-beginning of a function.
+Alpha- and MIPS-based computers use an unusual stack frame, which
+sometimes requires @value{GDBN} to search backward in the object code to
+find the beginning of a function.
@cindex response time, MIPS debugging
To improve response time (especially for embedded applications, where
commands:
@table @code
-@cindex @code{heuristic-fence-post} (MIPS)
+@cindex @code{heuristic-fence-post} (Alpha,MIPS)
@item set heuristic-fence-post @var{limit}
Restrict @value{GDBN} to examining at most @var{limit} bytes in its search
for the beginning of a function. A value of @var{0} (the default)
@noindent
These commands are available @emph{only} when @value{GDBN} is configured
-for debugging programs on MIPS processors.
-@end ifset
+for debugging programs on Alpha or MIPS processors.
+
@node Source, Data, Stack, Top
@chapter Examining Source Files
@end table
In addition, you may set the language associated with a filename
-extension.
-
-@kindex set extensions
-@kindex show extensions
-@table @code
-@item set extension-language @var{.ext} @var{language}
-
-@item info extensions
-
-@end table
+extension. @xref{Show, , Displaying the language}.
@node Manually, Automatically, Filenames, Setting
@subsection Setting the working language
@kindex set extension-language
@kindex info extensions
@table @code
-@item set extension-language @var{ext} @var{language}
-Set source files with extension @var{ext} to be assumed to be in
+@item set extension-language @var{.ext} @var{language}
+Set source files with extension @var{.ext} to be assumed to be in
the source language @var{language}.
@item info extensions
@end ifclear
@end table
+@ifset GENERIC
+Different targets are available on different configurations of @value{GDBN};
+your configuration may have more or fewer targets.
+@end ifset
+
Many remote targets require you to download the executable's code
once you've successfully established a connection.
@code{load} does not repeat if you press @key{RET} again after using it.
@end table
-@ifset GENERIC
-Different targets are available on different configurations of @value{GDBN};
-your configuration may have more or fewer targets.
-@end ifset
-
@ifset REMOTESTUB
@node Byte Order, Remote, Target Commands, Targets
@section Choosing target byte order
@table @code
@kindex set endian big
@item set endian big
+Instruct @value{GDBN} to assume the target is big-endian.
@kindex set endian little
@item set endian little
+Instruct @value{GDBN} to assume the target is little-endian.
@kindex set endian auto
@item set endian auto
formatting commands to create the on-line version of the documentation
and @TeX{} (or @code{texi2roff}) to typeset the printed version.
-@value{GDBN} includes an already formatted copy of the on-line Info version of
-this manual in the @file{gdb} subdirectory. The main Info file is
-@file{gdb-@r{version-number}/gdb/gdb.info}, and it refers to
+@value{GDBN} includes an already formatted copy of the on-line Info
+version of this manual in the @file{gdb} subdirectory. The main Info
+file is @file{gdb-@value{GDBVN}/gdb/gdb.info}, and it refers to
subordinate files matching @samp{gdb.info*} in the same directory. If
necessary, you can print out these files, or read them with any editor;
-but they are easier to read using the @code{info} subsystem in @sc{gnu} Emacs
-or the standalone @code{info} program, available as part of the @sc{gnu}
-Texinfo distribution.
+but they are easier to read using the @code{info} subsystem in @sc{gnu}
+Emacs or the standalone @code{info} program, available as part of the
+@sc{gnu} Texinfo distribution.
If you want to format these Info files yourself, you need one of the
Info formatting programs, such as @code{texinfo-format-buffer} or
@code{makeinfo}.
-If you have @code{makeinfo} installed, and are in the top level @value{GDBN}
-source directory (@file{gdb-@value{GDBVN}}, in the case of version @value{GDBVN}), you can
-make the Info file by typing:
+If you have @code{makeinfo} installed, and are in the top level
+@value{GDBN} source directory (@file{gdb-@value{GDBVN}}, in the case of
+version @value{GDBVN}), you can make the Info file by typing:
@example
cd gdb
If you have @TeX{} and a @sc{dvi} printer program installed, you can
typeset and print this manual. First switch to the the @file{gdb}
subdirectory of the main source directory (for example, to
-@file{gdb-@value{GDBVN}/gdb}) and then type:
+@file{gdb-@value{GDBVN}/gdb}) and type:
@example
make gdb.dvi
@end example
+
+Then give @file{gdb.dvi} to your @sc{dvi} printing program.
@end ifclear
@node Installing GDB, Index, Using History Interactively, Top