(gdb.info.gz) Targets

Info Catalog (gdb.info.gz) GDB Files (gdb.info.gz) Top (gdb.info.gz) Remote Debugging
 
 19 Specifying a Debugging Target
 ********************************
 
 A "target" is the execution environment occupied by your program.
 
    Often, GDB runs in the same host environment as your program; in
 that case, the debugging target is specified as a side effect when you
 use the `file' or `core' commands.  When you need more flexibility--for
 example, running GDB on a physically separate host, or controlling a
 standalone system over a serial port or a realtime system over a TCP/IP
 connection--you can use the `target' command to specify one of the
 target types configured for GDB ( Commands for Managing Targets
 Target Commands.).
 
    It is possible to build GDB for several different "target
 architectures".  When GDB is built like that, you can choose one of the
 available architectures with the `set architecture' command.
 
 `set architecture ARCH'
      This command sets the current target architecture to ARCH.  The
      value of ARCH can be `"auto"', in addition to one of the supported
      architectures.
 
 `show architecture'
      Show the current target architecture.
 
 `set processor'
 `processor'
      These are alias commands for, respectively, `set architecture' and
      `show architecture'.
 

Menu

 
* Active Targets              Active targets
* Target Commands             Commands for managing targets
* Byte Order                  Choosing target byte order
 
Info Catalog (gdb.info.gz) GDB Files (gdb.info.gz) Top (gdb.info.gz) Remote Debugging
automatically generated by info2html