OAR

RTEMS 4.5.1-pre3 On-Line Library


GDB for DINK32

PREV UP next Bookshelf Getting Started with GNAT/RTEMS

6.6: GDB for DINK32

Make the Build Directory

Create a build directory for the DINK32 Debugger

cd tools
mkdir build-dink32

Configure for the Build

Configure the GNU Debugger to communicate with the DINK32 ROM monitor:

cd tools/build-dink32
../gdb-4.17/configure --target-powerpc-elf \
    --program-prefix=powerpc-rtems- \
    --enable-targets=all \
    --prefix=<INSTALL_POINT_FOR_DINK32>

Where <INSTALL_POINT_FOR_DINK32> is a unique location where the gdb Dink32 will be created.

Make the Debugger

From tools/build-dink32 execute the following command sequence:

make all install

NOTE: The make utility used should be GNU make.


PREV UP next Bookshelf Getting Started with GNAT/RTEMS

Copyright © 1988-2000 OAR Corporation