backtrace issue on ARM target
viju vincent
vijuvince@gmail.com
Wed Jun 2 08:42:00 GMT 2010
hi all,
After applying the GCC patch (ARM stack frame simplification)
http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00697.html
In GDB, i am getting a corrupt stack on ARM target
{{{
GNU gdb 6.8
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 "arm-sony-linux-gnueabi"...
(gdb) b abort
Breakpoint 1 at 0x82b0
(gdb) run
Starting program:
/mnt/test/gdb-test-6.8/glibc/gdb-6.8.glibc/gdb/testsuite/gdb.base/gdb1250
Breakpoint 1, *__GI_abort () at abort.c:59
59 abort.c: No such file or directory.
in abort.c
(gdb) bt
#0 *__GI_abort () at abort.c:59
#1 0x0000841c in beta () at ../.././gdb/testsuite/gdb.base/gdb1250.c:43
#2 0x0000841c in beta () at ../.././gdb/testsuite/gdb.base/gdb1250.c:43
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
}}}
This "backtrace" issue noticed after calling abort function ( *__GI_abort () )
please let me know if there are any patches for GCC/GDB for fixing
this stack issue for ARM target
regards
viju
More information about the Gdb
mailing list