Debugging with GDB

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

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