More conditional markup so HMS (Hitachi) can have the configuration

of their dreams.
This commit is contained in:
Roland Pesch
1992-09-21 17:27:34 +00:00
parent 88a29612cc
commit 0f153e7446
6 changed files with 148 additions and 62 deletions

View File

@ -7,8 +7,9 @@ _define__(<_BOUT__>,<1>)
_define__(<_COFF__>,<1>) _define__(<_COFF__>,<1>)
_define__(<_ELF__>,<1>) _define__(<_ELF__>,<1>)
_define__(<_REMOTESTUB__>,<1>)
_define__(<_AMD29K__>,<1>) _define__(<_AMD29K__>,<1>)
_define__(<_H8__>,<1>) Include this when it's stable. _define__(<_H8__>,<1>)
_define__(<_I80386__>,<1>) _define__(<_I80386__>,<1>)
_define__(<_I960__>,<1>) _define__(<_I960__>,<1>)
_define__(<_M680X0__>,<1>) _define__(<_M680X0__>,<1>)

View File

@ -152,7 +152,9 @@ This is Edition 4.06, July 1992, for GDB Version _GDB_VN__.
_if__(_GENERIC__ || !_H8__) _if__(_GENERIC__ || !_H8__)
* New Features:: New features since GDB version 3.5 * New Features:: New features since GDB version 3.5
_fi__(_GENERIC__ || !_H8__) _fi__(_GENERIC__ || !_H8__)
_if__(!_BARE__)
* Sample Session:: A sample _GDBN__ session * Sample Session:: A sample _GDBN__ session
_fi__(!_BARE__)
* Invocation:: Getting in and out of _GDBN__ * Invocation:: Getting in and out of _GDBN__
* Commands:: _GDBN__ commands * Commands:: _GDBN__ commands
* Running:: Running programs under _GDBN__ * Running:: Running programs under _GDBN__
@ -210,8 +212,10 @@ Change things in your program, so you can experiment with correcting the
effects of one bug and go on to learn about another. effects of one bug and go on to learn about another.
@end itemize @end itemize
_if__(!_CONLY__)
You can use _GDBN__ to debug programs written in C, C++, and Modula-2. You can use _GDBN__ to debug programs written in C, C++, and Modula-2.
Fortran support will be added when a GNU Fortran compiler is ready. Fortran support will be added when a GNU Fortran compiler is ready.
_fi__(!_CONLY__)
@menu @menu
* Free Software:: Free Software * Free Software:: Free Software
@ -233,7 +237,9 @@ Fundamentally, the General Public License is a license which says that
you have these freedoms and that you cannot take these freedoms away you have these freedoms and that you cannot take these freedoms away
from anyone else. from anyone else.
_if__(!_AGGLOMERATION__)
For full details, @pxref{Copying, ,GNU GENERAL PUBLIC LICENSE}. For full details, @pxref{Copying, ,GNU GENERAL PUBLIC LICENSE}.
_fi__(!_AGGLOMERATION__)
@node Contributors @node Contributors
@unnumberedsec Contributors to GDB @unnumberedsec Contributors to GDB
@ -398,6 +404,7 @@ support.
@end table @end table
_fi__(_GENERIC__ || !_H8__) _fi__(_GENERIC__ || !_H8__)
_if__(!_BARE__)
@node Sample Session @node Sample Session
@chapter A Sample _GDBN__ Session @chapter A Sample _GDBN__ Session
@ -666,6 +673,7 @@ session with the _GDBN__ @code{quit} command.
@smallexample @smallexample
(_GDBP__) @b{quit} (_GDBP__) @b{quit}
_1__@end smallexample _1__@end smallexample
_fi__(!_BARE__)
@node Invocation @node Invocation
@chapter Getting In and Out of _GDBN__ @chapter Getting In and Out of _GDBN__
@ -1110,9 +1118,13 @@ command.
If you just want to see the list of alternatives in the first place, you If you just want to see the list of alternatives in the first place, you
can press @kbd{M-?} rather than pressing @key{TAB} twice. @kbd{M-?} can press @kbd{M-?} rather than pressing @key{TAB} twice. @kbd{M-?}
means @kbd{@key{META} ?}. You can type this either by holding down a means @kbd{@key{META} ?}. You can type this
_if__(_GENERIC__||!_DOSHOST__)
either by holding down a
key designated as the @key{META} shift on your keyboard (if there is key designated as the @key{META} shift on your keyboard (if there is
one) while typing @kbd{?}, or by typing @key{ESC} followed by @kbd{?}. one) while typing @kbd{?}, or
_fi__(_GENERIC__||!_DOSHOST__)
as @key{ESC} followed by @kbd{?}.
@cindex quotes in commands @cindex quotes in commands
@cindex completion of quoted strings @cindex completion of quoted strings
@ -1757,7 +1769,12 @@ running or not, what process it is, and why it stopped.
@end table @end table
@menu @menu
_if__(!_CONLY__)
* Breakpoints:: Breakpoints, Watchpoints, and Exceptions * Breakpoints:: Breakpoints, Watchpoints, and Exceptions
_fi__(!_CONLY__)
_if__(_CONLY__)
* Breakpoints:: Breakpoints and Watchpoints
_fi__(_CONLY__)
* Continuing and Stepping:: Resuming Execution * Continuing and Stepping:: Resuming Execution
_if__(_GENERIC__ || !_H8__) _if__(_GENERIC__ || !_H8__)
* Signals:: Signals * Signals:: Signals
@ -1765,7 +1782,12 @@ _fi__(_GENERIC__ || !_H8__)
@end menu @end menu
@node Breakpoints @node Breakpoints
_if__(!_CONLY__)
@section Breakpoints, Watchpoints, and Exceptions @section Breakpoints, Watchpoints, and Exceptions
_fi__(!_CONLY__)
_if__(_CONLY__)
@section Breakpoints and Watchpoints
_fi__(_CONLY__)
@cindex breakpoints @cindex breakpoints
A @dfn{breakpoint} makes your program stop whenever a certain point in A @dfn{breakpoint} makes your program stop whenever a certain point in
@ -1774,9 +1796,12 @@ conditions to control in finer detail whether your program will stop.
You can set breakpoints with the @code{break} command and its variants You can set breakpoints with the @code{break} command and its variants
(@pxref{Set Breaks, ,Setting Breakpoints}), to specify the place where (@pxref{Set Breaks, ,Setting Breakpoints}), to specify the place where
your program should stop by line number, function name or exact address your program should stop by line number, function name or exact address
in the program. In languages with exception handling (such as GNU in the program.
C++), you can also set breakpoints where an exception is raised _if__(!_CONLY__)
(@pxref{Exception Handling, ,Breakpoints and Exceptions}). In languages with exception handling (such as GNU C++), you can also set
breakpoints where an exception is raised (@pxref{Exception Handling,
,Breakpoints and Exceptions}).
_fi__(!_CONLY__)
@cindex watchpoints @cindex watchpoints
@cindex memory tracing @cindex memory tracing
@ -1832,10 +1857,12 @@ You have several ways to say where the breakpoint should go.
@table @code @table @code
@item break @var{function} @item break @var{function}
Set a breakpoint at entry to function @var{function}. When using source Set a breakpoint at entry to function @var{function}.
languages that permit overloading of symbols, such as C++, _if__(!_CONLY__)
@var{function} may refer to more than one possible place to break. When using source languages that permit overloading of symbols, such as
C++, @var{function} may refer to more than one possible place to break.
@xref{Breakpoint Menus}, for a discussion of that situation. @xref{Breakpoint Menus}, for a discussion of that situation.
_fi__(!_CONLY__)
@item break +@var{offset} @item break +@var{offset}
@itemx break -@var{offset} @itemx break -@var{offset}
@ -1906,9 +1933,11 @@ breakpoints it set. Once these breakpoints are set, they are treated
just like the breakpoints set with the @code{break} command. They can just like the breakpoints set with the @code{break} command. They can
be deleted, disabled, made conditional, etc., in the standard ways. be deleted, disabled, made conditional, etc., in the standard ways.
_if__(!_CONLY__)
When debugging C++ programs, @code{rbreak} is useful for setting When debugging C++ programs, @code{rbreak} is useful for setting
breakpoints on overloaded functions that are not members of any special breakpoints on overloaded functions that are not members of any special
classes. classes.
_fi__(!_CONLY__)
@kindex info breakpoints @kindex info breakpoints
@cindex @code{$_} and @code{info breakpoints} @cindex @code{$_} and @code{info breakpoints}
@ -3533,10 +3562,12 @@ to print a global value of @code{x} defined in @file{f2.c}:
(_GDBP__) p 'f2.c'::x (_GDBP__) p 'f2.c'::x
@end example @end example
_if__(!_CONLY__)
@cindex C++ scope resolution @cindex C++ scope resolution
This use of @samp{::} is very rarely in conflict with the very similar This use of @samp{::} is very rarely in conflict with the very similar
use of the same notation in C++. _GDBN__ also supports use of the C++ use of the same notation in C++. _GDBN__ also supports use of the C++
scope resolution operator in _GDBN__ expressions. scope resolution operator in _GDBN__ expressions.
_fi__(!_CONLY__)
@cindex wrong values @cindex wrong values
@cindex variable values, wrong @cindex variable values, wrong
@ -4705,14 +4736,9 @@ look to these for a language reference or tutorial.
@node C @node C
@subsection C and C++ @subsection C and C++
_fi__(!_CONLY__)
_if__(_CONLY__)
@node C
@chapter C and C++
_fi__(_CONLY__)
@cindex C and C++ @cindex C and C++
@cindex expressions in C or C++ @cindex expressions in C or C++
Since C and C++ are so closely related, many features of _GDBN__ apply Since C and C++ are so closely related, many features of _GDBN__ apply
to both languages. Whenever this is the case, we discuss both languages to both languages. Whenever this is the case, we discuss both languages
together. together.
@ -4724,32 +4750,53 @@ The C++ debugging facilities are jointly implemented by the GNU C++
compiler and _GDBN__. Therefore, to debug your C++ code effectively, compiler and _GDBN__. Therefore, to debug your C++ code effectively,
you must compile your C++ programs with the GNU C++ compiler, you must compile your C++ programs with the GNU C++ compiler,
@code{g++}. @code{g++}.
_fi__(!_CONLY__)
_if__(_CONLY__)
@node C
@chapter C Language Support
@cindex C language
@cindex expressions in C
Information specific to the C language is built into _GDBN__ so that you
can use C expressions while degugging. This also permits _GDBN__ to
output values in a manner consistent with C conventions.
@menu
* C Operators:: C Operators
* C Constants:: C Constants
* Debugging C:: _GDBN__ and C
@end menu
_fi__(_CONLY__)
_if__(!_CONLY__)
@menu @menu
* C Operators:: C and C++ Operators * C Operators:: C and C++ Operators
* C Constants:: C and C++ Constants * C Constants:: C and C++ Constants
* Cplusplus expressions:: C++ Expressions * Cplusplus expressions:: C++ Expressions
_if__(!_CONLY__)
* C Defaults:: Default settings for C and C++ * C Defaults:: Default settings for C and C++
_fi__(!_CONLY__)
* C Checks:: C and C++ Type and Range Checks * C Checks:: C and C++ Type and Range Checks
* Debugging C:: _GDBN__ and C * Debugging C:: _GDBN__ and C
* Debugging C plus plus:: Special features for C++ * Debugging C plus plus:: Special features for C++
@end menu @end menu
_fi__(!_CONLY__)
_if__(!_CONLY__)
@cindex C and C++ operators @cindex C and C++ operators
@node C Operators @node C Operators
_if__(!_CONLY__)
@subsubsection C and C++ Operators @subsubsection C and C++ Operators
_fi__(!_CONLY__) _fi__(!_CONLY__)
_if__(_CONLY__) _if__(_CONLY__)
@section C and C++ Operators @cindex C operators
@node C Operators
@section C Operators
_fi__(_CONLY__) _fi__(_CONLY__)
Operators must be defined on values of specific types. For instance, Operators must be defined on values of specific types. For instance,
@code{+} is defined on numbers, but not on structures. Operators are @code{+} is defined on numbers, but not on structures. Operators are
often defined on groups of types. For the purposes of C and C++, the often defined on groups of types.
following definitions hold:
_if__(!_CONLY__)
For the purposes of C and C++, the following definitions hold:
_fi__(!_CONLY__)
@itemize @bullet @itemize @bullet
@item @item
@ -4818,7 +4865,7 @@ Defined on scalar types. The value of these expressions is 0 for false
and non-zero for true. and non-zero for true.
@item <<@r{, }>> @item <<@r{, }>>
left shift, and right shift. Defined on integral types. left shift, and right shift. Defined on integral types._1__
@item @@ @item @@
The _GDBN__ ``artificial array'' operator (@pxref{Expressions, ,Expressions}). The _GDBN__ ``artificial array'' operator (@pxref{Expressions, ,Expressions}).
@ -4845,11 +4892,13 @@ Pointer dereferencing. Defined on pointer types. Same precedence as
@item & @item &
Address operator. Defined on variables. Same precedence as @code{++}. Address operator. Defined on variables. Same precedence as @code{++}.
_if__(!_CONLY__)
For debugging C++, _GDBN__ implements a use of @samp{&} beyond what's For debugging C++, _GDBN__ implements a use of @samp{&} beyond what's
allowed in the C++ language itself: you can use @samp{&(&@var{ref})} allowed in the C++ language itself: you can use @samp{&(&@var{ref})}
(or, if you prefer, simply @samp{&&@var{ref}} to examine the address (or, if you prefer, simply @samp{&&@var{ref}} to examine the address
where a C++ reference variable (declared with @samp{&@var{ref}}) is where a C++ reference variable (declared with @samp{&@var{ref}}) is
stored. stored.
_fi__(!_CONLY__)
@item - @item -
Negative. Defined on integral and floating-point types. Same Negative. Defined on integral and floating-point types. Same
@ -4863,6 +4912,7 @@ Logical negation. Defined on integral types. Same precedence as
Bitwise complement operator. Defined on integral types. Same precedence as Bitwise complement operator. Defined on integral types. Same precedence as
@code{++}. @code{++}.
_0__
@item .@r{, }-> @item .@r{, }->
Structure member, and pointer-to-structure member. For convenience, Structure member, and pointer-to-structure member. For convenience,
_GDBN__ regards the two as equivalent, choosing whether to dereference a _GDBN__ regards the two as equivalent, choosing whether to dereference a
@ -4874,28 +4924,37 @@ Array indexing. @code{@var{a}[@var{i}]} is defined as
@code{*(@var{a}+@var{i})}. Same precedence as @code{->}. @code{*(@var{a}+@var{i})}. Same precedence as @code{->}.
@item () @item ()
Function parameter list. Same precedence as @code{->}. Function parameter list. Same precedence as @code{->}._1__
_if__(!_CONLY__)
@item :: @item ::
C++ scope resolution operator. Defined on C++ scope resolution operator. Defined on
@code{struct}, @code{union}, and @code{class} types. @code{struct}, @code{union}, and @code{class} types.
_fi__(!_CONLY__)
@item :: @item ::
The _GDBN__ scope operator (@pxref{Expressions, ,Expressions}). Same precedence as The _GDBN__ scope operator (@pxref{Expressions, ,Expressions}).
@code{::}, above._1__ _if__(!_CONLY__)
Same precedence as @code{::}, above.
_fi__(!_CONLY__)
@end table @end table
_if__(!_CONLY__)
@cindex C and C++ constants @cindex C and C++ constants
@node C Constants @node C Constants
_if__(!_CONLY__)
@subsubsection C and C++ Constants @subsubsection C and C++ Constants
_fi__(!_CONLY__)
_if__(_CONLY__)
@section C and C++ Constants
_fi__(_CONLY__)
_GDBN__ allows you to express the constants of C and C++ in the _GDBN__ allows you to express the constants of C and C++ in the
following ways: following ways:
_fi__(!_CONLY__)
_if__(_CONLY__)
@cindex C constants
@node C Constants
@section C Constants
_GDBN__ allows you to express the constants of C in the
following ways:
_fi__(_CONLY__)
@itemize @bullet @itemize @bullet
@item @item
@ -4934,13 +4993,9 @@ by double quotes (@code{"}).
Pointer constants are an integral value. Pointer constants are an integral value.
@end itemize @end itemize
@node Cplusplus expressions
_if__(!_CONLY__) _if__(!_CONLY__)
@node Cplusplus expressions
@subsubsection C++ Expressions @subsubsection C++ Expressions
_fi__(!_CONLY__)
_if__(_CONLY__)
@section C++ Expressions
_fi__(_CONLY__)
@cindex expressions in C++ @cindex expressions in C++
_GDBN__'s expression handling has a number of extensions to _GDBN__'s expression handling has a number of extensions to
@ -5018,7 +5073,6 @@ resolving name scope by reference to source files, in both C and C++
debugging (@pxref{Variables, ,Program Variables}). debugging (@pxref{Variables, ,Program Variables}).
@end enumerate @end enumerate
_if__(!_CONLY__)
@node C Defaults @node C Defaults
@subsubsection C and C++ Defaults @subsubsection C and C++ Defaults
@cindex C and C++ defaults @cindex C and C++ defaults
@ -5033,15 +5087,9 @@ working language to C or C++ on entering code compiled from a source file
whose name ends with @file{.c}, @file{.C}, or @file{.cc}. whose name ends with @file{.c}, @file{.C}, or @file{.cc}.
@xref{Automatically, ,Having _GDBN__ infer the source language}, for @xref{Automatically, ,Having _GDBN__ infer the source language}, for
further details. further details.
_fi__(!_CONLY__)
@node C Checks @node C Checks
_if__(!_CONLY__)
@subsubsection C and C++ Type and Range Checks @subsubsection C and C++ Type and Range Checks
_fi__(!_CONLY__)
_if__(_CONLY__)
@section C and C++ Type and Range Checks
_fi__(_CONLY__)
@cindex C and C++ checks @cindex C and C++ checks
@quotation @quotation
@ -5076,6 +5124,7 @@ compilers.)
Range checking, if turned on, is done on mathematical operations. Array Range checking, if turned on, is done on mathematical operations. Array
indices are not checked, since they are often used to index a pointer indices are not checked, since they are often used to index a pointer
that is not itself an array. that is not itself an array.
_fi__(!_CONLY__)
@node Debugging C @node Debugging C
_if__(!_CONLY__) _if__(!_CONLY__)
@ -5093,6 +5142,7 @@ Otherwise, it will appear as @samp{@{...@}}.
The @code{@@} operator aids in the debugging of dynamic arrays, formed The @code{@@} operator aids in the debugging of dynamic arrays, formed
with pointers and a memory allocation function. (@pxref{Expressions, ,Expressions}) with pointers and a memory allocation function. (@pxref{Expressions, ,Expressions})
_if__(!_CONLY__)
@node Debugging C plus plus @node Debugging C plus plus
_if__(!_CONLY__) _if__(!_CONLY__)
@subsubsection _GDBN__ Features for C++ @subsubsection _GDBN__ Features for C++
@ -5159,7 +5209,6 @@ available choices, or to finish the type list for you.
@xref{Completion,, Command Completion}, for details on how to do this. @xref{Completion,, Command Completion}, for details on how to do this.
@end table @end table
_if__(!_CONLY__)
@node Modula-2 @node Modula-2
@subsection Modula-2 @subsection Modula-2
@cindex Modula-2 @cindex Modula-2
@ -6012,8 +6061,11 @@ repairs.
@item set write on @item set write on
@itemx set write off @itemx set write off
@kindex set write @kindex set write
If you specify @samp{set write on}, _GDBN__ will open executable and If you specify @samp{set write on}, _GDBN__ will open executable
core files for both reading and writing; if you specify @samp{set write _if__(!_BARE__)
and core
_fi__(!_BARE__)
files for both reading and writing; if you specify @samp{set write
off} (the default), _GDBN__ will open them read-only. off} (the default), _GDBN__ will open them read-only.
If you have already loaded a file, you must load it If you have already loaded a file, you must load it
@ -6022,8 +6074,11 @@ changing @code{set write}, for your new setting to take effect.
@item show write @item show write
@kindex show write @kindex show write
Display whether executable files and core files will be opened for Display whether executable files
writing as well as reading. _if__(!_BARE__)
and core files
_fi__(!_BARE__)
will be opened for writing as well as reading.
@end table @end table
@node _GDBN__ Files @node _GDBN__ Files
@ -6043,10 +6098,10 @@ _fi__(!_BARE__)
@node Files @node Files
@section Commands to Specify Files @section Commands to Specify Files
@cindex core dump file
@cindex symbol table @cindex symbol table
_if__(!_BARE__) _if__(!_BARE__)
@cindex core dump file
The usual way to specify executable and core dump file names is with The usual way to specify executable and core dump file names is with
the command arguments given when you start _GDBN__, (@pxref{Invocation, the command arguments given when you start _GDBN__, (@pxref{Invocation,
,Getting In and Out of _GDBN__}. ,Getting In and Out of _GDBN__}.
@ -6236,6 +6291,7 @@ _fi__(_H8__)
@code{load} will not repeat if you press @key{RET} again after using it. @code{load} will not repeat if you press @key{RET} again after using it.
_if__(!_BARE__)
@item add-symbol-file @var{filename} @var{address} @item add-symbol-file @var{filename} @var{address}
@itemx add-symbol-file @var{filename} @var{address} @r{[} -readnow @r{]} @r{[} -mapped @r{]} @itemx add-symbol-file @var{filename} @var{address} @r{[} -readnow @r{]} @r{[} -mapped @r{]}
@kindex add-symbol-file @kindex add-symbol-file
@ -6256,7 +6312,8 @@ use the @code{symbol-file} command.
You can use the @samp{-mapped} and @samp{-readnow} options just as with You can use the @samp{-mapped} and @samp{-readnow} options just as with
the @code{symbol-file} command, to change how _GDBN__ manages the symbol the @code{symbol-file} command, to change how _GDBN__ manages the symbol
tabl einformation for @var{filename}. table information for @var{filename}.
_fi__(!_BARE__)
@item info files @item info files
@itemx info target @itemx info target
@ -6399,14 +6456,20 @@ _GDBN__ could not parse a type specification output by the compiler.
@kindex target @kindex target
A @dfn{target} is the execution environment occupied by your program. A @dfn{target} is the execution environment occupied by your program.
_if__(!_BARE__)
Often, _GDBN__ runs in the same host environment as your program; in Often, _GDBN__ runs in the same host environment as your program; in
that case, the debugging target is specified as a side effect when you that case, the debugging target is specified as a side effect when you
use the @code{file} or @code{core} commands. When you need more use the @code{file} or @code{core} commands. When you need more
flexibility---for example, running _GDBN__ on a physically separate flexibility---for example, running _GDBN__ on a physically separate
host, or controlling a standalone system over a serial port or a host, or controlling a standalone system over a serial port or a
realtime system over a TCP/IP connection---you can use the @code{target} realtime system over a TCP/IP connection---you
command to specify one of the target types configured for _GDBN__ _fi__(!_BARE__)
(@pxref{Target Commands, ,Commands for Managing Targets}). _if__(_BARE__)
You
_fi__(_BARE__)
can use the @code{target} command to specify one of the target types
configured for _GDBN__ (@pxref{Target Commands, ,Commands for Managing
Targets}).
@menu @menu
* Active Targets:: Active Targets * Active Targets:: Active Targets
@ -6420,6 +6483,7 @@ command to specify one of the target types configured for _GDBN__
@cindex active targets @cindex active targets
@cindex multiple targets @cindex multiple targets
_if__(!_BARE__)
There are three classes of targets: processes, core files, and There are three classes of targets: processes, core files, and
executable files. _GDBN__ can work concurrently on up to three active executable files. _GDBN__ can work concurrently on up to three active
targets, one in each class. This allows you to (for example) start a targets, one in each class. This allows you to (for example) start a
@ -6435,11 +6499,15 @@ requests for memory addresses. (Typically, these two classes of target
are complementary, since core files contain only a program's are complementary, since core files contain only a program's
read-write memory---variables and so on---plus machine status, while read-write memory---variables and so on---plus machine status, while
executable files contain only the program text and initialized data.) executable files contain only the program text and initialized data.)
_fi__(!_BARE__)
When you type @code{run}, your executable file becomes an active process When you type @code{run}, your executable file becomes an active process
target as well. When a process target is active, all _GDBN__ commands target as well. When a process target is active, all _GDBN__ commands
requesting memory addresses refer to that target; addresses in an active requesting memory addresses refer to that target; addresses in an
core file or executable file target are obscured while the process _if__(!_BARE__)
active core file or
_fi__(!_BARE__)
executable file target are obscured while the process
target is active. target is active.
_if__(_BARE__) _if__(_BARE__)
@ -6497,11 +6565,13 @@ An executable file. @samp{target exec @var{prog}} is the same as
A core dump file. @samp{target core @var{filename}} is the same as A core dump file. @samp{target core @var{filename}} is the same as
@samp{core-file @var{filename}}. @samp{core-file @var{filename}}.
_if__(_REMOTESTUB__)
@item target remote @var{dev} @item target remote @var{dev}
@kindex target remote @kindex target remote
Remote serial target in GDB-specific protocol. The argument @var{dev} Remote serial target in GDB-specific protocol. The argument @var{dev}
specifies what serial device to use for the connection (e.g. specifies what serial device to use for the connection (e.g.
@file{/dev/ttya}). @xref{Remote, ,Remote Debugging}. @file{/dev/ttya}). @xref{Remote, ,Remote Debugging}.
_fi__(_REMOTESTUB__)
_if__(_AMD29K__) _if__(_AMD29K__)
@item target amd-eb @var{dev} @var{speed} @var{PROG} @item target amd-eb @var{dev} @var{speed} @var{PROG}
@ -7326,13 +7396,13 @@ If you are not sure whether you have found a bug, here are some guidelines:
@itemize @bullet @itemize @bullet
@item @item
@cindex Fatal Signal @cindex fatal signal
@cindex Core Dump @cindex core dump
If the debugger gets a fatal signal, for any input whatever, that is a If the debugger gets a fatal signal, for any input whatever, that is a
_GDBN__ bug. Reliable debuggers never crash. _GDBN__ bug. Reliable debuggers never crash.
@item @item
@cindex error on Valid Input @cindex error on valid input
If _GDBN__ produces an error message for valid input, that is a bug. If _GDBN__ produces an error message for valid input, that is a bug.
@item @item
@ -7349,8 +7419,8 @@ for improvement of _GDBN__ are welcome in any case.
@node Bug Reporting @node Bug Reporting
@section How to Report Bugs @section How to Report Bugs
@cindex Bug Reports @cindex bug reports
@cindex _GDBN__ Bugs, Reporting @cindex _GDBN__ bugs, reporting
A number of companies and individuals offer support for GNU products. A number of companies and individuals offer support for GNU products.
If you obtained _GDBN__ from a support organization, we recommend you If you obtained _GDBN__ from a support organization, we recommend you
@ -7650,6 +7720,7 @@ unset &&\rm(No longer an alias for delete)\cr
@c END TEXI2ROFF-KILL @c END TEXI2ROFF-KILL
_fi__(_GENERIC__||!_H8__) _fi__(_GENERIC__||!_H8__)
_if__(!_PRECONFIGURED__)
@node Formatting Documentation @node Formatting Documentation
@appendix Formatting the Documentation @appendix Formatting the Documentation
@ -8028,7 +8099,9 @@ There is no convenient way to generate a list of all available hosts.
@code{configure} accepts other options, for compatibility with @code{configure} accepts other options, for compatibility with
configuring other GNU tools recursively; but these are the only configuring other GNU tools recursively; but these are the only
options that affect GDB or its supporting libraries. options that affect GDB or its supporting libraries.
_fi__(!_PRECONFIGURED__)
_if__(!_AGGLOMERATION__)
@node Copying @node Copying
@unnumbered GNU GENERAL PUBLIC LICENSE @unnumbered GNU GENERAL PUBLIC LICENSE
@center Version 2, June 1991 @center Version 2, June 1991
@ -8423,6 +8496,7 @@ proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General library. If this is what you want to do, use the GNU Library General
Public License instead of this License. Public License instead of this License.
_fi__(!_AGGLOMERATION__)
@node Index @node Index
@unnumbered Index @unnumbered Index

View File

@ -2,7 +2,9 @@ _dnl__ -*- Texinfo -*-
_dnl__ Copyright (c) 1991 Free Software Foundation, Inc. _dnl__ Copyright (c) 1991 Free Software Foundation, Inc.
_dnl__ This file is part of the source for the GDB manual. _dnl__ This file is part of the source for the GDB manual.
_dnl__ M4 FRAGMENT: $Id$ _dnl__ M4 FRAGMENT: $Id$
_if__(_REMOTESTUB__)
* Remote Serial:: _GDBN__ remote serial protocol * Remote Serial:: _GDBN__ remote serial protocol
_fi__(_REMOTESTUB__)
_if__(_I960__) _if__(_I960__)
* i960-Nindy Remote:: _GDBN__ with a remote i960 (Nindy) * i960-Nindy Remote:: _GDBN__ with a remote i960 (Nindy)
_fi__(_I960__) _fi__(_I960__)

View File

@ -5,6 +5,7 @@ _dnl__ M4 FRAGMENT $Id$
_dnl__ This text diverted to "Remote Debugging" section in general case; _dnl__ This text diverted to "Remote Debugging" section in general case;
_dnl__ however, if we're doing a manual specifically for one of these, it _dnl__ however, if we're doing a manual specifically for one of these, it
_dnl__ belongs up front (in "Getting In and Out" chapter). _dnl__ belongs up front (in "Getting In and Out" chapter).
_if__(_REMOTESTUB__)
@node Remote Serial @node Remote Serial
@subsection The _GDBN__ remote serial protocol @subsection The _GDBN__ remote serial protocol
@ -334,7 +335,7 @@ back and forth across the serial line to the remote machine. The
packet-debugging information is printed on the _GDBN__ standard output packet-debugging information is printed on the _GDBN__ standard output
stream. @code{set remotedebug off} turns it off, and @code{show stream. @code{set remotedebug off} turns it off, and @code{show
remotedebug} will show you its current state. remotedebug} will show you its current state.
_fi__(_REMOTESTUB__)
_if__(_I960__) _if__(_I960__)
@node i960-Nindy Remote @node i960-Nindy Remote

View File

@ -1,6 +1,9 @@
_divert__(-1) _divert__(-1)
_define__(<_REMOTESTUB__>,<0>)
_define__(<_H8__>,<1>) _define__(<_H8__>,<1>)
_define__(<_GENERIC__>,<0>) _define__(<_GENERIC__>,<0>)
_define__(<_AGGLOMERATION__>,<1>) GPL formatted separately
_define__(<_PRECONFIGURED__>,<1>) manual is *only* for preconfigured sw
_define__(<_BARE__>,<1>) _define__(<_BARE__>,<1>)
_define__(<_CONLY__>,<1>) _define__(<_CONLY__>,<1>)
_define__(<_DOSHOST__>,<1>) _define__(<_DOSHOST__>,<1>)

View File

@ -1,3 +1,4 @@
_divert__(-1) _divert__(-1)
Switches: Switches:
@ -8,6 +9,9 @@ _define__(<_ALL_ARCH__>,<0>) (Meant as most inclusive; file turning
"_GENERIC__") "_GENERIC__")
_define__(<_GENERIC__>,<1>) (may not be quite all configs; _define__(<_GENERIC__>,<1>) (may not be quite all configs;
meant for "most vanilla" manual) meant for "most vanilla" manual)
_define__(<_AGGLOMERATION__>,<0>) is manual part of an agglomeration,
with GPL formatted separately?
_define__(<_PRECONFIGURED__>,<0>) is manual *only* for preconfigured sw?
_define__(<_FSF__>,<1>) set to zero to include things _define__(<_FSF__>,<1>) set to zero to include things
FSF won't take which Cygnus may want. FSF won't take which Cygnus may want.
_define__(<_INTERNALS__>,<0>) _define__(<_INTERNALS__>,<0>)
@ -25,9 +29,10 @@ _define__(<_BARE__>,<0>) Turn on to indicate no OS facilities
_define__(<_DOSHOST__>,<0>) Is this GDB DOS-hosted? _define__(<_DOSHOST__>,<0>) Is this GDB DOS-hosted?
_define__(<_CONLY__>,<0>) Mention only C and C++ debugging if _define__(<_CONLY__>,<0>) Mention only C debugging if
turned on turned on.
_define__(<_REMOTESTUB__>,<1>) Generic remote serial stub
_define__(<_AMD29K__>,<0>) Specific architectures. Note none _define__(<_AMD29K__>,<0>) Specific architectures. Note none
_define__(<_H8__>,<0>) _define__(<_H8__>,<0>)
_define__(<_I80386__>,<0>) starts out on. _define__(<_I80386__>,<0>) starts out on.