Examples - Debugging with GDB
Description: Debugging with GDB

Next: File-I/O Remote Protocol Extension, Previous: Packet Acknowledgment, Up: Remote Protocol

### E.12 Examples

Example sequence of a target being re-started. Notice how the restart does not get any direct output:

         -> R00
         <- +
         target restarts
         -> ?
         <- +
         <- T001:1234123412341234
         -> +

Example sequence of a target being stepped by a single instruction:

         -> G1445...
         <- +
         -> s
         <- +
         time passes
         <- T001:1234123412341234
         -> +
         -> g
         <- +
         <- 1455...
         -> +