[Icc-arm] ICCARM - global variables in .s files don't appear in dbg file

Sergio Paulo Sider sergiosider at gmail.com
Mon Jun 4 07:49:49 PDT 2007


Hi Richard & All,

I am using ICCARV (advanced) with the Segger JTAG and NoiceArm.

In my project files, I have the main code in C, a custom crt.s file
(to add the FIQ handler support) and an additional .s file with the
FIQ handler itself.

I defined several RAM vars (AREA "Cidata",DATA,READWRITE) with "_"
before , for example: _imax, _imin, _media,... and exported with
EXPORT.
In the C file, I defined this vars (without the underline) as "extern".

Everything works as planned , but the vars, although appear in the map
file (.mp), are not available in the .DBG file (with or without the
underline). So, in Noice, I could not watch these vars. I have to
manually read their value reading the RAM where they reside.

How can I get these vars to appear in the .dbg file?

Also, I could not put breakpoints in the assembly file.

What could be wrong ?

Thanks!!
Sergio.









On 6/3/07, Richard <richard at imagecraft.com> wrote:
>  From the read me excerpts...
>
> V7.7A - June 3rd 2007
>    IDE
>      - Vista compatible licensing engine
>    Compiler/Assembler/Linker
>      - Fully support function pointers in Thumb mode
>      - Miscellaneous dbg2dwarf fixes for assertion errors etc.
>
>
> // richard <http://www.imagecraft.com/>
> <http://www.dragonsgate.net/mailman/listinfo> On-line orders,
> support, and listservers available on web site.
> [ For technical support on ImageCraft products, please include all
> previous replies in your msgs. ]
>
> _______________________________________________
> Icc-arm mailing list
> Icc-arm at imagecraft.com
> http://dragonsgate.net/mailman/listinfo/icc-arm
>



More information about the Icc-arm mailing list