Go to the previous, next section.
When GDB is configured and compiled, various macros are defined or left undefined, to control compilation based on the attributes of the host system. These macros and their meanings are:
NOTE: For now, both host and target conditionals are here. Eliminate target conditionals from this list as they are identified.
ALIGN_SIZE
BLOCK_ADDRESS_FUNCTION_RELATIVE
GDBINIT_FILENAME
KERNELDEBUG
MEM_FNS_DECLARED
NO_SYS_FILE
PYRAMID_CONTROL_FRAME_DEBUGGING
SIGWINCH_HANDLER_BODY
1
1
1
1
1
1
1
1
ADDITIONAL_OPTIONS
ADDITIONAL_OPTION_CASES
ADDITIONAL_OPTION_HANDLER
ADDITIONAL_OPTION_HELP
ADDR_BITS_REMOVE
AIX_BUGGY_PTRACE_CONTINUE
ALIGN_STACK_ON_STARTUP
ALTOS
ALTOS_AS
ASCII_COFF
BADMAG
BCS
BEFORE_MAIN_LOOP_HOOK
BELIEVE_PCC_PROMOTION
BELIEVE_PCC_PROMOTION_TYPE
BIG_ENDIAN
BITS_BIG_ENDIAN
BKPT_AT_MAIN
BLOCK_ADDRESS_ABSOLUTE
BPT_VECTOR
BREAKPOINT
BREAKPOINT_DEBUG
BROKEN_LARGE_ALLOCA
alloca
's. For example, on sun's, Large alloca's fail
because the attempt to increase the stack limit in main() fails because
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
the shared libraries.
BSTRING
CALL_DUMMY
CALL_DUMMY_LOCATION
CALL_DUMMY_STACK_ADJUST
CANNOT_FETCH_REGISTER
CANNOT_STORE_REGISTER
CFRONT_PRODUCER
CHILD_PREPARE_TO_STORE
CLEAR_DEFERRED_STORES
CLEAR_SOLIB
COFF_ENCAPSULATE
COFF_FORMAT
COFF_NO_LONG_FILE_NAMES
CORE_NEEDS_RELOCATION
CPLUS_MARKER
CREATE_INFERIOR_HOOK
C_ALLOCA
C_GLBLREG
DAMON
DBXREAD_ONLY
DBX_PARM_SYMBOL_CLASS
DEBUG
DEBUG_INFO
DEBUG_PTRACE
DECR_PC_AFTER_BREAK
DEFAULT_PROMPT
DELTA88
DEV_TTY
DGUX
DISABLE_UNSETTABLE_BREAK
DONT_USE_REMOTE
DO_DEFERRED_STORES
DO_REGISTERS_INFO
END_OF_TEXT_DEFAULT
EXTERN
EXTRACT_RETURN_VALUE
EXTRACT_STRUCT_VALUE_ADDRESS
EXTRA_FRAME_INFO
EXTRA_SYMTAB_INFO
FILES_INFO_HOOK
FIXME
FLOAT_INFO
FOPEN_RB
FP0_REGNUM
FPC_REGNUM
FP_REGNUM
FRAMELESS_FUNCTION_INVOCATION
FRAME_ARGS_ADDRESS_CORRECT
FRAME_CHAIN_COMBINE
FRAME_CHAIN_VALID
FRAME_CHAIN_VALID_ALTERNATE
FRAME_FIND_SAVED_REGS
FRAME_GET_BASEREG_VALUE
FRAME_NUM_ARGS
FRAME_SPECIFICATION_DYADIC
FUNCTION_EPILOGUE_SIZE
F_OK
GCC2_COMPILED_FLAG_SYMBOL
GCC_COMPILED_FLAG_SYMBOL
GCC_MANGLE_BUG
GCC_PRODUCER
GET_SAVED_REGISTER
GPLUS_PRODUCER
GR64_REGNUM
GR64_REGNUM
HANDLE_RBRAC
HAVE_68881
HAVE_MMAP
mmap
for reading symbol
tables. For some machines this allows for sharing and quick updates.
HAVE_REGISTER_WINDOWS
HAVE_SIGSETMASK
HAVE_TERMIO
HEADER_SEEK_FD
HOSTING_ONLY
HOST_BYTE_ORDER
HPUX_ASM
HPUX_VERSION_5
HP_OS_BUG
I80960
IBM6000_HOST
IBM6000_TARGET
IEEE_DEBUG
IEEE_FLOAT
IGNORE_SYMBOL
INIT_EXTRA_FRAME_INFO
INIT_EXTRA_SYMTAB_INFO
INIT_FRAME_PC
INNER_THAN
INT_MAX
INT_MIN
IN_GDB
IN_SIGTRAMP
IN_SOLIB_TRAMPOLINE
ISATTY
IS_TRAPPED_INTERNALVAR
KERNELDEBUG
KERNEL_DEBUGGING
KERNEL_U_ADDR
u
structure (the "user struct",
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
the upage, that are obtained via ptrace or from core files. On systems
that don't need this value, set it to zero.
KERNEL_U_ADDR_BSD
u
at runtime,
by using Berkeley-style nlist
on the kernel's image in the root
directory.
KERNEL_U_ADDR_HPUX
u
at runtime,
by using HP-style nlist
on the kernel's image in the root
directory.
LCC_PRODUCER
LITTLE_ENDIAN
LOG_FILE
LONGERNAMES
LONGEST
LONG_LONG
LONG_MAX
LSEEK_NOT_LINEAR
L_LNNO32
L_SET
MACHKERNELDEBUG
MAIN
MAINTENANCE
MAINTENANCE_CMDS
MAINTENANCE_CMDS
MALLOC_INCOMPATIBLE
malloc
differs from the
ANSI definition.
MIPSEL
MMAP_BASE_ADDRESS
MMAP_INCREMENT
MONO
MOTOROLA
NAMES_HAVE_UNDERSCORE
NBPG
NEED_POSIX_SETPGID
NEED_TEXT_START_END
NFAILURES
NNPC_REGNUM
NORETURN
NOTDEF
NOTDEF
NOTDEF
NOTICE_SIGNAL_HANDLING_CHANGE
NO_DEFINE_SYMBOL
NO_HIF_SUPPORT
NO_JOB_CONTROL
NO_MALLOC_CHECK
NO_MMALLOC
NO_MMALLOC
NO_MMALLOC
NO_SIGINTERRUPT
NO_SINGLE_STEP
NO_TYPEDEFS
NO_TYPEDEFS
NPC_REGNUM
NS32K_SVC_IMMED_OPERANDS
NUMERIC_REG_NAMES
N_SETV
N_SET_MAGIC
NaN
ONE_PROCESS_WRITETEXT
O_BINARY
O_RDONLY
PC
PCC_SOL_BROKEN
PC_IN_CALL_DUMMY
PC_LOAD_SEGMENT
PC_REGNUM
PRINT_RANDOM_SIGNAL
PRINT_REGISTER_HOOK
PRINT_TYPELESS_INTEGER
PROCESS_LINENUMBER_HOOK
PROLOGUE_FIRSTLINE_OVERLAP
PSIGNAL_IN_SIGNAL_H
PS_REGNUM
PTRACE_ARG3_TYPE
PTRACE_FP_BUG
PT_ATTACH
PT_DETACH
PT_KILL
PUSH_ARGUMENTS
PYRAMID_CONTROL_FRAME_DEBUGGING
PYRAMID_CORE
PYRAMID_PTRACE
REGISTER_BYTES
REGISTER_NAMES
REG_STACK_SEGMENT
REG_STRUCT_HAS_ADDR
RE_NREGS
R_FP
R_OK
SDB_REG_TO_REGNUM
SEEK_END
SEEK_SET
SEM
SET_STACK_LIMIT_HUGE
setrlimit
and you have trouble with
stringtab
in `dbxread.c'.
Also used in `fork-child.c' to return stack limits before child processes are forked.
SHELL_COMMAND_CONCAT
SHELL_FILE
SHIFT_INST_REGS
SIGN_EXTEND_CHAR
SIGTRAP_STOP_AFTER_LOAD
SKIP_PROLOGUE
SKIP_PROLOGUE_FRAMELESS_P
SKIP_TRAMPOLINE_CODE
SOLIB_ADD
SOLIB_CREATE_INFERIOR_HOOK
SOME_NAMES_HAVE_DOT
SP_REGNUM
STAB_REG_TO_REGNUM
STACK_ALIGN
STACK_DIRECTION
START_INFERIOR_TRAPS_EXPECTED
STOP_SIGNAL
STORE_RETURN_VALUE
SUN4_COMPILER_FEATURE
SUN_FIXED_LBRAC_BUG
SVR4_SHARED_LIBS
SWITCH_ENUM_BUG
SYM1
SYMBOL_RELOADING_DEFAULT
SYNTAX_TABLE
Sword
TDESC
TIOCGETC
TIOCGLTC
TIOCGPGRP
TIOCLGET
TIOCLSET
TIOCNOTTY
TM_FILE_OVERRIDE
T_ARG
T_VOID
UINT_MAX
UPAGES
USER
USE_GAS
USE_O_NOCTTY
USE_STRUCT_CONVENTION
USG
USIZE
U_FPSTATE
VARIABLES_INSIDE_BLOCK
WRS_ORIG
_LANG_c
_LANG_m2
__GNUC__
__GO32__
__HAVE_68881__
__HPUX_ASM__
__INT_VARARGS_H
__not_on_pyr_yet
alloca
const
GOULD_PN
emacs
hp800
hpux
lint
longest_to_int
mc68020
notdef
ns32k_opcodeT
sgi
sparc
static
sun
sun386
test
ultrix
volatile
x_name
x_zeroes
Go to the previous, next section.