Need help configuring psim (gdb-6.6) for e500 simulation.

Anmol P. Paralkar b07584@freescale.com
Wed Feb 28 23:32:00 GMT 2007


Hello,

  I am trying to configure psim for the e500 with the following configuration for gdb-6.6:

CC=gcc ../../../src/gdb-6.6/configure --enable-sim-powerpc --target=powerpc-eabispe --prefix=/proj/ppc/sysperf/labhome/b07584/gnu/tools --program-prefix=powerpc-eabispe-

  However, psim does not recognize e500:

$ powerpc-eabispe-run -m e500 hello
Unknown model 'e500', Models which are known are:
         604
         603e
         603
         601
  --

  I tried specifying --enable-sim-model=e500 too - but that does not work. The build fails:

gcc -c -g -O2 -DDEFAULT_INLINE=PSIM_INLINE_LOCALS     -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SMP=5       -DWITH_FLOATING_POINT=HARD_FLOATING_POINT     -DWITH_MODEL=e500    -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO     -I. -I../../../../../src/gdb-6.6/sim/ppc -I../../../../../src/gdb-6.6/sim/ppc/../../include -I../../bfd -I../../../../../src/gdb-6.6/sim/ppc/../../bfd -I../../gdb -I../../../../../src/gdb-6.6/sim/ppc/../../gdb  -I../../../../../src/gdb-6.6/sim/ppc/../../gdb/config  -DHAVE_COMMON_FPU -I../common -I../../../../../src/gdb-6.6/sim/ppc/../common model.c
../../../../../src/gdb-6.6/sim/ppc/ppc-instructions: In function `ppc_insn_mtcr':
../../../../../src/gdb-6.6/sim/ppc/ppc-instructions:783: error: `e500' undeclared (first use in this function)
../../../../../src/gdb-6.6/sim/ppc/ppc-instructions:783: error: (Each undeclared identifier is reported only once

  Am I missing something here? Kindly help.

Thanks & Regards,
Anmol P. Paralkar



More information about the Gdb mailing list