ARM Technical Support Knowledge Articles

SOURCE LEVEL DEBUGGING WITH GNU ARM

Applies to: uVision Debugger

Answer


Information in this article applies to:


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 uVision debugger SET SRC command. For example:

set src=C:ProjectsMyFolder
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 KeilARMBIN.

MORE INFORMATION

SEE ALSO

Article last edited on: 2007-01-12 14:51:10

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential