[arm-gnu] difference between values from readelf and GDB

Carlos O'Donell carlos_odonell at mentor.com
Mon Jun 11 14:45:05 UTC 2012


On 6/11/2012 10:01 AM, Vaclav Peroutka wrote:
> Hello,
> I have simple linker script for Cortex M3 below. If I use arm-none-eabi-readelf, I can get correct values for _etext, _data, _edata. But if I run arm-none-eabi-gdb with this ELF, I see all values wrong. What is wrong here ?

Please provide example gdb usage.

Please explain your expected versus observed behaviour.
 
Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell at mentor.com
carlos at codesourcery.com
+1 (613) 963 1026



More information about the arm-gnu mailing list