<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>uV debugging of externally compiled files</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/26840/uv-debugging-of-externally-compiled-files</link><description> 
Hi, 

 
I&amp;#39;m starting to work with the Keil MDK_ARM_4.14 and I have some
problems with setting up a project for debugging. I build my software
with an external build process using a makefile. The output format is
dwarf2 and the file extension of the</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: uV debugging of externally compiled files</title><link>https://community.arm.com/thread/136413?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2011 01:59:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0352b70f-0e79-41dc-a4e8-374672325200</guid><dc:creator>Ralf Hochhausen</dc:creator><description>&lt;p&gt;&lt;p&gt;
Is it possible to force the linker to include absolute path names
in the output elf file?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uV debugging of externally compiled files</title><link>https://community.arm.com/thread/126719?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2011 00:52:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ffcc0bd5-ff37-4aec-ba3b-2cc529ca3e06</guid><dc:creator>Ralf Hochhausen</dc:creator><description>&lt;p&gt;&lt;p&gt;
Sorry,&lt;/p&gt;

&lt;p&gt;
now I&amp;#39;ve found that the elf contains a mixture of relative and
absolute pathes. Thats the reason for my problems.&lt;/p&gt;

&lt;p&gt;
Thanks a lot for your help!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uV debugging of externally compiled files</title><link>https://community.arm.com/thread/116283?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2011 00:37:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:427c2155-5a9a-48c1-abf7-731e137f70d3</guid><dc:creator>Ralf Hochhausen</dc:creator><description>&lt;p&gt;&lt;p&gt;
Now I have found that when I create the project in the prog
subfolder the uV environment finds my source files and opens them
automatically. But there is one problem left. Library source files
are still not opened. The symbols window of the debugger tells me,
that uV searches my library files one step above the prog folder. So
it seems that the uV uses relative pathes. But when I dump the elf
content I can only find absolute pathes in the debug file. This seems
a little bit strange for me.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uV debugging of externally compiled files</title><link>https://community.arm.com/thread/104662?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2011 00:24:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:790e127e-ac43-42f4-b88f-b3e8a29ee3de</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
But does it store absolute or relative paths?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uV debugging of externally compiled files</title><link>https://community.arm.com/thread/79100?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2011 23:35:55 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f309d4b9-7908-42c6-bb04-40028591a0fc</guid><dc:creator>Ralf Hochhausen</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks for the fast reply!&lt;/p&gt;

&lt;p&gt;
I thought that the complete path information is located in the
*.elf file isn&amp;#39;t it? I made a dump of the elf using the fromelf tool
and it contains all pathes of my linked objects.&lt;/p&gt;

&lt;p&gt;
Where does the debugger take the path information from?&lt;/p&gt;

&lt;p&gt;
My folder strcture is as follows:&lt;/p&gt;

&lt;p&gt;
&amp;lt;project&amp;gt;\build&lt;br /&gt;
&amp;lt;project&amp;gt;\prog =&amp;gt; contains the application code and make
file&lt;br /&gt;
&amp;lt;project&amp;gt;\uses =&amp;gt; contains library files&lt;/p&gt;

&lt;p&gt;
My elf-file is generated in the prog folder. The uV project is
located in the &amp;lt;project&amp;gt; root folder, i.e. one step above the
elf-fle in the prog folder.&lt;/p&gt;

&lt;p&gt;
rgds,&lt;br /&gt;
Ralf&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: uV debugging of externally compiled files</title><link>https://community.arm.com/thread/66367?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2011 07:21:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:56b1dad0-b4f4-4189-9295-f5d5d1ca7cbe</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
The debugger needs to know the correct paths to the source files
to be able to open them. So what directory are you in when building
externally? What directory are you in when debugging? What directory
are you in when building using the IDE?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>