Hi, I am trying to debug an ARM9 code compiled using arm-eabi-* compilers installed with ecos 3.0 release. The code is running in a skyeye emulator and is using its gdbserver. As I don't have the real hardware, I am not able to test how the internal eCos gdb support works - anyway, I'd like to be able to debug the eCos kernel itself.
I am unable to do any backtraces (the emulator barfs at trying to access adresses 0xfffffffc - f). If I understand this correctly, the gdb expects r11 as the frame pointer. However, this register is null - no wonder this does not work. Specifying -mapcs-frame and/or -fno-omit-frame-pointer does not help. Is this a known problem? $ arm-eabi-gcc -v Using built-in specs. Target: arm-eabi Configured with: /gnutools/src/toolchains/gcc/gcc-4.3.2/configure -v --target=arm-eabi --prefix=/gnutools/builds/toolchains/arm-eabi/tools --with-newlib --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-__cxa_atexit --enable-threads --with-bugurl=http://bugs.ecos.sourceware.org/ --with-pkgversion='eCosCentric GNU tools 4.3.2-sw' --with-cpu=arm7tdmi Thread model: single gcc version 4.3.2 (eCosCentric GNU tools 4.3.2-sw) $ arm-eabi-gdb -v GNU gdb (eCosCentric GNU tools 4.3.2-sw) 6.8.50.20080706 Copyright (C) 2008 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-cygwin --target=arm-eabi". For bug reporting instructions, please see: <http://bugs.ecos.sourceware.org/>. eCos v3.0 Template: Samsung ARM9/SMDK2410 development board Thanks -- Stano -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
