If you simply start gdb
without using any command-line
options, you are prompted for what serial port to use, before you
reach the ordinary GDB prompt:
Attach /dev/ttyNN -- specify NN, or "quit" to quit:
Respond to the prompt with whatever suffix (after `/dev/tty')
identifies the serial port you want to use. You can, if you choose,
simply start up with no Nindy connection by responding to the prompt
with an empty line. If you do this and later wish to attach to Nindy,
use target
(see section Commands for managing targets).
Go to the first, previous, next, last section, table of contents.