RTEMS Logo

RTEMS 4.6.1 On-Line Library


Getting Started Starting a debugging session

PREV UP NEXT Bookshelf RTEMS/GDB User's Guide

3.2: Starting a debugging session

After having launched GDB, the user must connect to the RTEMS target with the following commands:

(gdb) setrpcmode sun
(gdb) setdaemontype rdbg
(gdb) target rtems target-name

Then he can use the file GDB command to specify the binary to be debugged.

This initialization phase can be written in a ``.gdbinit'' file. Each time, the user will launch GDB, it will execute this initialization sequence.


PREV UP NEXT Bookshelf RTEMS/GDB User's Guide

Copyright © 1988-2004 OAR Corporation