(gdbint.info)Target Conditionals


Next: Native Conditionals Prev: Host Conditionals Up: Top

Target Conditionals
*******************

   When GDB is configured and compiled, various macros are defined or
left undefined, to control compilation based on the attributes of the
target system.  These macros and their meanings are:

   *NOTE:  For now, both host and target conditionals are here.
Eliminate host conditionals from this list as they are identified.*

`PUSH_DUMMY_FRAME'
     Used in `call_function_by_hand' to create an artificial stack
     frame.

`POP_FRAME'
     Used in `call_function_by_hand' to remove an artificial stack
     frame.

`BLOCK_ADDRESS_FUNCTION_RELATIVE'
     dbxread.c

`KERNELDEBUG'
     tm-hppa.h

`NO_SYS_FILE'
     dbxread.c

`PYRAMID_CONTROL_FRAME_DEBUGGING'
     pyr-xdep.c

`SIGWINCH_HANDLER_BODY'
     utils.c

`ADDITIONAL_OPTIONS'
     main.c

`ADDITIONAL_OPTION_CASES'
     main.c

`ADDITIONAL_OPTION_HANDLER'
     main.c

`ADDITIONAL_OPTION_HELP'
     main.c

`ADDR_BITS_REMOVE'
     defs.h

`ALIGN_STACK_ON_STARTUP'
     main.c

`ALTOS'
     altos-xdep.c

`ALTOS_AS'
     xm-altos.h

`ASCII_COFF'
     remote-adapt.c

`BADMAG'
     coffread.c

`BCS'
     tm-delta88.h

`BEFORE_MAIN_LOOP_HOOK'
     main.c

`BELIEVE_PCC_PROMOTION'
     coffread.c

`BELIEVE_PCC_PROMOTION_TYPE'
     stabsread.c

`BITS_BIG_ENDIAN'
     defs.h

`BKPT_AT_MAIN'
     solib.c

`BLOCK_ADDRESS_ABSOLUTE'
     dbxread.c

`BPT_VECTOR'
     tm-m68k.h

`BREAKPOINT'
     tm-m68k.h

`BREAKPOINT_DEBUG'
     breakpoint.c

`BSTRING'
     regex.c

`CALL_DUMMY'
     valops.c

`CALL_DUMMY_LOCATION'
     inferior.h

`CALL_DUMMY_STACK_ADJUST'
     valops.c

`CANNOT_FETCH_REGISTER'
     hppabsd-xdep.c

`CANNOT_STORE_REGISTER'
     findvar.c

`CFRONT_PRODUCER'
     dwarfread.c

`CHILD_PREPARE_TO_STORE'
     inftarg.c

`CLEAR_DEFERRED_STORES'
     inflow.c

`CLEAR_SOLIB'
     objfiles.c

`COFF_ENCAPSULATE'
     hppabsd-tdep.c

`COFF_FORMAT'
     symm-tdep.c

`CORE_NEEDS_RELOCATION'
     stack.c

`CPLUS_MARKER'
     cplus-dem.c

`CREATE_INFERIOR_HOOK'
     infrun.c

`C_ALLOCA'
     regex.c

`C_GLBLREG'
     coffread.c

`DBXREAD_ONLY'
     partial-stab.h

`DBX_PARM_SYMBOL_CLASS'
     stabsread.c

`DEBUG'
     remote-adapt.c

`DEBUG_INFO'
     partial-stab.h

`DEBUG_PTRACE'
     hppabsd-xdep.c

`DECR_PC_AFTER_BREAK'
     breakpoint.c

`DELTA88'
     m88k-xdep.c

`DEV_TTY'
     symmisc.c

`DGUX'
     m88k-xdep.c

`DISABLE_UNSETTABLE_BREAK'
     breakpoint.c

`DONT_USE_REMOTE'
     remote.c

`DO_DEFERRED_STORES'
     infrun.c

`DO_REGISTERS_INFO'
     infcmd.c

`END_OF_TEXT_DEFAULT'
     This is an expression that should designate the end of the text
     section (? FIXME ?)

`EXTRACT_RETURN_VALUE'
     tm-m68k.h

`EXTRACT_STRUCT_VALUE_ADDRESS'
     values.c

`EXTRA_FRAME_INFO'
     frame.h

`EXTRA_SYMTAB_INFO'
     symtab.h

`FILES_INFO_HOOK'
     target.c

`FLOAT_INFO'
     infcmd.c

`FOPEN_RB'
     defs.h

`FP0_REGNUM'
     a68v-xdep.c

`FPC_REGNUM'
     mach386-xdep.c

`FP_REGNUM'
     parse.c

`FPU'
     Unused?  6-oct-92 rich@cygnus.com.  FIXME.

`FRAMELESS_FUNCTION_INVOCATION'
     blockframe.c

`FRAME_ARGS_ADDRESS_CORRECT'
     stack.c

`FRAME_CHAIN'
     Given FRAME, return a pointer to the calling frame.

`FRAME_CHAIN_COMBINE'
     blockframe.c

`FRAME_CHAIN_VALID'
     frame.h

`FRAME_CHAIN_VALID_ALTERNATE'
     frame.h

`FRAME_FIND_SAVED_REGS'
     stack.c

`FRAME_GET_BASEREG_VALUE'
     frame.h

`FRAME_NUM_ARGS'
     tm-m68k.h

`FRAME_SPECIFICATION_DYADIC'
     stack.c

`FRAME_SAVED_PC'
     Given FRAME, return the pc saved there.  That is, the return
     address.

`FUNCTION_EPILOGUE_SIZE'
     coffread.c

`F_OK'
     xm-ultra3.h

`GCC2_COMPILED_FLAG_SYMBOL'
     dbxread.c

`GCC_COMPILED_FLAG_SYMBOL'
     dbxread.c

`GCC_MANGLE_BUG'
     symtab.c

`GCC_PRODUCER'
     dwarfread.c

`GDB_TARGET_IS_HPPA'
     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 be ripped out, and a scheme like
     elfread.c used.

`GDB_TARGET_IS_MACH386'
     mach386-xdep.c

`GDB_TARGET_IS_SUN3'
     a68v-xdep.c

`GDB_TARGET_IS_SUN386'
     sun386-xdep.c

`GET_LONGJMP_TARGET'
     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 needed to define it.

     This macro determines the target PC address that longjmp() will
     jump 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 this pointer.  It examines the current
     state of the machine as needed.

`GET_SAVED_REGISTER'
     findvar.c

`GPLUS_PRODUCER'
     dwarfread.c

`GR64_REGNUM'
     remote-adapt.c

`GR64_REGNUM'
     remote-mm.c

`HANDLE_RBRAC'
     partial-stab.h

`HAVE_68881'
     m68k-tdep.c

`HAVE_REGISTER_WINDOWS'
     findvar.c

`HAVE_SIGSETMASK'
     main.c

`HAVE_TERMIO'
     inflow.c

`HEADER_SEEK_FD'
     arm-tdep.c

`HOSTING_ONLY'
     xm-rtbsd.h

`HOST_BYTE_ORDER'
     ieee-float.c

`HPUX_ASM'
     xm-hp300hpux.h

`HPUX_VERSION_5'
     hp300ux-xdep.c

`HP_OS_BUG'
     infrun.c

`I80960'
     remote-vx.c

`IBM6000_TARGET'
     Shows that we are configured for an IBM RS/6000 target.  This
     conditional should be eliminated (FIXME) and replaced by
     feature-specific macros.  It was introduced in haste and we are
     repenting at leisure.

`IEEE_DEBUG'
     ieee-float.c

`IEEE_FLOAT'
     valprint.c

`IGNORE_SYMBOL'
     dbxread.c

`INIT_EXTRA_FRAME_INFO'
     blockframe.c

`INIT_EXTRA_SYMTAB_INFO'
     symfile.c

`INIT_FRAME_PC'
     blockframe.c

`INNER_THAN'
     valops.c

`INT_MAX'
     defs.h

`INT_MIN'
     defs.h

`IN_GDB'
     i960-pinsn.c

`IN_SIGTRAMP'
     infrun.c

`IN_SOLIB_TRAMPOLINE'
     infrun.c

`ISATTY'
     main.c

`IS_TRAPPED_INTERNALVAR'
     values.c

`KERNELDEBUG'
     dbxread.c

`KERNEL_DEBUGGING'
     tm-ultra3.h

`LCC_PRODUCER'
     dwarfread.c

`LOG_FILE'
     remote-adapt.c

`LONGERNAMES'
     cplus-dem.c

`LONGEST'
     defs.h

`CC_HAS_LONG_LONG'
     defs.h

`PRINTF_HAS_LONG_LONG'
     defs.h

`LONG_MAX'
     defs.h

`L_LNNO32'
     coffread.c

`MACHKERNELDEBUG'
     hppabsd-tdep.c

`MAINTENANCE'
     dwarfread.c

`MIPSEL'
     mips-tdep.c

`MOTOROLA'
     xm-altos.h

`NBPG'
     altos-xdep.c

`NEED_POSIX_SETPGID'
     infrun.c

`NEED_TEXT_START_END'
     exec.c

`NFAILURES'
     regex.c

`NNPC_REGNUM'
     infrun.c

`NOTDEF'
     regex.c

`NOTDEF'
     remote-adapt.c

`NOTDEF'
     remote-mm.c

`NOTICE_SIGNAL_HANDLING_CHANGE'
     infrun.c

`NO_HIF_SUPPORT'
     remote-mm.c

`NO_SIGINTERRUPT'
     remote-adapt.c

`NO_SINGLE_STEP'
     infptrace.c

`NPC_REGNUM'
     infcmd.c

`NS32K_SVC_IMMED_OPERANDS'
     ns32k-opcode.h

`NUMERIC_REG_NAMES'
     mips-tdep.c

`N_SETV'
     dbxread.c

`N_SET_MAGIC'
     hppabsd-tdep.c

`NaN'
     tm-umax.h

`ONE_PROCESS_WRITETEXT'
     breakpoint.c

`PC'
     convx-opcode.h

`PCC_SOL_BROKEN'
     dbxread.c

`PC_IN_CALL_DUMMY'
     inferior.h

`PC_LOAD_SEGMENT'
     stack.c

`PC_REGNUM'
     parse.c

`PRINT_RANDOM_SIGNAL'
     infcmd.c

`PRINT_REGISTER_HOOK'
     infcmd.c

`PRINT_TYPELESS_INTEGER'
     valprint.c

`PROCESS_LINENUMBER_HOOK'
     buildsym.c

`PROLOGUE_FIRSTLINE_OVERLAP'
     infrun.c

`PSIGNAL_IN_SIGNAL_H'
     defs.h

`PS_REGNUM'
     parse.c

`PUSH_ARGUMENTS'
     valops.c

`REGISTER_BYTES'
     remote.c

`REGISTER_NAMES'
     tm-a29k.h

`REG_STACK_SEGMENT'
     exec.c

`REG_STRUCT_HAS_ADDR'
     findvar.c

`RE_NREGS'
     regex.h

`R_FP'
     dwarfread.c

`R_OK'
     xm-altos.h

`SDB_REG_TO_REGNUM'
     Define this to convert sdb register numbers into gdb regnums.  If
     not defined, no conversion will be done.

`SEEK_END'
     state.c

`SEEK_SET'
     state.c

`SEM'
     coffread.c

`SHELL_COMMAND_CONCAT'
     infrun.c

`SHELL_FILE'
     infrun.c

`SHIFT_INST_REGS'
     breakpoint.c

`SIGN_EXTEND_CHAR'
     regex.c

`SIGTRAP_STOP_AFTER_LOAD'
     infrun.c

`SKIP_PROLOGUE'
     tm-m68k.h

`SKIP_PROLOGUE_FRAMELESS_P'
     blockframe.c

`SKIP_TRAMPOLINE_CODE'
     infrun.c

`SOLIB_ADD'
     core.c

`SOLIB_CREATE_INFERIOR_HOOK'
     infrun.c

`SP_REGNUM'
     parse.c

`STAB_REG_TO_REGNUM'
     Define this to convert stab register numbers (as gotten from `r'
     declarations) into gdb regnums.  If not defined, no conversion
     will be done.

`STACK_ALIGN'
     valops.c

`START_INFERIOR_TRAPS_EXPECTED'
     infrun.c

`STOP_SIGNAL'
     main.c

`STORE_RETURN_VALUE'
     tm-m68k.h

`SUN4_COMPILER_FEATURE'
     infrun.c

`SUN_FIXED_LBRAC_BUG'
     dbxread.c

`SVR4_SHARED_LIBS'
     solib.c

`SWITCH_ENUM_BUG'
     regex.c

`SYM1'
     tm-ultra3.h

`SYMBOL_RELOADING_DEFAULT'
     symfile.c

`SYNTAX_TABLE'
     regex.c

`Sword'
     regex.c

`TARGET_BYTE_ORDER'
     defs.h

`TARGET_CHAR_BIT'
     defs.h

`TARGET_COMPLEX_BIT'
     defs.h

`TARGET_DOUBLE_BIT'
     defs.h

`TARGET_DOUBLE_COMPLEX_BIT'
     defs.h

`TARGET_FLOAT_BIT'
     defs.h

`TARGET_INT_BIT'
     defs.h

`TARGET_LONG_BIT'
     defs.h

`TARGET_LONG_DOUBLE_BIT'
     defs.h

`TARGET_LONG_LONG_BIT'
     defs.h

`TARGET_PTR_BIT'
     defs.h

`TARGET_READ_PC'
`TARGET_WRITE_PC'
`TARGET_READ_SP'
`TARGET_WRITE_SP'
`TARGET_READ_FP'
`TARGET_WRITE_FP'
     These change the behavior of `read_pc', `write_pc', `read_sp',
     `write_sp', `read_fp' and `write_fp'.  For most targets, these may
     be left undefined.  GDB will call the read and write register
     functions with the relevant `_REGNUM' argument.

     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 in an ordinary register.

`TARGET_SHORT_BIT'
     defs.h

`TDESC'
     infrun.c

`T_ARG'
     coffread.c

`T_VOID'
     coffread.c

`UINT_MAX'
     defs.h

`USER'
     m88k-tdep.c

`USE_GAS'
     xm-news.h

`USE_STRUCT_CONVENTION'
     values.c

`USIZE'
     xm-m88k.h

`U_FPSTATE'
     i386-xdep.c

`VARIABLES_INSIDE_BLOCK'
     dbxread.c

`WRS_ORIG'
     remote-vx.c

`_LANG_c'
     language.c

`_LANG_m2'
     language.c

`__GO32__'
     inflow.c

`__HPUX_ASM__'
     xm-hp300hpux.h

`__INT_VARARGS_H'
     printcmd.c

`__not_on_pyr_yet'
     pyr-xdep.c

`GOULD_PN'
     gould-pinsn.c

`hp800'
     xm-hppabsd.h

`hpux'
     hppabsd-core.c

`longest_to_int'
     defs.h

`mc68020'
     m68k-stub.c

`ns32k_opcodeT'
     ns32k-opcode.h

`sgi'
     mips-tdep.c

`sparc'
     regex.c

`sun'
     m68k-tdep.c

`sun386'
     tm-sun386.h

`test'
     (Define this to enable testing code in regex.c.)


automatically generated by info2www