This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Load image file (WINARM)

Note: This was originally posted on 14th August 2009 at http://forums.arm.com

[color="#FF0000"]The legacy armsd and AXD debuggers do not support the new DWARF3 debug information produced by RVCT 3.0. When loading images created with RVCT 3.0, the debugger will report:

DBT Warning 00056: Debug table format error at offset 0x0 in area .debug_info

To load images built with RVCT 3.0 into armsd and AXD, you must compile your application using the --dwarf2 command-line option[/color]

I have tried by including "--dwarf2" to the compiler option but it did not work. I am getting an compile error message "cc1.exe: error: unrecognized command line option "-fdwarf2"" . I compiled this using "WinARM". Please help me to solve this.
  • Note: This was originally posted on 18th August 2009 at http://forums.arm.com

    The --dwarf2 option is for RVCT.  You are not using RVCT - you will need to find the equivalent command-line option for your toolchain.  I think WinARM is GCC-based.  Looking around, the option you want might be "-gdwarf-2", but I'd advise you to look in the documentation and check.  Hope this helps.


    Thanks a lot for your reply. Actually I am using "WinARM" to compile the code and the created image is loaded in AXD. I tried the option "-gdwarf-2" to compile the code using"WinARM" but when the created image was loaded in AXD the same error: [color="#FF0000"]"DBT Warning 00056: Debug table format error at offset 0x0 in area .debug_info"[/color] occurred. I don't have RVDS tool.
  • Note: This was originally posted on 14th August 2009 at http://forums.arm.com

    I have tried by including "--dwarf2" to the compiler option but it did not work. I am getting an compile error message "cc1.exe: error: unrecognized command line option "-fdwarf2"" . I compiled this using "WinARM". Please help me to solve this.


    The --dwarf2 option is for RVCT.  You are not using RVCT - you will need to find the equivalent command-line option for your toolchain.  I think WinARM is GCC-based.  Looking around, the option you want might be "-gdwarf-2", but I'd advise you to look in the documentation and check.  Hope this helps.