OAR

RTEMS 4.0.0 On-Line Library


GDB for DINK32

PREV UP NEXT Bookshelf Getting Started with RTEMS for C/C++ Users

6.4.3: 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:

gmake all install


PREV UP NEXT Bookshelf Getting Started with RTEMS for C/C++ Users

Copyright © 1988-1998 OAR Corporation