Sparclet Connection - Debugging with GDB
Description: Debugging with GDB

Next: Sparclet Download, Previous: Sparclet File, Up: Sparclet

##### 21.3.9.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.