Debugging with GDB: Sparclet Connection

Next: Sparclet Download, Previous: Sparclet File, Up: Sparclet [Contents][Index]

#### 21.3.8.2 Connecting to Sparclet

The GDB command `target` lets you connect to a Sparclet target. To connect to a target on serial port “`ttya`”, type:

    (gdbslet) target sparclet /dev/ttya
    Remote target sparclet connected to /dev/ttya
    main () at ../prog.c:3

GDB displays messages like these:

    Connected to ttya.