30.08.2011 12:32, Eric Decker пишет:
> 1cxx etc is ram.   and for some reason gdb is thinking that it is down  in
> ram which is probably where it ends up.
>
> Not sure what is different in the elf file you are feeding into gdb.   Which
> gdb by the way.

Hi, Eric!

I'm using latest tools  20110716 and tried patches 20110813 and 20110822 
with no succes. The gdb is 7.2.

> basically you should use and elf analyzer program

the readelf -e shows that data is placed in wrong places and gdb is just 
dounig what elf says it to do. Here after a couple of lines from readelf 
output:
[16] .rodata._ZL7xfCon PROGBITS        00001c70 0000f4 000058 00   A  0 
   0  2

   [17] .rodata._ZL10HART PROGBITS        00001cc8 00014c 00006a 00   A 
  0   0  2

   [18] .rodata.small_fon PROGBITS        00001d32 0001b6 00000e 00   A 
  0   0  2

So it is linker I think responsible for wrong allocation...
But how to correct the situation?




------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to