powerpc | psim gdb error

Joel Sherrill joel.sherrill at OARcorp.com
Sat May 26 18:18:53 UTC 2012


Use the psim and psim-gdb scripts in rtems-testing git module. Psim requires a device tree file which is quite complicated.

Hesham Moustafa <heshamelmatary at gmail.com> wrote:

>hey ,
>
>I have configured rtems with following configuration
>
>$../configure --target=powerpc-rtems4.11 --enable-rtemsbsp=psim --enable-tests
>
>then run
>
>$make
>
>it's built with no error , but when i tried to run hello.* example with gdb i got this error
>
>hesham at Hesham-Laptop hello$ powerpc-rtems4.11-gdb hello.exe
>GNU gdb (GDB) 7.4.1
>Copyright (C) 2012 Free Software Foundation, Inc.
>License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>This is free software: you are free to change and redistribute it.
>There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>and "show warranty" for details.
>This GDB was configured as "--host=i686-pc-linux-gnu --target=powerpc-rtems4.11".
>For bug reporting instructions, please see:
><http://www.gnu.org/software/gdb/bugs/>...
>Reading symbols from /home/hesham/powerpc/powerpc-rtems4.11/c/psim/testsuites/samples/hello/hello.exe...done.
>(gdb) tar sim
>Connected to the simulator.
>(gdb) load
>(gdb) r
>Starting program: /home/hesham/powerpc/powerpc-rtems4.11/c/psim/testsuites/samples/hello/hello.exe
>Unknown PVR value of 0x0. Please add it to <libcpu/powerpc/shared/include/cpuIdent.c>
>rtems-4.10.99.0(PowerPC/Generic (classic FPU)/psim) PANIC cannot initialize exceptions
>core_find_mapping() - access to unmaped address, attach a default map to handle this - addr=0xc131000 nr_bytes=0x4 processor=0xb71ec008 cia=0x1638
>
>(gdb)
>
>I would appreciate any help
>
>thanks,
>Hesham




More information about the devel mailing list