This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug backtrace/9742] New: Cannot backtrace the stack on an ARM target in Thumb mode
- From: "IngedevTeam dot fr at ingenico dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 14 Jan 2009 10:15:35 -0000
- Subject: [Bug backtrace/9742] New: Cannot backtrace the stack on an ARM target in Thumb mode
- Reply-to: sourceware-bugzilla at sourceware dot org
I'm using GDB to debug an application on a remote ARM target, compiled in Thumb
mode (16-bit).
When the size of the locals is too big (apparently something close to 512
bytes), GDB is unable to display the call stack.
See attached file 'testBug.c': when you set a breakpoint at line 5 (function
"NoBugStack"), everything's fine. On the other hand, when you set a breakpoint
at line 12 (function "BugStack"), GDB is unable to display the call stack (the
command "bt" returns an error). The only difference between the 2 functions is
the size of the locals.
The file was compiled with GCC 3.4.3, with the following command line:
arm-elf-gcc.exe -g -c -Wall -Wcast-align -mthumb-interwork -mlittle-endian
-msoft-float -pipe -mcpu=arm920t -fomit-frame-pointer -fshort-enums
-mstructure-size-boundary=8 -mthumb
Additional notes:
- This does not happen when the application is compiled in ARM mode (32-bit)
- I've reproduced the problem with 2 different types of ARM target.
--
Summary: Cannot backtrace the stack on an ARM target in Thumb
mode
Product: gdb
Version: 6.8
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: backtrace
AssignedTo: unassigned at sourceware dot org
ReportedBy: IngedevTeam dot fr at ingenico dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=9742
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.