* gdbint.texinfo: Removed mentions of many incorrectly placed and

obsolete conditionals, described some others.
This commit is contained in:
Stan Shebs
1994-07-15 01:48:01 +00:00
parent 802a2b00a9
commit cdc647da07
2 changed files with 137 additions and 222 deletions

View File

@ -1,3 +1,8 @@
Thu Jul 14 18:43:17 1994 Stan Shebs (shebs@andros.cygnus.com)
* gdbint.texinfo: Removed mentions of many incorrectly placed and
obsolete conditionals, described some others.
Tue Jul 12 12:23:15 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) Tue Jul 12 12:23:15 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.texinfo (help targets): Changed to `help target', which * gdb.texinfo (help targets): Changed to `help target', which

View File

@ -347,7 +347,7 @@ Then edit @file{bfd/configure.host}. Add a line to recognize your
@code{my_host} to @var{xxx} when you recognize it. This will cause your @code{my_host} to @var{xxx} when you recognize it. This will cause your
file @file{h-@var{xxx}.h} to be linked to @file{sysdep.h} at configuration file @file{h-@var{xxx}.h} to be linked to @file{sysdep.h} at configuration
time. When creating the line that recognizes your configuration, time. When creating the line that recognizes your configuration,
only match the fields that you really need to match; e.g. don't match only match the fields that you really need to match; e.g. don't
match the architecture or manufacturer if the OS is sufficient match the architecture or manufacturer if the OS is sufficient
to distinguish the configuration that your @file{h-@var{xxx}.h} file supports. to distinguish the configuration that your @file{h-@var{xxx}.h} file supports.
Don't match the manufacturer name unless you really need to. Don't match the manufacturer name unless you really need to.
@ -452,7 +452,7 @@ Now, you are now ready to try configuring GDB to compile using your system
as its host. From the top level (above @file{bfd}, @file{gdb}, etc), do: as its host. From the top level (above @file{bfd}, @file{gdb}, etc), do:
@example @example
./configure @var{xxx} +target=vxworks960 ./configure @var{xxx} --target=vxworks960
@end example @end example
This will configure your system to cross-compile for VxWorks on This will configure your system to cross-compile for VxWorks on
@ -1490,47 +1490,36 @@ available somehow (e.g. anonymous FTP), and announce it on
When GDB is configured and compiled, various macros are defined or left When GDB is configured and compiled, various macros are defined or left
undefined, to control compilation based on the attributes of the host undefined, to control compilation based on the attributes of the host
system. These macros and their meanings are: system. These macros and their meanings (or if the meaning is not
documented here, then one of the source files where they are used is
indicated) are:
@emph{NOTE: For now, both host and target conditionals are here. @emph{NOTE: For now, both host and target conditionals are here.
Eliminate target conditionals from this list as they are identified.} Eliminate target conditionals from this list as they are identified.}
@table @code @table @code
@item ALIGN_SIZE
alloca.c
@item BLOCK_ADDRESS_FUNCTION_RELATIVE @item BLOCK_ADDRESS_FUNCTION_RELATIVE
dbxread.c dbxread.c
@item GDBINIT_FILENAME @item GDBINIT_FILENAME
main.c The default name of GDB's initialization file (normally @file{.gdbinit}).
@item KERNELDEBUG @item KERNELDEBUG
tm-hppa.h tm-hppa.h
@item MEM_FNS_DECLARED @item MEM_FNS_DECLARED
Your host config file defines this if it includes Your host config file defines this if it includes
declarations of @code{memcpy} and @code{memset}. Define this declarations of @code{memcpy} and @code{memset}. Define this
to avoid conflicts between the native include to avoid conflicts between the native include
files and the declarations in @file{defs.h}. files and the declarations in @file{defs.h}.
@item NO_SYS_FILE @item NO_SYS_FILE
dbxread.c dbxread.c
@item PYRAMID_CONTROL_FRAME_DEBUGGING @item PYRAMID_CONTROL_FRAME_DEBUGGING
pyr-xdep.c pyr-xdep.c
@item SIGWINCH_HANDLER_BODY @item SIGWINCH_HANDLER_BODY
utils.c utils.c
@item 1
buildsym.c
@item 1
dbxread.c
@item 1
dbxread.c
@item 1
buildsym.c
@item 1
dwarfread.c
@item 1
valops.c
@item 1
valops.c
@item 1
pyr-xdep.c
@item ADDITIONAL_OPTIONS @item ADDITIONAL_OPTIONS
main.c main.c
@item ADDITIONAL_OPTION_CASES @item ADDITIONAL_OPTION_CASES
@ -1551,8 +1540,6 @@ altos-xdep.c
xm-altos.h xm-altos.h
@item ASCII_COFF @item ASCII_COFF
remote-adapt.c remote-adapt.c
@item BADMAG
coffread.c
@item BCS @item BCS
tm-delta88.h tm-delta88.h
@item BEFORE_MAIN_LOOP_HOOK @item BEFORE_MAIN_LOOP_HOOK
@ -1561,8 +1548,6 @@ main.c
coffread.c coffread.c
@item BELIEVE_PCC_PROMOTION_TYPE @item BELIEVE_PCC_PROMOTION_TYPE
stabsread.c stabsread.c
@item BIG_ENDIAN
defs.h
@item BITS_BIG_ENDIAN @item BITS_BIG_ENDIAN
defs.h defs.h
@item BKPT_AT_MAIN @item BKPT_AT_MAIN
@ -1571,18 +1556,14 @@ solib.c
dbxread.c dbxread.c
@item BPT_VECTOR @item BPT_VECTOR
tm-m68k.h tm-m68k.h
@item BREAKPOINT
tm-m68k.h
@item BREAKPOINT_DEBUG
breakpoint.c
@item BROKEN_LARGE_ALLOCA @item BROKEN_LARGE_ALLOCA
Avoid large @code{alloca}'s. For example, on sun's, Large alloca's fail Avoid large @code{alloca}'s. For example, on sun's, Large alloca's fail
because the attempt to increase the stack limit in main() fails because because the attempt to increase the stack limit in main() fails because
shared libraries are allocated just below the initial stack limit. The shared libraries are allocated just below the initial stack limit. The
SunOS kernel will not allow the stack to grow into the area occupied by SunOS kernel will not allow the stack to grow into the area occupied by
the shared libraries. the shared libraries.
@item BSTRING
regex.c
@item CALL_DUMMY @item CALL_DUMMY
valops.c valops.c
@item CALL_DUMMY_LOCATION @item CALL_DUMMY_LOCATION
@ -1609,8 +1590,6 @@ symm-tdep.c
stack.c stack.c
@item CPLUS_MARKER @item CPLUS_MARKER
cplus-dem.c cplus-dem.c
@item CREATE_INFERIOR_HOOK
infrun.c
@item C_ALLOCA @item C_ALLOCA
regex.c regex.c
@item C_GLBLREG @item C_GLBLREG
@ -1627,8 +1606,10 @@ partial-stab.h
hppabsd-xdep.c hppabsd-xdep.c
@item DECR_PC_AFTER_BREAK @item DECR_PC_AFTER_BREAK
breakpoint.c breakpoint.c
@item DEFAULT_PROMPT @item DEFAULT_PROMPT
main.c The default value of the prompt string (normally @code{"(gdb) "}).
@item DELTA88 @item DELTA88
m88k-xdep.c m88k-xdep.c
@item DEV_TTY @item DEV_TTY
@ -1643,10 +1624,6 @@ remote.c
infrun.c infrun.c
@item DO_REGISTERS_INFO @item DO_REGISTERS_INFO
infcmd.c infcmd.c
@item END_OF_TEXT_DEFAULT
dbxread.c
@item EXTERN
buildsym.h
@item EXTRACT_RETURN_VALUE @item EXTRACT_RETURN_VALUE
tm-m68k.h tm-m68k.h
@item EXTRACT_STRUCT_VALUE_ADDRESS @item EXTRACT_STRUCT_VALUE_ADDRESS
@ -1657,36 +1634,10 @@ frame.h
symtab.h symtab.h
@item FILES_INFO_HOOK @item FILES_INFO_HOOK
target.c target.c
@item FIXME
coffread.c
@item FLOAT_INFO @item FLOAT_INFO
infcmd.c infcmd.c
@item FOPEN_RB @item FOPEN_RB
defs.h defs.h
@item FP0_REGNUM
a68v-xdep.c
@item FPC_REGNUM
mach386-xdep.c
@item FP_REGNUM
parse.c
@item FRAMELESS_FUNCTION_INVOCATION
blockframe.c
@item FRAME_ARGS_ADDRESS_CORRECT
stack.c
@item FRAME_CHAIN_COMBINE
blockframe.c
@item FRAME_CHAIN_VALID
frame.h
@item FRAME_CHAIN_VALID_ALTERNATE
frame.h
@item FRAME_FIND_SAVED_REGS
stack.c
@item FRAME_GET_BASEREG_VALUE
frame.h
@item FRAME_NUM_ARGS
tm-m68k.h
@item FRAME_SPECIFICATION_DYADIC
stack.c
@item FUNCTION_EPILOGUE_SIZE @item FUNCTION_EPILOGUE_SIZE
coffread.c coffread.c
@item F_OK @item F_OK
@ -1703,17 +1654,13 @@ dwarfread.c
findvar.c findvar.c
@item GPLUS_PRODUCER @item GPLUS_PRODUCER
dwarfread.c dwarfread.c
@item GR64_REGNUM
remote-adapt.c
@item GR64_REGNUM
remote-mm.c
@item HANDLE_RBRAC @item HANDLE_RBRAC
partial-stab.h partial-stab.h
@item HAVE_68881
m68k-tdep.c
@item HAVE_MMAP @item HAVE_MMAP
In some cases, use the system call @code{mmap} for reading symbol In some cases, use the system call @code{mmap} for reading symbol
tables. For some machines this allows for sharing and quick updates. tables. For some machines this allows for sharing and quick updates.
@item HAVE_REGISTER_WINDOWS @item HAVE_REGISTER_WINDOWS
findvar.c findvar.c
@item HAVE_SIGSETMASK @item HAVE_SIGSETMASK
@ -1725,7 +1672,7 @@ arm-tdep.c
@item HOSTING_ONLY @item HOSTING_ONLY
xm-rtbsd.h xm-rtbsd.h
@item HOST_BYTE_ORDER @item HOST_BYTE_ORDER
ieee-float.c findvar.c
@item HPUX_ASM @item HPUX_ASM
xm-hp300hpux.h xm-hp300hpux.h
@item HPUX_VERSION_5 @item HPUX_VERSION_5
@ -1734,8 +1681,6 @@ hp300ux-xdep.c
infrun.c infrun.c
@item I80960 @item I80960
remote-vx.c remote-vx.c
@item IEEE_DEBUG
ieee-float.c
@item IEEE_FLOAT @item IEEE_FLOAT
valprint.c valprint.c
@item IGNORE_SYMBOL @item IGNORE_SYMBOL
@ -1766,24 +1711,26 @@ values.c
dbxread.c dbxread.c
@item KERNEL_DEBUGGING @item KERNEL_DEBUGGING
tm-ultra3.h tm-ultra3.h
@item KERNEL_U_ADDR @item KERNEL_U_ADDR
Define this to the address of the @code{u} structure (the ``user struct'', Define this to the address of the @code{u} structure (the ``user struct'',
also known as the ``u-page'') in kernel virtual memory. GDB needs to know also known as the ``u-page'') in kernel virtual memory. GDB needs to know
this so that it can subtract this address from absolute addresses in this so that it can subtract this address from absolute addresses in
the upage, that are obtained via ptrace or from core files. On systems the upage, that are obtained via ptrace or from core files. On systems
that don't need this value, set it to zero. that don't need this value, set it to zero.
@item KERNEL_U_ADDR_BSD @item KERNEL_U_ADDR_BSD
Define this to cause GDB to determine the address of @code{u} at runtime, Define this to cause GDB to determine the address of @code{u} at runtime,
by using Berkeley-style @code{nlist} on the kernel's image in the root by using Berkeley-style @code{nlist} on the kernel's image in the root
directory. directory.
@item KERNEL_U_ADDR_HPUX @item KERNEL_U_ADDR_HPUX
Define this to cause GDB to determine the address of @code{u} at runtime, Define this to cause GDB to determine the address of @code{u} at runtime,
by using HP-style @code{nlist} on the kernel's image in the root by using HP-style @code{nlist} on the kernel's image in the root
directory. directory.
@item LCC_PRODUCER @item LCC_PRODUCER
dwarfread.c dwarfread.c
@item LITTLE_ENDIAN
defs.h
@item LOG_FILE @item LOG_FILE
remote-adapt.c remote-adapt.c
@item LONGERNAMES @item LONGERNAMES
@ -1800,28 +1747,33 @@ defs.h
source.c source.c
@item L_LNNO32 @item L_LNNO32
coffread.c coffread.c
@item L_SET @item L_SET
This macro is used as the argument to lseek (or, most commonly, bfd_seek). This macro is used as the argument to lseek (or, most commonly, bfd_seek).
FIXME, it should be replaced by SEEK_SET instead, which is the POSIX equivalent. FIXME, should be replaced by SEEK_SET instead, which is the POSIX equivalent.
@item MACHKERNELDEBUG @item MACHKERNELDEBUG
hppabsd-tdep.c hppabsd-tdep.c
@item MAIN
cplus-dem.c
@item MAINTENANCE @item MAINTENANCE
dwarfread.c dwarfread.c
@item MAINTENANCE_CMDS @item MAINTENANCE_CMDS
breakpoint.c If the value of this is 1, then a number of optional maintenance commands
@item MAINTENANCE_CMDS are compiled in.
maint.c
@item MALLOC_INCOMPATIBLE @item MALLOC_INCOMPATIBLE
Define this if the system's prototype for @code{malloc} differs from the Define this if the system's prototype for @code{malloc} differs from the
@sc{ANSI} definition. @sc{ANSI} definition.
@item MIPSEL @item MIPSEL
mips-tdep.c mips-tdep.c
@item MMAP_BASE_ADDRESS @item MMAP_BASE_ADDRESS
When using HAVE_MMAP, the first mapping should go at this address. When using HAVE_MMAP, the first mapping should go at this address.
@item MMAP_INCREMENT @item MMAP_INCREMENT
when using HAVE_MMAP, this is the increment between mappings. when using HAVE_MMAP, this is the increment between mappings.
@item MONO @item MONO
ser-go32.c ser-go32.c
@item MOTOROLA @item MOTOROLA
@ -1834,10 +1786,10 @@ infrun.c
exec.c exec.c
@item NFAILURES @item NFAILURES
regex.c regex.c
@item NNPC_REGNUM
infrun.c
@item NORETURN @item NORETURN
defs.h (in defs.h - is this really useful to define/undefine?)
@item NOTDEF @item NOTDEF
regex.c regex.c
@item NOTDEF @item NOTDEF
@ -1850,6 +1802,7 @@ infrun.c
remote-mm.c remote-mm.c
@item NO_JOB_CONTROL @item NO_JOB_CONTROL
signals.h signals.h
@item NO_MMALLOC @item NO_MMALLOC
GDB will use the @code{mmalloc} library for memory allocation for symbol GDB will use the @code{mmalloc} library for memory allocation for symbol
reading, unless this symbol is defined. Define it on systems reading, unless this symbol is defined. Define it on systems
@ -1861,15 +1814,15 @@ to override the setting of @code{MMALLOC_LIB} to empty, in the Makefile.
Therefore, this define is usually set on the command line by overriding Therefore, this define is usually set on the command line by overriding
@code{MMALLOC_DISABLE} in @file{config/*/*.mh}, rather than by defining @code{MMALLOC_DISABLE} in @file{config/*/*.mh}, rather than by defining
it in @file{xm-*.h}. it in @file{xm-*.h}.
@item NO_MMALLOC_CHECK @item NO_MMALLOC_CHECK
Define this if you are using @code{mmalloc}, but don't want the overhead Define this if you are using @code{mmalloc}, but don't want the overhead
of checking the heap with @code{mmcheck}. of checking the heap with @code{mmcheck}.
@item NO_SIGINTERRUPT @item NO_SIGINTERRUPT
remote-adapt.c remote-adapt.c
@item NO_SINGLE_STEP @item NO_SINGLE_STEP
infptrace.c infptrace.c
@item NPC_REGNUM
infcmd.c
@item NS32K_SVC_IMMED_OPERANDS @item NS32K_SVC_IMMED_OPERANDS
ns32k-opcode.h ns32k-opcode.h
@item NUMERIC_REG_NAMES @item NUMERIC_REG_NAMES
@ -1894,8 +1847,6 @@ dbxread.c
inferior.h inferior.h
@item PC_LOAD_SEGMENT @item PC_LOAD_SEGMENT
stack.c stack.c
@item PC_REGNUM
parse.c
@item PRINT_RANDOM_SIGNAL @item PRINT_RANDOM_SIGNAL
infcmd.c infcmd.c
@item PRINT_REGISTER_HOOK @item PRINT_REGISTER_HOOK
@ -1908,8 +1859,6 @@ buildsym.c
infrun.c infrun.c
@item PSIGNAL_IN_SIGNAL_H @item PSIGNAL_IN_SIGNAL_H
defs.h defs.h
@item PS_REGNUM
parse.c
@item PUSH_ARGUMENTS @item PUSH_ARGUMENTS
valops.c valops.c
@item PYRAMID_CONTROL_FRAME_DEBUGGING @item PYRAMID_CONTROL_FRAME_DEBUGGING
@ -1932,14 +1881,13 @@ regex.h
dwarfread.c dwarfread.c
@item R_OK @item R_OK
xm-altos.h xm-altos.h
@item SDB_REG_TO_REGNUM
coffread.c
@item SEEK_END @item SEEK_END
state.c state.c
@item SEEK_SET @item SEEK_SET
state.c state.c
@item SEM @item SEM
coffread.c coffread.c
@item SET_STACK_LIMIT_HUGE @item SET_STACK_LIMIT_HUGE
When defined, stack limits will be raised to their maximum. Use this When defined, stack limits will be raised to their maximum. Use this
if your host supports @code{setrlimit} and you have trouble with if your host supports @code{setrlimit} and you have trouble with
@ -1947,6 +1895,7 @@ if your host supports @code{setrlimit} and you have trouble with
Also used in @file{fork-child.c} to return stack limits before child Also used in @file{fork-child.c} to return stack limits before child
processes are forked. processes are forked.
@item SHELL_COMMAND_CONCAT @item SHELL_COMMAND_CONCAT
infrun.c infrun.c
@item SHELL_FILE @item SHELL_FILE
@ -1957,30 +1906,16 @@ breakpoint.c
regex.c regex.c
@item SIGTRAP_STOP_AFTER_LOAD @item SIGTRAP_STOP_AFTER_LOAD
infrun.c infrun.c
@item SKIP_PROLOGUE
tm-m68k.h
@item SKIP_PROLOGUE_FRAMELESS_P
blockframe.c
@item SKIP_TRAMPOLINE_CODE @item SKIP_TRAMPOLINE_CODE
infrun.c infrun.c
@item SOLIB_ADD @item SOLIB_ADD
core.c core.c
@item SOLIB_CREATE_INFERIOR_HOOK
infrun.c
@item SP_REGNUM
parse.c
@item STAB_REG_TO_REGNUM
stabsread.h
@item STACK_ALIGN @item STACK_ALIGN
valops.c valops.c
@item STACK_DIRECTION
alloca.c
@item START_INFERIOR_TRAPS_EXPECTED @item START_INFERIOR_TRAPS_EXPECTED
infrun.c infrun.c
@item STOP_SIGNAL @item STOP_SIGNAL
main.c main.c
@item STORE_RETURN_VALUE
tm-m68k.h
@item SUN4_COMPILER_FEATURE @item SUN4_COMPILER_FEATURE
infrun.c infrun.c
@item SUN_FIXED_LBRAC_BUG @item SUN_FIXED_LBRAC_BUG
@ -1997,8 +1932,6 @@ symfile.c
regex.c regex.c
@item Sword @item Sword
regex.c regex.c
@item TDESC
infrun.c
@item TIOCGETC @item TIOCGETC
inflow.c inflow.c
@item TIOCGLTC @item TIOCGLTC
@ -2027,10 +1960,12 @@ xm-news.h
inflow.c inflow.c
@item USE_STRUCT_CONVENTION @item USE_STRUCT_CONVENTION
values.c values.c
@item USG @item USG
Means that System V (prior to SVR4) include files are in use. Means that System V (prior to SVR4) include files are in use.
(FIXME: This symbol is abused in @file{infrun.c}, @file{regex.c}, (FIXME: This symbol is abused in @file{infrun.c}, @file{regex.c},
@file{remote-nindy.c}, and @file{utils.c} for other things, at the moment.) @file{remote-nindy.c}, and @file{utils.c} for other things, at the moment.)
@item USIZE @item USIZE
xm-m88k.h xm-m88k.h
@item U_FPSTATE @item U_FPSTATE
@ -2039,16 +1974,10 @@ i386-xdep.c
dbxread.c dbxread.c
@item WRS_ORIG @item WRS_ORIG
remote-vx.c remote-vx.c
@item _LANG_c
language.c
@item _LANG_m2
language.c
@item __GNUC__ @item __GNUC__
news-xdep.c news-xdep.c
@item __GO32__ @item __GO32__
inflow.c inflow.c
@item __HAVE_68881__
m68k-stub.c
@item __HPUX_ASM__ @item __HPUX_ASM__
xm-hp300hpux.h xm-hp300hpux.h
@item __INT_VARARGS_H @item __INT_VARARGS_H
@ -2061,8 +1990,6 @@ defs.h
defs.h defs.h
@item GOULD_PN @item GOULD_PN
gould-pinsn.c gould-pinsn.c
@item emacs
alloca.c
@item hp800 @item hp800
xm-hppabsd.h xm-hppabsd.h
@item hpux @item hpux
@ -2081,8 +2008,6 @@ ns32k-opcode.h
mips-tdep.c mips-tdep.c
@item sparc @item sparc
regex.c regex.c
@item static
alloca.c
@item sun @item sun
m68k-tdep.c m68k-tdep.c
@item sun386 @item sun386
@ -2093,10 +2018,6 @@ regex.c
xm-mips.h xm-mips.h
@item volatile @item volatile
defs.h defs.h
@item x_name
coffread.c
@item x_zeroes
coffread.c
@end table @end table
@node Target Conditionals @node Target Conditionals
@ -2110,16 +2031,15 @@ system. These macros and their meanings are:
Eliminate host conditionals from this list as they are identified.} Eliminate host conditionals from this list as they are identified.}
@table @code @table @code
@item PUSH_DUMMY_FRAME @item PUSH_DUMMY_FRAME
Used in @samp{call_function_by_hand} to create an artificial stack frame. Used in @samp{call_function_by_hand} to create an artificial stack frame.
@item POP_FRAME @item POP_FRAME
Used in @samp{call_function_by_hand} to remove an artificial stack frame. Used in @samp{call_function_by_hand} to remove an artificial stack frame.
@item ALIGN_SIZE
alloca.c
@item BLOCK_ADDRESS_FUNCTION_RELATIVE @item BLOCK_ADDRESS_FUNCTION_RELATIVE
dbxread.c dbxread.c
@item GDBINIT_FILENAME
main.c
@item KERNELDEBUG @item KERNELDEBUG
tm-hppa.h tm-hppa.h
@item NO_SYS_FILE @item NO_SYS_FILE
@ -2146,18 +2066,12 @@ altos-xdep.c
xm-altos.h xm-altos.h
@item ASCII_COFF @item ASCII_COFF
remote-adapt.c remote-adapt.c
@item BADMAG
coffread.c
@item BCS @item BCS
tm-delta88.h tm-delta88.h
@item BEFORE_MAIN_LOOP_HOOK
main.c
@item BELIEVE_PCC_PROMOTION @item BELIEVE_PCC_PROMOTION
coffread.c coffread.c
@item BELIEVE_PCC_PROMOTION_TYPE @item BELIEVE_PCC_PROMOTION_TYPE
stabsread.c stabsread.c
@item BIG_ENDIAN
defs.h
@item BITS_BIG_ENDIAN @item BITS_BIG_ENDIAN
defs.h defs.h
@item BKPT_AT_MAIN @item BKPT_AT_MAIN
@ -2168,10 +2082,6 @@ dbxread.c
tm-m68k.h tm-m68k.h
@item BREAKPOINT @item BREAKPOINT
tm-m68k.h tm-m68k.h
@item BREAKPOINT_DEBUG
breakpoint.c
@item BSTRING
regex.c
@item CALL_DUMMY @item CALL_DUMMY
valops.c valops.c
@item CALL_DUMMY_LOCATION @item CALL_DUMMY_LOCATION
@ -2198,10 +2108,6 @@ symm-tdep.c
stack.c stack.c
@item CPLUS_MARKER @item CPLUS_MARKER
cplus-dem.c cplus-dem.c
@item CREATE_INFERIOR_HOOK
infrun.c
@item C_ALLOCA
regex.c
@item C_GLBLREG @item C_GLBLREG
coffread.c coffread.c
@item DBXREAD_ONLY @item DBXREAD_ONLY
@ -2216,8 +2122,6 @@ partial-stab.h
hppabsd-xdep.c hppabsd-xdep.c
@item DECR_PC_AFTER_BREAK @item DECR_PC_AFTER_BREAK
breakpoint.c breakpoint.c
@item DEFAULT_PROMPT
main.c
@item DELTA88 @item DELTA88
m88k-xdep.c m88k-xdep.c
@item DEV_TTY @item DEV_TTY
@ -2232,10 +2136,11 @@ remote.c
infrun.c infrun.c
@item DO_REGISTERS_INFO @item DO_REGISTERS_INFO
infcmd.c infcmd.c
@item END_OF_TEXT_DEFAULT @item END_OF_TEXT_DEFAULT
dbxread.c This is an expression that should designate the end of the text section
@item EXTERN (? FIXME ?)
buildsym.h
@item EXTRACT_RETURN_VALUE @item EXTRACT_RETURN_VALUE
tm-m68k.h tm-m68k.h
@item EXTRACT_STRUCT_VALUE_ADDRESS @item EXTRACT_STRUCT_VALUE_ADDRESS
@ -2246,8 +2151,6 @@ frame.h
symtab.h symtab.h
@item FILES_INFO_HOOK @item FILES_INFO_HOOK
target.c target.c
@item FIXME
coffread.c
@item FLOAT_INFO @item FLOAT_INFO
infcmd.c infcmd.c
@item FOPEN_RB @item FOPEN_RB
@ -2258,14 +2161,14 @@ a68v-xdep.c
mach386-xdep.c mach386-xdep.c
@item FP_REGNUM @item FP_REGNUM
parse.c parse.c
@item FPU
Unused? 6-oct-92 rich@@cygnus.com. FIXME.
@item FRAMELESS_FUNCTION_INVOCATION @item FRAMELESS_FUNCTION_INVOCATION
blockframe.c blockframe.c
@item FRAME_ARGS_ADDRESS_CORRECT @item FRAME_ARGS_ADDRESS_CORRECT
stack.c stack.c
@item FRAME_CHAIN @item FRAME_CHAIN
Given FRAME, return a pointer to the calling frame. Given FRAME, return a pointer to the calling frame.
@item FRAME_CHAIN_COMBINE @item FRAME_CHAIN_COMBINE
blockframe.c blockframe.c
@item FRAME_CHAIN_VALID @item FRAME_CHAIN_VALID
@ -2276,12 +2179,17 @@ frame.h
stack.c stack.c
@item FRAME_GET_BASEREG_VALUE @item FRAME_GET_BASEREG_VALUE
frame.h frame.h
@item FRAME_NUM_ARGS
tm-m68k.h @item FRAME_NUM_ARGS (val, fi)
For the frame described by fi, set val to the number of arguments
that are being passed.
@item FRAME_SPECIFICATION_DYADIC @item FRAME_SPECIFICATION_DYADIC
stack.c stack.c
@item FRAME_SAVED_PC @item FRAME_SAVED_PC
Given FRAME, return the pc saved there. That is, the return address. Given FRAME, return the pc saved there. That is, the return address.
@item FUNCTION_EPILOGUE_SIZE @item FUNCTION_EPILOGUE_SIZE
coffread.c coffread.c
@item F_OK @item F_OK
@ -2294,16 +2202,19 @@ dbxread.c
symtab.c symtab.c
@item GCC_PRODUCER @item GCC_PRODUCER
dwarfread.c dwarfread.c
@item GDB_TARGET_IS_HPPA @item GDB_TARGET_IS_HPPA
This determines whether horrible kludge code in dbxread.c and partial-stab.h This determines whether horrible kludge code in dbxread.c and partial-stab.h
is used to mangle multiple-symbol-table files from HPPA's. This should all is used to mangle multiple-symbol-table files from HPPA's. This should all
be ripped out, and a scheme like elfread.c used. be ripped out, and a scheme like elfread.c used.
@item GDB_TARGET_IS_MACH386 @item GDB_TARGET_IS_MACH386
mach386-xdep.c mach386-xdep.c
@item GDB_TARGET_IS_SUN3 @item GDB_TARGET_IS_SUN3
a68v-xdep.c a68v-xdep.c
@item GDB_TARGET_IS_SUN386 @item GDB_TARGET_IS_SUN386
sun386-xdep.c sun386-xdep.c
@item GET_LONGJMP_TARGET @item GET_LONGJMP_TARGET
For most machines, this is a target-dependent parameter. On the DECstation For most machines, this is a target-dependent parameter. On the DECstation
and the Iris, this is a native-dependent parameter, since <setjmp.h> is and the Iris, this is a native-dependent parameter, since <setjmp.h> is
@ -2313,6 +2224,7 @@ This macro determines the target PC address that longjmp() will jump
to, assuming that we have just stopped at a longjmp breakpoint. It to, assuming that we have just stopped at a longjmp breakpoint. It
takes a CORE_ADDR * as argument, and stores the target PC value through takes a CORE_ADDR * as argument, and stores the target PC value through
this pointer. It examines the current state of the machine as needed. this pointer. It examines the current state of the machine as needed.
@item GET_SAVED_REGISTER @item GET_SAVED_REGISTER
findvar.c findvar.c
@item GPLUS_PRODUCER @item GPLUS_PRODUCER
@ -2335,8 +2247,6 @@ inflow.c
arm-tdep.c arm-tdep.c
@item HOSTING_ONLY @item HOSTING_ONLY
xm-rtbsd.h xm-rtbsd.h
@item HOST_BYTE_ORDER
ieee-float.c
@item HPUX_ASM @item HPUX_ASM
xm-hp300hpux.h xm-hp300hpux.h
@item HPUX_VERSION_5 @item HPUX_VERSION_5
@ -2345,12 +2255,12 @@ hp300ux-xdep.c
infrun.c infrun.c
@item I80960 @item I80960
remote-vx.c remote-vx.c
@item IBM6000_TARGET @item IBM6000_TARGET
Shows that we are configured for an IBM RS/6000 target. This conditional Shows that we are configured for an IBM RS/6000 target. This conditional
should be eliminated (FIXME) and replaced by feature-specific macros. should be eliminated (FIXME) and replaced by feature-specific macros.
It was introduced in haste and we are repenting at leisure. It was introduced in haste and we are repenting at leisure.
@item IEEE_DEBUG
ieee-float.c
@item IEEE_FLOAT @item IEEE_FLOAT
valprint.c valprint.c
@item IGNORE_SYMBOL @item IGNORE_SYMBOL
@ -2383,8 +2293,6 @@ dbxread.c
tm-ultra3.h tm-ultra3.h
@item LCC_PRODUCER @item LCC_PRODUCER
dwarfread.c dwarfread.c
@item LITTLE_ENDIAN
defs.h
@item LOG_FILE @item LOG_FILE
remote-adapt.c remote-adapt.c
@item LONGERNAMES @item LONGERNAMES
@ -2401,14 +2309,8 @@ defs.h
coffread.c coffread.c
@item MACHKERNELDEBUG @item MACHKERNELDEBUG
hppabsd-tdep.c hppabsd-tdep.c
@item MAIN
cplus-dem.c
@item MAINTENANCE @item MAINTENANCE
dwarfread.c dwarfread.c
@item MAINTENANCE_CMDS
breakpoint.c
@item MAINTENANCE_CMDS
maint.c
@item MIPSEL @item MIPSEL
mips-tdep.c mips-tdep.c
@item MOTOROLA @item MOTOROLA
@ -2419,14 +2321,8 @@ altos-xdep.c
infrun.c infrun.c
@item NEED_TEXT_START_END @item NEED_TEXT_START_END
exec.c exec.c
@item NFAILURES
regex.c
@item NNPC_REGNUM @item NNPC_REGNUM
infrun.c infrun.c
@item NORETURN
defs.h
@item NOTDEF
regex.c
@item NOTDEF @item NOTDEF
remote-adapt.c remote-adapt.c
@item NOTDEF @item NOTDEF
@ -2487,14 +2383,15 @@ tm-a29k.h
exec.c exec.c
@item REG_STRUCT_HAS_ADDR @item REG_STRUCT_HAS_ADDR
findvar.c findvar.c
@item RE_NREGS
regex.h
@item R_FP @item R_FP
dwarfread.c dwarfread.c
@item R_OK @item R_OK
xm-altos.h xm-altos.h
@item SDB_REG_TO_REGNUM @item SDB_REG_TO_REGNUM
coffread.c Define this to convert sdb register numbers
into gdb regnums. If not defined, no conversion will be done.
@item SEEK_END @item SEEK_END
state.c state.c
@item SEEK_SET @item SEEK_SET
@ -2507,72 +2404,89 @@ infrun.c
infrun.c infrun.c
@item SHIFT_INST_REGS @item SHIFT_INST_REGS
breakpoint.c breakpoint.c
@item SIGN_EXTEND_CHAR
regex.c
@item SIGTRAP_STOP_AFTER_LOAD @item SIGTRAP_STOP_AFTER_LOAD
infrun.c infrun.c
@item SKIP_PROLOGUE @item SKIP_PROLOGUE
tm-m68k.h A C statement that advances the PC across any function entry
prologue instructions so as to reach ``real'' code.
@item SKIP_PROLOGUE_FRAMELESS_P @item SKIP_PROLOGUE_FRAMELESS_P
blockframe.c A C statement that should behave similarly, but that can stop
as soon as the function is known to have a frame.
If not defined, @code{SKIP_PROLOGUE} will be used instead.
@item SKIP_TRAMPOLINE_CODE @item SKIP_TRAMPOLINE_CODE
infrun.c infrun.c
@item SOLIB_ADD @item SOLIB_ADD
core.c core.c
@item SOLIB_CREATE_INFERIOR_HOOK
infrun.c
@item SP_REGNUM @item SP_REGNUM
parse.c parse.c
@item STAB_REG_TO_REGNUM @item STAB_REG_TO_REGNUM
stabsread.h Define this to convert stab register numbers (as gotten from `r' declarations)
into gdb regnums. If not defined, no conversion will be done.
@item STACK_ALIGN @item STACK_ALIGN
valops.c valops.c
@item STACK_DIRECTION
alloca.c
@item START_INFERIOR_TRAPS_EXPECTED @item START_INFERIOR_TRAPS_EXPECTED
infrun.c infrun.c
@item STOP_SIGNAL @item STOP_SIGNAL
main.c main.c
@item STORE_RETURN_VALUE
tm-m68k.h @item STORE_RETURN_VALUE (type, valbuf)
A C expression that stores a function return value of type @var{type},
where @var{valbuf} is the address of the value to be stored.
@item SUN4_COMPILER_FEATURE @item SUN4_COMPILER_FEATURE
infrun.c infrun.c
@item SUN_FIXED_LBRAC_BUG @item SUN_FIXED_LBRAC_BUG
dbxread.c dbxread.c
@item SVR4_SHARED_LIBS @item SVR4_SHARED_LIBS
solib.c solib.c
@item SWITCH_ENUM_BUG
regex.c
@item SYM1 @item SYM1
tm-ultra3.h tm-ultra3.h
@item SYMBOL_RELOADING_DEFAULT @item SYMBOL_RELOADING_DEFAULT
symfile.c symfile.c
@item SYNTAX_TABLE
regex.c
@item Sword
regex.c
@item TARGET_BYTE_ORDER @item TARGET_BYTE_ORDER
defs.h The ordering of bytes in the target.
This must be defined to be either @code{BIG_ENDIAN} or @code{LITTLE_ENDIAN}.
@item TARGET_CHAR_BIT @item TARGET_CHAR_BIT
defs.h Number of bits in a char; defaults to 8.
@item TARGET_COMPLEX_BIT @item TARGET_COMPLEX_BIT
defs.h Number of bits in a complex number; defaults to @code{2 * TARGET_FLOAT_BIT}.
@item TARGET_DOUBLE_BIT @item TARGET_DOUBLE_BIT
defs.h Number of bits in a double float; defaults to @code{8 * TARGET_CHAR_BIT}.
@item TARGET_DOUBLE_COMPLEX_BIT @item TARGET_DOUBLE_COMPLEX_BIT
defs.h Number of bits in a double complex; defaults to @code{2 * TARGET_DOUBLE_BIT}.
@item TARGET_FLOAT_BIT @item TARGET_FLOAT_BIT
defs.h Number of bits in a float; defaults to @code{4 * TARGET_CHAR_BIT}.
@item TARGET_INT_BIT @item TARGET_INT_BIT
defs.h Number of bits in an integer; defaults to @code{4 * TARGET_CHAR_BIT}.
@item TARGET_LONG_BIT @item TARGET_LONG_BIT
defs.h Number of bits in a long integer; defaults to @code{4 * TARGET_CHAR_BIT}.
@item TARGET_LONG_DOUBLE_BIT @item TARGET_LONG_DOUBLE_BIT
defs.h Number of bits in a long double float;
defaults to @code{2 * TARGET_DOUBLE_BIT}.
@item TARGET_LONG_LONG_BIT @item TARGET_LONG_LONG_BIT
defs.h Number of bits in a long long integer; defaults to @code{2 * TARGET_LONG_BIT}.
@item TARGET_PTR_BIT @item TARGET_PTR_BIT
defs.h Number of bits in a pointer; defaults to @code{TARGET_INT_BIT}.
@item TARGET_SHORT_BIT
Number of bits in a short integer; defaults to @code{2 * TARGET_CHAR_BIT}.
@item TARGET_READ_PC @item TARGET_READ_PC
@item TARGET_WRITE_PC @item TARGET_WRITE_PC
@item TARGET_READ_SP @item TARGET_READ_SP
@ -2588,10 +2502,6 @@ These macros are useful when a target keeps one of these registers in a
hard to get at place; for example, part in a segment register and part hard to get at place; for example, part in a segment register and part
in an ordinary register. in an ordinary register.
@item TARGET_SHORT_BIT
defs.h
@item TDESC
infrun.c
@item T_ARG @item T_ARG
coffread.c coffread.c
@item T_VOID @item T_VOID
@ -2612,14 +2522,8 @@ i386-xdep.c
dbxread.c dbxread.c
@item WRS_ORIG @item WRS_ORIG
remote-vx.c remote-vx.c
@item _LANG_c
language.c
@item _LANG_m2
language.c
@item __GO32__ @item __GO32__
inflow.c inflow.c
@item __HAVE_68881__
m68k-stub.c
@item __HPUX_ASM__ @item __HPUX_ASM__
xm-hp300hpux.h xm-hp300hpux.h
@item __INT_VARARGS_H @item __INT_VARARGS_H
@ -2628,8 +2532,6 @@ printcmd.c
pyr-xdep.c pyr-xdep.c
@item GOULD_PN @item GOULD_PN
gould-pinsn.c gould-pinsn.c
@item emacs
alloca.c
@item hp800 @item hp800
xm-hppabsd.h xm-hppabsd.h
@item hpux @item hpux
@ -2642,20 +2544,14 @@ m68k-stub.c
ns32k-opcode.h ns32k-opcode.h
@item sgi @item sgi
mips-tdep.c mips-tdep.c
@item sparc
regex.c
@item static
alloca.c
@item sun @item sun
m68k-tdep.c m68k-tdep.c
@item sun386 @item sun386
tm-sun386.h tm-sun386.h
@item test @item test
regex.c (Define this to enable testing code in regex.c.)
@item x_name
coffread.c
@item x_zeroes
coffread.c
@end table @end table
@node Native Conditionals @node Native Conditionals
@ -2667,9 +2563,11 @@ are the same. These macros should be defined (or left undefined)
in @file{nm-@var{system}.h}. in @file{nm-@var{system}.h}.
@table @code @table @code
@item ATTACH_DETACH @item ATTACH_DETACH
If defined, then gdb will include support for the @code{attach} and If defined, then gdb will include support for the @code{attach} and
@code{detach} commands. @code{detach} commands.
@item FETCH_INFERIOR_REGISTERS @item FETCH_INFERIOR_REGISTERS
Define this if the native-dependent code will provide its Define this if the native-dependent code will provide its
own routines own routines
@ -2678,6 +2576,7 @@ own routines
If this symbol is @emph{not} defined, and @file{infptrace.c} If this symbol is @emph{not} defined, and @file{infptrace.c}
is included in this configuration, the default routines in is included in this configuration, the default routines in
@file{infptrace.c} are used for these functions. @file{infptrace.c} are used for these functions.
@item GET_LONGJMP_TARGET @item GET_LONGJMP_TARGET
For most machines, this is a target-dependent parameter. On the DECstation For most machines, this is a target-dependent parameter. On the DECstation
and the Iris, this is a native-dependent parameter, since <setjmp.h> is and the Iris, this is a native-dependent parameter, since <setjmp.h> is
@ -2687,22 +2586,32 @@ This macro determines the target PC address that longjmp() will jump
to, assuming that we have just stopped at a longjmp breakpoint. It to, assuming that we have just stopped at a longjmp breakpoint. It
takes a CORE_ADDR * as argument, and stores the target PC value through takes a CORE_ADDR * as argument, and stores the target PC value through
this pointer. It examines the current state of the machine as needed. this pointer. It examines the current state of the machine as needed.
@item PROC_NAME_FMT @item PROC_NAME_FMT
Defines the format for the name of a @file{/proc} device. Should be Defines the format for the name of a @file{/proc} device. Should be
defined in @file{nm.h} @emph{only} in order to override the default defined in @file{nm.h} @emph{only} in order to override the default
definition in @file{procfs.c}. definition in @file{procfs.c}.
@item PTRACE_FP_BUG @item PTRACE_FP_BUG
mach386-xdep.c mach386-xdep.c
@item PTRACE_ARG3_TYPE @item PTRACE_ARG3_TYPE
The type of the third argument to the @code{ptrace} system call, if it exists The type of the third argument to the @code{ptrace} system call, if it exists
and is different from @code{int}. and is different from @code{int}.
@item REGISTER_U_ADDR @item REGISTER_U_ADDR
Defines the offset of the registers in the ``u area''; @pxref{Host}. Defines the offset of the registers in the ``u area''; @pxref{Host}.
@item SOLIB_CREATE_INFERIOR_HOOK
Define this to expand into any shared-library-relocation code
that you want to be run just after the child process has been forked.
@item USE_PROC_FS @item USE_PROC_FS
This determines whether small routines in @file{*-tdep.c}, which This determines whether small routines in @file{*-tdep.c}, which
translate register values translate register values
between GDB's internal representation and the /proc representation, between GDB's internal representation and the /proc representation,
are compiled. are compiled.
@item U_REGS_OFFSET @item U_REGS_OFFSET
This is the offset of the registers in the upage. It need only be This is the offset of the registers in the upage. It need only be
defined if the generic ptrace register access routines in defined if the generic ptrace register access routines in
@ -2714,6 +2623,7 @@ from @file{infptrace.c} is good enough, leave it undefined.
The default value means that u.u_ar0 @emph{points to} the location of the The default value means that u.u_ar0 @emph{points to} the location of the
registers. I'm guessing that @code{#define U_REGS_OFFSET 0} means that registers. I'm guessing that @code{#define U_REGS_OFFSET 0} means that
u.u_ar0 @emph{is} the location of the registers. u.u_ar0 @emph{is} the location of the registers.
@end table @end table
@node Obsolete Conditionals @node Obsolete Conditionals