home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / info / gdbint.i02 (.txt) < prev    next >
GNU Info File  |  1993-06-12  |  28KB  |  1,266 lines

  1. This is Info file gdbint.info, produced by Makeinfo-1.47 from the input
  2. file gdbint.tex.
  3. START-INFO-DIR-ENTRY
  4. * Gdb-Internals: (gdbint).    The GNU debugger's internals.
  5. END-INFO-DIR-ENTRY
  6.    This file documents the internals of the GNU debugger GDB.
  7.    Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
  8. Contributed by Cygnus Support.  Written by John Gilmore.
  9.    Permission is granted to make and distribute verbatim copies of this
  10. manual provided the copyright notice and this permission notice are
  11. preserved on all copies.
  12.    Permission is granted to copy or distribute modified versions of this
  13. manual under the terms of the GPL (for which purpose this text may be
  14. regarded as a program in the language TeX).
  15. File: gdbint.info,  Node: Host Conditionals,  Next: Target Conditionals,  Prev: Coding Style,  Up: Top
  16. Host Conditionals
  17. *****************
  18.    When GDB is configured and compiled, various macros are defined or
  19. left undefined, to control compilation based on the attributes of the
  20. host system.  These macros and their meanings are:
  21.    *NOTE:  For now, both host and target conditionals are here.
  22. Eliminate target conditionals from this list as they are identified.*
  23. `ALIGN_SIZE'
  24.      alloca.c
  25. `BLOCK_ADDRESS_FUNCTION_RELATIVE'
  26.      dbxread.c
  27. `GDBINIT_FILENAME'
  28.      main.c
  29. `KERNELDEBUG'
  30.      tm-hppa.h
  31. `MEM_FNS_DECLARED'
  32.      defs.h
  33. `NO_SYS_FILE'
  34.      dbxread.c
  35. `PYRAMID_CONTROL_FRAME_DEBUGGING'
  36.      pyr-xdep.c
  37. `SIGWINCH_HANDLER_BODY'
  38.      utils.c
  39.      buildsym.c
  40.      dbxread.c
  41.      dbxread.c
  42.      buildsym.c
  43.      dwarfread.c
  44.      valops.c
  45.      valops.c
  46.      pyr-xdep.c
  47. `ADDITIONAL_OPTIONS'
  48.      main.c
  49. `ADDITIONAL_OPTION_CASES'
  50.      main.c
  51. `ADDITIONAL_OPTION_HANDLER'
  52.      main.c
  53. `ADDITIONAL_OPTION_HELP'
  54.      main.c
  55. `ADDR_BITS_REMOVE'
  56.      defs.h
  57. `AIX_BUGGY_PTRACE_CONTINUE'
  58.      infptrace.c
  59. `ALIGN_STACK_ON_STARTUP'
  60.      main.c
  61. `ALTOS'
  62.      altos-xdep.c
  63. `ALTOS_AS'
  64.      xm-altos.h
  65. `ASCII_COFF'
  66.      remote-adapt.c
  67. `BADMAG'
  68.      coffread.c
  69. `BCS'
  70.      tm-delta88.h
  71. `BEFORE_MAIN_LOOP_HOOK'
  72.      main.c
  73. `BELIEVE_PCC_PROMOTION'
  74.      coffread.c
  75. `BELIEVE_PCC_PROMOTION_TYPE'
  76.      stabsread.c
  77. `BIG_ENDIAN'
  78.      defs.h
  79. `BITS_BIG_ENDIAN'
  80.      defs.h
  81. `BKPT_AT_MAIN'
  82.      solib.c
  83. `BLOCK_ADDRESS_ABSOLUTE'
  84.      dbxread.c
  85. `BPT_VECTOR'
  86.      tm-68k.h
  87. `BREAKPOINT'
  88.      tm-68k.h
  89. `BREAKPOINT_DEBUG'
  90.      breakpoint.c
  91. `BROKEN_LARGE_ALLOCA'
  92.      Avoid large `alloca''s.  For example, on sun's, Large alloca's fail
  93.      because the attempt to increase the stack limit in main() fails
  94.      because shared libraries are allocated just below the initial
  95.      stack limit.  The SunOS kernel will not allow the stack to grow
  96.      into the area occupied by the shared libraries.
  97. `BSTRING'
  98.      regex.c
  99. `CALL_DUMMY'
  100.      valops.c
  101. `CALL_DUMMY_LOCATION'
  102.      inferior.h
  103. `CALL_DUMMY_STACK_ADJUST'
  104.      valops.c
  105. `CANNOT_FETCH_REGISTER'
  106.      hppabsd-xdep.c
  107. `CANNOT_STORE_REGISTER'
  108.      findvar.c
  109. `CFRONT_PRODUCER'
  110.      dwarfread.c
  111. `CHILD_PREPARE_TO_STORE'
  112.      inftarg.c
  113. `CLEAR_DEFERRED_STORES'
  114.      inflow.c
  115. `CLEAR_SOLIB'
  116.      objfiles.c
  117. `COFF_ENCAPSULATE'
  118.      hppabsd-tdep.c
  119. `COFF_FORMAT'
  120.      symm-tdep.c
  121. `COFF_NO_LONG_FILE_NAMES'
  122.      coffread.c
  123. `CORE_NEEDS_RELOCATION'
  124.      stack.c
  125. `CPLUS_MARKER'
  126.      cplus-dem.c
  127. `CREATE_INFERIOR_HOOK'
  128.      infrun.c
  129. `C_ALLOCA'
  130.      regex.c
  131. `C_GLBLREG'
  132.      coffread.c
  133. `DAMON'
  134.      xcoffexec.c
  135. `DBXREAD_ONLY'
  136.      partial-stab.h
  137. `DBX_PARM_SYMBOL_CLASS'
  138.      stabsread.c
  139. `DEBUG'
  140.      remote-adapt.c
  141. `DEBUG_INFO'
  142.      partial-stab.h
  143. `DEBUG_PTRACE'
  144.      hppabsd-xdep.c
  145. `DECR_PC_AFTER_BREAK'
  146.      breakpoint.c
  147. `DEFAULT_PROMPT'
  148.      main.c
  149. `DELTA88'
  150.      m88k-xdep.c
  151. `DEV_TTY'
  152.      symmisc.c
  153. `DGUX'
  154.      m88k-xdep.c
  155. `DISABLE_UNSETTABLE_BREAK'
  156.      breakpoint.c
  157. `DONT_USE_REMOTE'
  158.      remote.c
  159. `DO_DEFERRED_STORES'
  160.      infrun.c
  161. `DO_REGISTERS_INFO'
  162.      infcmd.c
  163. `END_OF_TEXT_DEFAULT'
  164.      dbxread.c
  165. `EXTERN'
  166.      buildsym.h
  167. `EXTRACT_RETURN_VALUE'
  168.      tm-68k.h
  169. `EXTRACT_STRUCT_VALUE_ADDRESS'
  170.      values.c
  171. `EXTRA_FRAME_INFO'
  172.      frame.h
  173. `EXTRA_SYMTAB_INFO'
  174.      symtab.h
  175. `FILES_INFO_HOOK'
  176.      target.c
  177. `FIXME'
  178.      coffread.c
  179. `FLOAT_INFO'
  180.      infcmd.c
  181. `FOPEN_RB'
  182.      defs.h
  183. `FP0_REGNUM'
  184.      a68v-xdep.c
  185. `FPC_REGNUM'
  186.      mach386-xdep.c
  187. `FP_REGNUM'
  188.      parse.c
  189. `FRAMELESS_FUNCTION_INVOCATION'
  190.      blockframe.c
  191. `FRAME_ARGS_ADDRESS_CORRECT'
  192.      stack.c
  193. `FRAME_CHAIN_COMBINE'
  194.      blockframe.c
  195. `FRAME_CHAIN_VALID'
  196.      frame.h
  197. `FRAME_CHAIN_VALID_ALTERNATE'
  198.      frame.h
  199. `FRAME_FIND_SAVED_REGS'
  200.      stack.c
  201. `FRAME_GET_BASEREG_VALUE'
  202.      frame.h
  203. `FRAME_NUM_ARGS'
  204.      tm-68k.h
  205. `FRAME_SPECIFICATION_DYADIC'
  206.      stack.c
  207. `FUNCTION_EPILOGUE_SIZE'
  208.      coffread.c
  209. `F_OK'
  210.      xm-ultra3.h
  211. `GCC2_COMPILED_FLAG_SYMBOL'
  212.      dbxread.c
  213. `GCC_COMPILED_FLAG_SYMBOL'
  214.      dbxread.c
  215. `GCC_MANGLE_BUG'
  216.      symtab.c
  217. `GCC_PRODUCER'
  218.      dwarfread.c
  219. `GET_SAVED_REGISTER'
  220.      findvar.c
  221. `GPLUS_PRODUCER'
  222.      dwarfread.c
  223. `GR64_REGNUM'
  224.      remote-adapt.c
  225. `GR64_REGNUM'
  226.      remote-mm.c
  227. `HANDLE_RBRAC'
  228.      partial-stab.h
  229. `HAVE_68881'
  230.      m68k-tdep.c
  231. `HAVE_MMAP'
  232.      In some cases, use the system call `mmap' for reading symbol
  233.      tables.  For some machines this allows for sharing and quick
  234.      updates.
  235. `HAVE_REGISTER_WINDOWS'
  236.      findvar.c
  237. `HAVE_SIGSETMASK'
  238.      main.c
  239. `HAVE_TERMIO'
  240.      inflow.c
  241. `HEADER_SEEK_FD'
  242.      arm-tdep.c
  243. `HOSTING_ONLY'
  244.      xm-rtbsd.h
  245. `HOST_BYTE_ORDER'
  246.      ieee-float.c
  247. `HPUX_ASM'
  248.      xm-hp300hpux.h
  249. `HPUX_VERSION_5'
  250.      hp300ux-xdep.c
  251. `HP_OS_BUG'
  252.      infrun.c
  253. `I80960'
  254.      remote-vx.c
  255. `IBM6000_HOST'
  256.      breakpoint.c
  257. `IBM6000_TARGET'
  258.      buildsym.c
  259. `IEEE_DEBUG'
  260.      ieee-float.c
  261. `IEEE_FLOAT'
  262.      valprint.c
  263. `IGNORE_SYMBOL'
  264.      dbxread.c
  265. `INIT_EXTRA_FRAME_INFO'
  266.      blockframe.c
  267. `INIT_EXTRA_SYMTAB_INFO'
  268.      symfile.c
  269. `INIT_FRAME_PC'
  270.      blockframe.c
  271. `INNER_THAN'
  272.      valops.c
  273. `INT_MAX'
  274.      defs.h
  275. `INT_MIN'
  276.      defs.h
  277. `IN_GDB'
  278.      i960-pinsn.c
  279. `IN_SIGTRAMP'
  280.      infrun.c
  281. `IN_SOLIB_TRAMPOLINE'
  282.      infrun.c
  283. `ISATTY'
  284.      main.c
  285. `IS_TRAPPED_INTERNALVAR'
  286.      values.c
  287. `KERNELDEBUG'
  288.      dbxread.c
  289. `KERNEL_DEBUGGING'
  290.      tm-ultra3.h
  291. `KERNEL_U_ADDR'
  292.      Define this to the address of the `u' structure (the "user struct",
  293.      also known as the "u-page") in kernel virtual memory.  GDB needs
  294.      to know this so that it can subtract this address from absolute
  295.      addresses in the upage, that are obtained via ptrace or from core
  296.      files.  On systems that don't need this value, set it to zero.
  297. `KERNEL_U_ADDR_BSD'
  298.      Define this to cause GDB to determine the address of `u' at
  299.      runtime, by using Berkeley-style `nlist' on the kernel's image in
  300.      the root directory.
  301. `KERNEL_U_ADDR_HPUX'
  302.      Define this to cause GDB to determine the address of `u' at
  303.      runtime, by using HP-style `nlist' on the kernel's image in the
  304.      root directory.
  305. `LCC_PRODUCER'
  306.      dwarfread.c
  307. `LITTLE_ENDIAN'
  308.      defs.h
  309. `LOG_FILE'
  310.      remote-adapt.c
  311. `LONGERNAMES'
  312.      cplus-dem.c
  313. `LONGEST'
  314.      defs.h
  315. `LONG_LONG'
  316.      defs.h
  317. `LONG_MAX'
  318.      defs.h
  319. `LSEEK_NOT_LINEAR'
  320.      source.c
  321. `L_LNNO32'
  322.      coffread.c
  323. `L_SET'
  324.      This macro is used as the argument to lseek (or, most commonly,
  325.      bfd_seek). FIXME, it should be replaced by SEEK_SET instead, which
  326.      is the POSIX equivalent.
  327. `MACHKERNELDEBUG'
  328.      hppabsd-tdep.c
  329. `MAIN'
  330.      cplus-dem.c
  331. `MAINTENANCE'
  332.      dwarfread.c
  333. `MAINTENANCE_CMDS'
  334.      breakpoint.c
  335. `MAINTENANCE_CMDS'
  336.      maint.c
  337. `MALLOC_INCOMPATIBLE'
  338.      Define this if the system's prototype for `malloc' differs from the
  339.      ANSI definition.
  340. `MIPSEL'
  341.      mips-tdep.c
  342. `MMAP_BASE_ADDRESS'
  343.      When using HAVE_MMAP, the first mapping should go at this address.
  344. `MMAP_INCREMENT'
  345.      when using HAVE_MMAP, this is the increment between mappings.
  346. `MONO'
  347.      ser-go32.c
  348. `MOTOROLA'
  349.      xm-altos.h
  350. `NAMES_HAVE_UNDERSCORE'
  351.      coffread.c
  352. `NBPG'
  353.      altos-xdep.c
  354. `NEED_POSIX_SETPGID'
  355.      infrun.c
  356. `NEED_TEXT_START_END'
  357.      exec.c
  358. `NFAILURES'
  359.      regex.c
  360. `NNPC_REGNUM'
  361.      infrun.c
  362. `NORETURN'
  363.      defs.h
  364. `NOTDEF'
  365.      regex.c
  366. `NOTDEF'
  367.      remote-adapt.c
  368. `NOTDEF'
  369.      remote-mm.c
  370. `NOTICE_SIGNAL_HANDLING_CHANGE'
  371.      infrun.c
  372. `NO_DEFINE_SYMBOL'
  373.      xcoffread.c
  374. `NO_HIF_SUPPORT'
  375.      remote-mm.c
  376. `NO_JOB_CONTROL'
  377.      signals.h
  378. `NO_MALLOC_CHECK'
  379.      utils.c
  380. `NO_MMALLOC'
  381.      utils.c
  382. `NO_MMALLOC'
  383.      objfiles.c
  384. `NO_MMALLOC'
  385.      utils.c
  386. `NO_SIGINTERRUPT'
  387.      remote-adapt.c
  388. `NO_SINGLE_STEP'
  389.      infptrace.c
  390. `NO_TYPEDEFS'
  391.      xcoffread.c
  392. `NO_TYPEDEFS'
  393.      xcoffread.c
  394. `NPC_REGNUM'
  395.      infcmd.c
  396. `NS32K_SVC_IMMED_OPERANDS'
  397.      ns32k-opcode.h
  398. `NUMERIC_REG_NAMES'
  399.      mips-tdep.c
  400. `N_SETV'
  401.      dbxread.c
  402. `N_SET_MAGIC'
  403.      hppabsd-tdep.c
  404. `NaN'
  405.      tm-umax.h
  406. `ONE_PROCESS_WRITETEXT'
  407.      breakpoint.c
  408. `O_BINARY'
  409.      exec.c
  410. `O_RDONLY'
  411.      xm-ultra3.h
  412.      convx-opcode.h
  413. `PCC_SOL_BROKEN'
  414.      dbxread.c
  415. `PC_IN_CALL_DUMMY'
  416.      inferior.h
  417. `PC_LOAD_SEGMENT'
  418.      stack.c
  419. `PC_REGNUM'
  420.      parse.c
  421. `PRINT_RANDOM_SIGNAL'
  422.      infcmd.c
  423. `PRINT_REGISTER_HOOK'
  424.      infcmd.c
  425. `PRINT_TYPELESS_INTEGER'
  426.      valprint.c
  427. `PROCESS_LINENUMBER_HOOK'
  428.      buildsym.c
  429. `PROLOGUE_FIRSTLINE_OVERLAP'
  430.      infrun.c
  431. `PSIGNAL_IN_SIGNAL_H'
  432.      defs.h
  433. `PS_REGNUM'
  434.      parse.c
  435. `PTRACE_ARG3_TYPE'
  436.      inferior.h
  437. `PTRACE_FP_BUG'
  438.      mach386-xdep.c
  439. `PT_ATTACH'
  440.      hppabsd-xdep.c
  441. `PT_DETACH'
  442.      hppabsd-xdep.c
  443. `PT_KILL'
  444.      infptrace.c
  445. `PUSH_ARGUMENTS'
  446.      valops.c
  447. `PYRAMID_CONTROL_FRAME_DEBUGGING'
  448.      pyr-xdep.c
  449. `PYRAMID_CORE'
  450.      pyr-xdep.c
  451. `PYRAMID_PTRACE'
  452.      pyr-xdep.c
  453. `REGISTER_BYTES'
  454.      remote.c
  455. `REGISTER_NAMES'
  456.      tm-29k.h
  457. `REG_STACK_SEGMENT'
  458.      exec.c
  459. `REG_STRUCT_HAS_ADDR'
  460.      findvar.c
  461. `RE_NREGS'
  462.      regex.h
  463. `R_FP'
  464.      dwarfread.c
  465. `R_OK'
  466.      xm-altos.h
  467. `SDB_REG_TO_REGNUM'
  468.      coffread.c
  469. `SEEK_END'
  470.      state.c
  471. `SEEK_SET'
  472.      state.c
  473. `SEM'
  474.      coffread.c
  475. `SET_STACK_LIMIT_HUGE'
  476.      When defined, stack limits will be raised to their maximum.  Use
  477.      this if your host supports `setrlimit' and you have trouble with
  478.      `stringtab' in `dbxread.c'.
  479.      Also used in `fork-child.c' to return stack limits before child
  480.      processes are forked.
  481. `SHELL_COMMAND_CONCAT'
  482.      infrun.c
  483. `SHELL_FILE'
  484.      infrun.c
  485. `SHIFT_INST_REGS'
  486.      breakpoint.c
  487. `SIGN_EXTEND_CHAR'
  488.      regex.c
  489. `SIGTRAP_STOP_AFTER_LOAD'
  490.      infrun.c
  491. `SKIP_PROLOGUE'
  492.      tm-68k.h
  493. `SKIP_PROLOGUE_FRAMELESS_P'
  494.      blockframe.c
  495. `SKIP_TRAMPOLINE_CODE'
  496.      infrun.c
  497. `SOLIB_ADD'
  498.      core.c
  499. `SOLIB_CREATE_INFERIOR_HOOK'
  500.      infrun.c
  501. `SOME_NAMES_HAVE_DOT'
  502.      minsyms.c
  503. `SP_REGNUM'
  504.      parse.c
  505. `STAB_REG_TO_REGNUM'
  506.      stabsread.h
  507. `STACK_ALIGN'
  508.      valops.c
  509. `STACK_DIRECTION'
  510.      alloca.c
  511. `START_INFERIOR_TRAPS_EXPECTED'
  512.      infrun.c
  513. `STOP_SIGNAL'
  514.      main.c
  515. `STORE_RETURN_VALUE'
  516.      tm-68k.h
  517. `SUN4_COMPILER_FEATURE'
  518.      infrun.c
  519. `SUN_FIXED_LBRAC_BUG'
  520.      dbxread.c
  521. `SVR4_SHARED_LIBS'
  522.      solib.c
  523. `SWITCH_ENUM_BUG'
  524.      regex.c
  525. `SYM1'
  526.      tm-ultra3.h
  527. `SYMBOL_RELOADING_DEFAULT'
  528.      symfile.c
  529. `SYNTAX_TABLE'
  530.      regex.c
  531. `Sword'
  532.      regex.c
  533. `TDESC'
  534.      infrun.c
  535. `TIOCGETC'
  536.      inflow.c
  537. `TIOCGLTC'
  538.      inflow.c
  539. `TIOCGPGRP'
  540.      inflow.c
  541. `TIOCLGET'
  542.      inflow.c
  543. `TIOCLSET'
  544.      inflow.c
  545. `TIOCNOTTY'
  546.      inflow.c
  547. `TM_FILE_OVERRIDE'
  548.      defs.h
  549. `T_ARG'
  550.      coffread.c
  551. `T_VOID'
  552.      coffread.c
  553. `UINT_MAX'
  554.      defs.h
  555. `UPAGES'
  556.      altos-xdep.c
  557. `USER'
  558.      m88k-tdep.c
  559. `USE_GAS'
  560.      xm-news.h
  561. `USE_O_NOCTTY'
  562.      inflow.c
  563. `USE_STRUCT_CONVENTION'
  564.      values.c
  565. `USG'
  566.      Means that System V (prior to SVR4) include files are in use.
  567.      (FIXME:  This symbol is abused in `infrun.c', `regex.c',
  568.      `remote-nindy.c', and `utils.c' for other things, at the moment.)
  569. `USIZE'
  570.      xm-m88k.h
  571. `U_FPSTATE'
  572.      i386-xdep.c
  573. `VARIABLES_INSIDE_BLOCK'
  574.      dbxread.c
  575. `WRS_ORIG'
  576.      remote-vx.c
  577. `_LANG_c'
  578.      language.c
  579. `_LANG_m2'
  580.      language.c
  581. `__GNUC__'
  582.      news-xdep.c
  583. `__GO32__'
  584.      inflow.c
  585. `__HAVE_68881__'
  586.      m68k-stub.c
  587. `__HPUX_ASM__'
  588.      xm-hp300hpux.h
  589. `__INT_VARARGS_H'
  590.      printcmd.c
  591. `__not_on_pyr_yet'
  592.      pyr-xdep.c
  593. `alloca'
  594.      defs.h
  595. `const'
  596.      defs.h
  597. `GOULD_PN'
  598.      gould-pinsn.c
  599. `emacs'
  600.      alloca.c
  601. `hp800'
  602.      xm-hppabsd.h
  603. `hpux'
  604.      hppabsd-core.c
  605. `lint'
  606.      valarith.c
  607. `longest_to_int'
  608.      defs.h
  609. `mc68020'
  610.      m68k-stub.c
  611. `notdef'
  612.      gould-pinsn.c
  613. `ns32k_opcodeT'
  614.      ns32k-opcode.h
  615. `sgi'
  616.      mips-tdep.c
  617. `sparc'
  618.      regex.c
  619. `static'
  620.      alloca.c
  621. `sun'
  622.      m68k-tdep.c
  623. `sun386'
  624.      tm-sun386.h
  625. `test'
  626.      regex.c
  627. `ultrix'
  628.      xm-mips.h
  629. `volatile'
  630.      defs.h
  631. `x_name'
  632.      coffread.c
  633. `x_zeroes'
  634.      coffread.c
  635. File: gdbint.info,  Node: Target Conditionals,  Next: Native Conditionals,  Prev: Host Conditionals,  Up: Top
  636. Target Conditionals
  637. *******************
  638.    When GDB is configured and compiled, various macros are defined or
  639. left undefined, to control compilation based on the attributes of the
  640. target system.  These macros and their meanings are:
  641.    *NOTE:  For now, both host and target conditionals are here.
  642. Eliminate host conditionals from this list as they are identified.*
  643. `PUSH_DUMMY_FRAME'
  644.      Used in `call_function_by_hand' to create an artificial stack
  645.      frame.
  646. `POP_FRAME'
  647.      Used in `call_function_by_hand' to remove an artificial stack
  648.      frame.
  649. `ALIGN_SIZE'
  650.      alloca.c
  651. `BLOCK_ADDRESS_FUNCTION_RELATIVE'
  652.      dbxread.c
  653. `GDBINIT_FILENAME'
  654.      main.c
  655. `KERNELDEBUG'
  656.      tm-hppa.h
  657. `MEM_FNS_DECLARED'
  658.      defs.h
  659. `NO_SYS_FILE'
  660.      dbxread.c
  661. `PYRAMID_CONTROL_FRAME_DEBUGGING'
  662.      pyr-xdep.c
  663. `SIGWINCH_HANDLER_BODY'
  664.      utils.c
  665. `ADDITIONAL_OPTIONS'
  666.      main.c
  667. `ADDITIONAL_OPTION_CASES'
  668.      main.c
  669. `ADDITIONAL_OPTION_HANDLER'
  670.      main.c
  671. `ADDITIONAL_OPTION_HELP'
  672.      main.c
  673. `ADDR_BITS_REMOVE'
  674.      defs.h
  675. `ALIGN_STACK_ON_STARTUP'
  676.      main.c
  677. `ALTOS'
  678.      altos-xdep.c
  679. `ALTOS_AS'
  680.      xm-altos.h
  681. `ASCII_COFF'
  682.      remote-adapt.c
  683. `BADMAG'
  684.      coffread.c
  685. `BCS'
  686.      tm-delta88.h
  687. `BEFORE_MAIN_LOOP_HOOK'
  688.      main.c
  689. `BELIEVE_PCC_PROMOTION'
  690.      coffread.c
  691. `BELIEVE_PCC_PROMOTION_TYPE'
  692.      stabsread.c
  693. `BIG_ENDIAN'
  694.      defs.h
  695. `BITS_BIG_ENDIAN'
  696.      defs.h
  697. `BKPT_AT_MAIN'
  698.      solib.c
  699. `BLOCK_ADDRESS_ABSOLUTE'
  700.      dbxread.c
  701. `BPT_VECTOR'
  702.      tm-68k.h
  703. `BREAKPOINT'
  704.      tm-68k.h
  705. `BREAKPOINT_DEBUG'
  706.      breakpoint.c
  707. `BSTRING'
  708.      regex.c
  709. `CALL_DUMMY'
  710.      valops.c
  711. `CALL_DUMMY_LOCATION'
  712.      inferior.h
  713. `CALL_DUMMY_STACK_ADJUST'
  714.      valops.c
  715. `CANNOT_FETCH_REGISTER'
  716.      hppabsd-xdep.c
  717. `CANNOT_STORE_REGISTER'
  718.      findvar.c
  719. `CFRONT_PRODUCER'
  720.      dwarfread.c
  721. `CHILD_PREPARE_TO_STORE'
  722.      inftarg.c
  723. `CLEAR_DEFERRED_STORES'
  724.      inflow.c
  725. `CLEAR_SOLIB'
  726.      objfiles.c
  727. `COFF_ENCAPSULATE'
  728.      hppabsd-tdep.c
  729. `COFF_FORMAT'
  730.      symm-tdep.c
  731. `COFF_NO_LONG_FILE_NAMES'
  732.      coffread.c
  733. `CORE_NEEDS_RELOCATION'
  734.      stack.c
  735. `CPLUS_MARKER'
  736.      cplus-dem.c
  737. `CREATE_INFERIOR_HOOK'
  738.      infrun.c
  739. `C_ALLOCA'
  740.      regex.c
  741. `C_GLBLREG'
  742.      coffread.c
  743. `DAMON'
  744.      xcoffexec.c
  745. `DBXREAD_ONLY'
  746.      partial-stab.h
  747. `DBX_PARM_SYMBOL_CLASS'
  748.      stabsread.c
  749. `DEBUG'
  750.      remote-adapt.c
  751. `DEBUG_INFO'
  752.      partial-stab.h
  753. `DEBUG_PTRACE'
  754.      hppabsd-xdep.c
  755. `DECR_PC_AFTER_BREAK'
  756.      breakpoint.c
  757. `DEFAULT_PROMPT'
  758.      main.c
  759. `DELTA88'
  760.      m88k-xdep.c
  761. `DEV_TTY'
  762.      symmisc.c
  763. `DGUX'
  764.      m88k-xdep.c
  765. `DISABLE_UNSETTABLE_BREAK'
  766.      breakpoint.c
  767. `DONT_USE_REMOTE'
  768.      remote.c
  769. `DO_DEFERRED_STORES'
  770.      infrun.c
  771. `DO_REGISTERS_INFO'
  772.      infcmd.c
  773. `END_OF_TEXT_DEFAULT'
  774.      dbxread.c
  775. `EXTERN'
  776.      buildsym.h
  777. `EXTRACT_RETURN_VALUE'
  778.      tm-68k.h
  779. `EXTRACT_STRUCT_VALUE_ADDRESS'
  780.      values.c
  781. `EXTRA_FRAME_INFO'
  782.      frame.h
  783. `EXTRA_SYMTAB_INFO'
  784.      symtab.h
  785. `FILES_INFO_HOOK'
  786.      target.c
  787. `FIXME'
  788.      coffread.c
  789. `FLOAT_INFO'
  790.      infcmd.c
  791. `FOPEN_RB'
  792.      defs.h
  793. `FP0_REGNUM'
  794.      a68v-xdep.c
  795. `FPC_REGNUM'
  796.      mach386-xdep.c
  797. `FP_REGNUM'
  798.      parse.c
  799. `FPU'
  800.      Unused?  6-oct-92 rich@cygnus.com.  FIXME.
  801. `FRAMELESS_FUNCTION_INVOCATION'
  802.      blockframe.c
  803. `FRAME_ARGS_ADDRESS_CORRECT'
  804.      stack.c
  805. `FRAME_CHAIN_COMBINE'
  806.      blockframe.c
  807. `FRAME_CHAIN_VALID'
  808.      frame.h
  809. `FRAME_CHAIN_VALID_ALTERNATE'
  810.      frame.h
  811. `FRAME_FIND_SAVED_REGS'
  812.      stack.c
  813. `FRAME_GET_BASEREG_VALUE'
  814.      frame.h
  815. `FRAME_NUM_ARGS'
  816.      tm-68k.h
  817. `FRAME_SPECIFICATION_DYADIC'
  818.      stack.c
  819. `FUNCTION_EPILOGUE_SIZE'
  820.      coffread.c
  821. `F_OK'
  822.      xm-ultra3.h
  823. `GCC2_COMPILED_FLAG_SYMBOL'
  824.      dbxread.c
  825. `GCC_COMPILED_FLAG_SYMBOL'
  826.      dbxread.c
  827. `GCC_MANGLE_BUG'
  828.      symtab.c
  829. `GCC_PRODUCER'
  830.      dwarfread.c
  831. `GDB_TARGET_IS_HPPA'
  832.      This determines whether horrible kludge code in dbxread.c and
  833.      partial-stab.h is used to mangle multiple-symbol-table files from
  834.      HPPA's.  This should all be ripped out, and a scheme like
  835.      elfread.c used.
  836. `GDB_TARGET_IS_MACH386'
  837.      mach386-xdep.c
  838. `GDB_TARGET_IS_SUN3'
  839.      a68v-xdep.c
  840. `GDB_TARGET_IS_SUN386'
  841.      sun386-xdep.c
  842. `GET_LONGJMP_TARGET'
  843.      For most machines, this is a target-dependent parameter.  On the
  844.      DECstation and the Iris, this is a native-dependent parameter,
  845.      since <setjmp.h> is needed to define it.
  846.      This macro determines the target PC address that longjmp() will
  847.      jump to, assuming that we have just stopped at a longjmp
  848.      breakpoint.  It takes a CORE_ADDR * as argument, and stores the
  849.      target PC value through this pointer.  It examines the current
  850.      state of the machine as needed.
  851. `GET_SAVED_REGISTER'
  852.      findvar.c
  853. `GPLUS_PRODUCER'
  854.      dwarfread.c
  855. `GR64_REGNUM'
  856.      remote-adapt.c
  857. `GR64_REGNUM'
  858.      remote-mm.c
  859. `HANDLE_RBRAC'
  860.      partial-stab.h
  861. `HAVE_68881'
  862.      m68k-tdep.c
  863. `HAVE_REGISTER_WINDOWS'
  864.      findvar.c
  865. `HAVE_SIGSETMASK'
  866.      main.c
  867. `HAVE_TERMIO'
  868.      inflow.c
  869. `HEADER_SEEK_FD'
  870.      arm-tdep.c
  871. `HOSTING_ONLY'
  872.      xm-rtbsd.h
  873. `HOST_BYTE_ORDER'
  874.      ieee-float.c
  875. `HPUX_ASM'
  876.      xm-hp300hpux.h
  877. `HPUX_VERSION_5'
  878.      hp300ux-xdep.c
  879. `HP_OS_BUG'
  880.      infrun.c
  881. `I80960'
  882.      remote-vx.c
  883. `IBM6000_HOST'
  884.      breakpoint.c
  885. `IBM6000_TARGET'
  886.      buildsym.c
  887. `IEEE_DEBUG'
  888.      ieee-float.c
  889. `IEEE_FLOAT'
  890.      valprint.c
  891. `IGNORE_SYMBOL'
  892.      dbxread.c
  893. `INIT_EXTRA_FRAME_INFO'
  894.      blockframe.c
  895. `INIT_EXTRA_SYMTAB_INFO'
  896.      symfile.c
  897. `INIT_FRAME_PC'
  898.      blockframe.c
  899. `INNER_THAN'
  900.      valops.c
  901. `INT_MAX'
  902.      defs.h
  903. `INT_MIN'
  904.      defs.h
  905. `IN_GDB'
  906.      i960-pinsn.c
  907. `IN_SIGTRAMP'
  908.      infrun.c
  909. `IN_SOLIB_TRAMPOLINE'
  910.      infrun.c
  911. `ISATTY'
  912.      main.c
  913. `IS_TRAPPED_INTERNALVAR'
  914.      values.c
  915. `KERNELDEBUG'
  916.      dbxread.c
  917. `KERNEL_DEBUGGING'
  918.      tm-ultra3.h
  919. `LCC_PRODUCER'
  920.      dwarfread.c
  921. `LITTLE_ENDIAN'
  922.      defs.h
  923. `LOG_FILE'
  924.      remote-adapt.c
  925. `LONGERNAMES'
  926.      cplus-dem.c
  927. `LONGEST'
  928.      defs.h
  929. `LONG_LONG'
  930.      defs.h
  931. `LONG_MAX'
  932.      defs.h
  933. `L_LNNO32'
  934.      coffread.c
  935. `MACHKERNELDEBUG'
  936.      hppabsd-tdep.c
  937. `MAIN'
  938.      cplus-dem.c
  939. `MAINTENANCE'
  940.      dwarfread.c
  941. `MAINTENANCE_CMDS'
  942.      breakpoint.c
  943. `MAINTENANCE_CMDS'
  944.      maint.c
  945. `MIPSEL'
  946.      mips-tdep.c
  947. `MOTOROLA'
  948.      xm-altos.h
  949. `NAMES_HAVE_UNDERSCORE'
  950.      coffread.c
  951. `NBPG'
  952.      altos-xdep.c
  953. `NEED_POSIX_SETPGID'
  954.      infrun.c
  955. `NEED_TEXT_START_END'
  956.      exec.c
  957. `NFAILURES'
  958.      regex.c
  959. `NNPC_REGNUM'
  960.      infrun.c
  961. `NORETURN'
  962.      defs.h
  963. `NOTDEF'
  964.      regex.c
  965. `NOTDEF'
  966.      remote-adapt.c
  967. `NOTDEF'
  968.      remote-mm.c
  969. `NOTICE_SIGNAL_HANDLING_CHANGE'
  970.      infrun.c
  971. `NO_DEFINE_SYMBOL'
  972.      xcoffread.c
  973. `NO_HIF_SUPPORT'
  974.      remote-mm.c
  975. `NO_JOB_CONTROL'
  976.      signals.h
  977. `NO_MALLOC_CHECK'
  978.      utils.c
  979. `NO_MMALLOC'
  980.      utils.c
  981. `NO_MMALLOC'
  982.      objfiles.c
  983. `NO_MMALLOC'
  984.      utils.c
  985. `NO_SIGINTERRUPT'
  986.      remote-adapt.c
  987. `NO_SINGLE_STEP'
  988.      infptrace.c
  989. `NO_TYPEDEFS'
  990.      xcoffread.c
  991. `NO_TYPEDEFS'
  992.      xcoffread.c
  993. `NPC_REGNUM'
  994.      infcmd.c
  995. `NS32K_SVC_IMMED_OPERANDS'
  996.      ns32k-opcode.h
  997. `NUMERIC_REG_NAMES'
  998.      mips-tdep.c
  999. `N_SETV'
  1000.      dbxread.c
  1001. `N_SET_MAGIC'
  1002.      hppabsd-tdep.c
  1003. `NaN'
  1004.      tm-umax.h
  1005. `ONE_PROCESS_WRITETEXT'
  1006.      breakpoint.c
  1007.      convx-opcode.h
  1008. `PCC_SOL_BROKEN'
  1009.      dbxread.c
  1010. `PC_IN_CALL_DUMMY'
  1011.      inferior.h
  1012. `PC_LOAD_SEGMENT'
  1013.      stack.c
  1014. `PC_REGNUM'
  1015.      parse.c
  1016. `PRINT_RANDOM_SIGNAL'
  1017.      infcmd.c
  1018. `PRINT_REGISTER_HOOK'
  1019.      infcmd.c
  1020. `PRINT_TYPELESS_INTEGER'
  1021.      valprint.c
  1022. `PROCESS_LINENUMBER_HOOK'
  1023.      buildsym.c
  1024. `PROLOGUE_FIRSTLINE_OVERLAP'
  1025.      infrun.c
  1026. `PSIGNAL_IN_SIGNAL_H'
  1027.      defs.h
  1028. `PS_REGNUM'
  1029.      parse.c
  1030. `PTRACE_ARG3_TYPE'
  1031.      inferior.h
  1032. `PTRACE_FP_BUG'
  1033.      mach386-xdep.c
  1034. `PUSH_ARGUMENTS'
  1035.      valops.c
  1036. `REGISTER_BYTES'
  1037.      remote.c
  1038. `REGISTER_NAMES'
  1039.      tm-29k.h
  1040. `REG_STACK_SEGMENT'
  1041.      exec.c
  1042. `REG_STRUCT_HAS_ADDR'
  1043.      findvar.c
  1044. `RE_NREGS'
  1045.      regex.h
  1046. `R_FP'
  1047.      dwarfread.c
  1048. `R_OK'
  1049.      xm-altos.h
  1050. `SDB_REG_TO_REGNUM'
  1051.      coffread.c
  1052. `SEEK_END'
  1053.      state.c
  1054. `SEEK_SET'
  1055.      state.c
  1056. `SEM'
  1057.      coffread.c
  1058. `SET_STACK_LIMIT_HUGE'
  1059.      infrun.c
  1060. `SHELL_COMMAND_CONCAT'
  1061.      infrun.c
  1062. `SHELL_FILE'
  1063.      infrun.c
  1064. `SHIFT_INST_REGS'
  1065.      breakpoint.c
  1066. `SIGN_EXTEND_CHAR'
  1067.      regex.c
  1068. `SIGTRAP_STOP_AFTER_LOAD'
  1069.      infrun.c
  1070. `SKIP_PROLOGUE'
  1071.      tm-68k.h
  1072. `SKIP_PROLOGUE_FRAMELESS_P'
  1073.      blockframe.c
  1074. `SKIP_TRAMPOLINE_CODE'
  1075.      infrun.c
  1076. `SOLIB_ADD'
  1077.      core.c
  1078. `SOLIB_CREATE_INFERIOR_HOOK'
  1079.      infrun.c
  1080. `SOME_NAMES_HAVE_DOT'
  1081.      minsyms.c
  1082. `SP_REGNUM'
  1083.      parse.c
  1084. `STAB_REG_TO_REGNUM'
  1085.      stabsread.h
  1086. `STACK_ALIGN'
  1087.      valops.c
  1088. `STACK_DIRECTION'
  1089.      alloca.c
  1090. `START_INFERIOR_TRAPS_EXPECTED'
  1091.      infrun.c
  1092. `STOP_SIGNAL'
  1093.      main.c
  1094. `STORE_RETURN_VALUE'
  1095.      tm-68k.h
  1096. `SUN4_COMPILER_FEATURE'
  1097.      infrun.c
  1098. `SUN_FIXED_LBRAC_BUG'
  1099.      dbxread.c
  1100. `SVR4_SHARED_LIBS'
  1101.      solib.c
  1102. `SWITCH_ENUM_BUG'
  1103.      regex.c
  1104. `SYM1'
  1105.      tm-ultra3.h
  1106. `SYMBOL_RELOADING_DEFAULT'
  1107.      symfile.c
  1108. `SYNTAX_TABLE'
  1109.      regex.c
  1110. `Sword'
  1111.      regex.c
  1112. `TARGET_BYTE_ORDER'
  1113.      defs.h
  1114. `TARGET_CHAR_BIT'
  1115.      defs.h
  1116. `TARGET_COMPLEX_BIT'
  1117.      defs.h
  1118. `TARGET_DOUBLE_BIT'
  1119.      defs.h
  1120. `TARGET_DOUBLE_COMPLEX_BIT'
  1121.      defs.h
  1122. `TARGET_FLOAT_BIT'
  1123.      defs.h
  1124. `TARGET_INT_BIT'
  1125.      defs.h
  1126. `TARGET_LONG_BIT'
  1127.      defs.h
  1128. `TARGET_LONG_DOUBLE_BIT'
  1129.      defs.h
  1130. `TARGET_LONG_LONG_BIT'
  1131.      defs.h
  1132. `TARGET_PTR_BIT'
  1133.      defs.h
  1134. `TARGET_SHORT_BIT'
  1135.      defs.h
  1136. `TDESC'
  1137.      infrun.c
  1138. `TM_FILE_OVERRIDE'
  1139.      defs.h
  1140. `T_ARG'
  1141.      coffread.c
  1142. `T_VOID'
  1143.      coffread.c
  1144. `UINT_MAX'
  1145.      defs.h
  1146. `USER'
  1147.      m88k-tdep.c
  1148. `USE_GAS'
  1149.      xm-news.h
  1150. `USE_STRUCT_CONVENTION'
  1151.      values.c
  1152. `USIZE'
  1153.      xm-m88k.h
  1154. `U_FPSTATE'
  1155.      i386-xdep.c
  1156. `VARIABLES_INSIDE_BLOCK'
  1157.      dbxread.c
  1158. `WRS_ORIG'
  1159.      remote-vx.c
  1160. `_LANG_c'
  1161.      language.c
  1162. `_LANG_m2'
  1163.      language.c
  1164. `__GO32__'
  1165.      inflow.c
  1166. `__HAVE_68881__'
  1167.      m68k-stub.c
  1168. `__HPUX_ASM__'
  1169.      xm-hp300hpux.h
  1170. `__INT_VARARGS_H'
  1171.      printcmd.c
  1172. `__not_on_pyr_yet'
  1173.      pyr-xdep.c
  1174. `GOULD_PN'
  1175.      gould-pinsn.c
  1176. `emacs'
  1177.      alloca.c
  1178. `hp800'
  1179.      xm-hppabsd.h
  1180. `hpux'
  1181.      hppabsd-core.c
  1182. `longest_to_int'
  1183.      defs.h
  1184. `mc68020'
  1185.      m68k-stub.c
  1186. `ns32k_opcodeT'
  1187.      ns32k-opcode.h
  1188. `sgi'
  1189.      mips-tdep.c
  1190. `sparc'
  1191.      regex.c
  1192. `static'
  1193.      alloca.c
  1194. `sun'
  1195.      m68k-tdep.c
  1196. `sun386'
  1197.      tm-sun386.h
  1198. `test'
  1199.      regex.c
  1200. `x_name'
  1201.      coffread.c
  1202. `x_zeroes'
  1203.      coffread.c
  1204. File: gdbint.info,  Node: Native Conditionals,  Next: Obsolete Conditionals,  Prev: Target Conditionals,  Up: Top
  1205. Native Conditionals
  1206. *******************
  1207.    When GDB is configured and compiled, various macros are defined or
  1208. left undefined, to control compilation when the host and target systems
  1209. are the same.  These macros should be defined (or left undefined) in
  1210. `nm-SYSTEM.h'.
  1211. `ATTACH_DETACH'
  1212.      If defined, then gdb will include support for the `attach' and
  1213.      `detach' commands.
  1214. `FETCH_INFERIOR_REGISTERS'
  1215.      Define this if the native-dependent code will provide its own
  1216.      routines `fetch_inferior_registers' and `store_inferior_registers'
  1217.      in `HOST-nat.c'. If this symbol is *not* defined, and `infptrace.c'
  1218.      is included in this configuration, the default routines in
  1219.      `infptrace.c' are used for these functions.
  1220. `GET_LONGJMP_TARGET'
  1221.      For most machines, this is a target-dependent parameter.  On the
  1222.      DECstation and the Iris, this is a native-dependent parameter,
  1223.      since <setjmp.h> is needed to define it.
  1224.      This macro determines the target PC address that longjmp() will
  1225.      jump to, assuming that we have just stopped at a longjmp
  1226.      breakpoint.  It takes a CORE_ADDR * as argument, and stores the
  1227.      target PC value through this pointer.  It examines the current
  1228.      state of the machine as needed.
  1229. `PROC_NAME_FMT'
  1230.      Defines the format for the name of a `/proc' device.  Should be
  1231.      defined in `nm.h' *only* in order to override the default
  1232.      definition in `procfs.c'.
  1233. `REGISTER_U_ADDR'
  1234.      Defines the offset of the registers in the "u area"; *note Host::..
  1235. `USE_PROC_FS'
  1236.      This determines whether small routines in `*-tdep.c', which
  1237.      translate register values between GDB's internal representation
  1238.      and the /proc representation, are compiled.
  1239. `U_REGS_OFFSET'
  1240.      This is the offset of the registers in the upage.  It need only be
  1241.      defined if the generic ptrace register access routines in
  1242.      `infptrace.c' are being used (that is, `infptrace.c' is configured
  1243.      in, and `FETCH_INFERIOR_REGISTERS' is not defined).  If the
  1244.      default value from `infptrace.c' is good enough, leave it
  1245.      undefined.
  1246.      The default value means that u.u_ar0 *points to* the location of
  1247.      the registers.  I'm guessing that `#define U_REGS_OFFSET 0' means
  1248.      that u.u_ar0 *is* the location of the registers.
  1249. File: gdbint.info,  Node: Obsolete Conditionals,  Prev: Native Conditionals,  Up: Top
  1250. Obsolete Conditionals
  1251. *********************
  1252.    Fragments of old code in GDB sometimes reference or set the following
  1253. configuration macros.  They should not be used by new code, and old
  1254. uses should be removed as those parts of the debugger are otherwise
  1255. touched.
  1256. `STACK_END_ADDR'
  1257.      This macro used to define where the end of the stack appeared, for
  1258.      use in interpreting core file formats that don't record this
  1259.      address in the core file itself.  This information is now
  1260.      configured in BFD, and GDB gets the info portably from there.  The
  1261.      values in GDB's configuration files should be moved into BFD
  1262.      configuration files (if needed there), and deleted from all of
  1263.      GDB's config files.
  1264.      Any `FOO-xdep.c' file that references STACK_END_ADDR is so old
  1265.      that it has never been converted to use BFD.  Now that's old!
  1266.