19 Specifying a Debugging Target
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
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
command to specify one of the target types configured for gdb
(see Commands for Managing Targets).
- 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 the current target architecture.
- These are alias commands for, respectively,