RTEMS Logo

RTEMS 4.8.0 On-Line Library


GDB with PowerPC Instruction Simulator

PREV UP NEXT Bookshelf Getting Started with GNAT/RTEMS

6.5: GDB with PowerPC Instruction Simulator

Make the Build Directory

Create a build directory for the SIS Debugger

cd tools
mkdir build-ppc

Configure for the Build

Configure the GNU Debugger for the PowerPC Instruction Simulator (PSIM):

cd tools/build-ppc
../gdb-4.17/configure \
      --target=powerpc-unknown-eabi \
      --program-prefix=powerpc-rtems- \
      --enable-sim-powerpc \
      --enable-sim-timebase \
      --enable-sim-inline \
      --enable-sim-hardware \
      --enable-targets=all \
      --prefix=<INSTALL_POINT_FOR_PPC>

Where <INSTALL_POINT_FOR_PPC> is a unique location where the gdb with PSIM will be created.

Make the Debugger

From tools/build-ppc 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-2007OAR Corporation