GDB ARM Simulator

hans meyer der_stuttgarter_25 at hotmail.de
Tue Apr 10 14:28:33 UTC 2012


Hi everyone, hope u had a nice easter weekend...

I am just trying to get the hello world example ready to run on the GDB ARM simulator.

All i get is: 

claas at svezda ~/workspace/archive/rtems/examples-v2/hello $ arm-rtemseabi4.11-gdb ./hello_world_c/o-optimize/hello.exe 
GNU gdb (GDB) 7.4
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=x86_64-unknown-linux-gnu --target=arm-rtemseabi4.11".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/claas/workspace/archive/rtems/examples-v2/hello/hello_world_c/o-optimize/hello.exe...done.
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .text, size 0x10ac8 vma 0x5c0
Loading section .init, size 0x18 vma 0x11088
Loading section .fini, size 0x18 vma 0x110a0
Loading section .rodata, size 0x7e4 vma 0x110b8
Loading section .ARM.extab, size 0x30 vma 0x1189c
Loading section .ARM.exidx, size 0xe8 vma 0x118cc
Loading section .eh_frame, size 0x4 vma 0x119b4
Loading section .init_array, size 0x4 vma 0x119b8
Loading section .fini_array, size 0x4 vma 0x119bc
Loading section .jcr, size 0x4 vma 0x119c0
Loading section .data, size 0x5e8 vma 0x119c8
Start address 0x5c0
Transfer rate: 577376 bits in <1 sec.
(gdb) run
Starting program: /home/claas/workspace/archive/rtems/examples-v2/hello/hello_world_c/o-optimize/hello.exe 

[process 42000] #1 stopped.
0x00000108 in bsp_stack_fiq_begin ()
(gdb) 

is that a correct behavior and am i just stupid or do u have any hints what i did wrong?

i built the toolchain following the guide here: http://www.rtems.com/wiki/index.php/ARM-EABI

and used the following configure options:

  ../binutils-2.21/configure --target=arm-rtemseabi4.11 --prefix=/opt/rtems-4.11
../gcc-4.6.2/configure --target=arm-rtemseabi4.11 --with-gnu-as --with-gnu-ld --with-newlib --verbose --enable-threads --enable-languages="c" --prefix=/opt/rtems-4.11
../gdb-7.4/configure --target=arm-rtemseabi4.11 --prefix=/opt/rtems-4.11/
../../archive/rtems/rtems/configure --target=arm-rtemseabi4.11 --disable-posix --disable-networking --disable-cxx --prefix=/opt/rtems-4.11 --enable-rtemsbsp="csb336 csb337 csb637 kit637_v6 edb7312 gba arm1136jfs arm1136js arm7tdmi arm920 armcortexa9 gp32 gumstix lm3s6965 lpc17xx_ea_ram lpc17xx_ea_rom_int lpc24xx_ea lpc24xx_ncs_ram lpc24xx_ncs_rom_ext lpc24xx_ncs_rom_int lpc24xx_plx800_rom_int lpc32xx_mzx lpc32xx_mzx_stage_1 lpc32xx_mzx_stage_2 lpc32xx_phycore nds rtl22xx rtl22xx_t smdk2410"

RTEMS_MAKEFILE_PATH=/opt/rtems-4.11/arm-rtemseabi4.11/armcortexa9/

greetz
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120410/5061f728/attachment.html>


More information about the users mailing list