Technical Support

µVISION DEBUGGER: SOURCE LEVEL DEBUGGING WITH GNU ARM


Information in this article applies to:

  • GNU ARM Compiler
  • µVision Version 3.00

QUESTION

I have a complex project with several source folders that I build with the GNU ARM compiler. In this situation source-level debugging fails. How can I solve this issue?

ANSWER

The GNU ARM Compiler does not store path information in the ELF/DWARF file. Therefore, you must manually specify the path names for your source files using the µVision debugger SET SRC command. For example:

set src=C:\Projects\MyFolder
set src="C:\\Controller Projects\\PRJ A\\src"

If you have problems with variable display you may need to update the SARM.DLL. Download the attachment and copy the file to the folder Keil\ARM\BIN.

MORE INFORMATION

  • Refer to SET in the µVision User's Guide.

SEE ALSO

ATTACHED FILES

Request the files attached to this knowledgebase article.

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Friday, January 12, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure