<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>gdb no debug symbols found</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1598/gdb-no-debug-symbols-found</link><description>Hi - I&amp;#39;m trying to use the pure-gcc make files and I&amp;#39;ve got my project building and the code is running, but when I try to launch startdebug gdb it reports no debugging symbols found: 
 Reading symbols from &amp;lt;path to my .elf file&amp;gt;...(no debugging symbols</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Feb 2014 19:12:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1598/gdb-no-debug-symbols-found" /><item><title>RE: gdb no debug symbols found</title><link>https://devzone.nordicsemi.com/thread/7059?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2014 19:12:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e0791f1-8c24-49e0-9afb-d8ad9d3138c4</guid><dc:creator>Jason De Lorme</dc:creator><description>&lt;p&gt;Thank you, Ole.  Adding -g worked.  I&amp;#39;m just getting familiar with GCC/GDB so I&amp;#39;ll also look into what Prithvi suggests with -ggdb as well, but so far just the -g gives me the symbols and I can setup through again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: gdb no debug symbols found</title><link>https://devzone.nordicsemi.com/thread/7060?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2014 18:46:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:472db5e0-1706-4c1b-95a2-6373cb21b278</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I guess -ggdb is a better flag to use in this case.
Ole, if this information was available in the nAN29 application note, I would not have had to roam through internet to find the information given by you and my setup time would have been considerably less. Adding it now is better than ever.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: gdb no debug symbols found</title><link>https://devzone.nordicsemi.com/thread/7058?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2014 16:07:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:771ee475-2491-4757-9786-afc8409ff11f</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;If you use my Makefiles, from the nrf51-pure-gcc-setup repository, you must remember to set the CFLAGS to -g in your project Makefile to get gcc to compile in debugging symbols. See for example &lt;a href="https://github.com/hlnd/nrf51-pure-gcc-setup/blob/master/examples/pca10001/s110/ble_app_proximity/Makefile"&gt;this Makefile&lt;/a&gt;, which currently have only -Os (optimize for size) as a parameter. If you add -g, you should get debuging symbols.&lt;/p&gt;
&lt;p&gt;However, the .out file is equivalent with the .elf or .axf file. The exact name is dependent on how the Makefiles are set up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: gdb no debug symbols found</title><link>https://devzone.nordicsemi.com/thread/7057?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2014 15:03:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f165fce2-a85c-4d64-b440-923e6c91f7d7</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Hi Jason,
In my blog &lt;a href="http://rumblingsofearthlord.wordpress.com/2014/02/03/setting-up-makefile-development-environment-for-nrf51822-in-linux/"&gt;here&lt;/a&gt; I have described how to set up a makefile environment with GNU-GCC in Ubuntu.
The makefile there works with gdb debugging in eclipse. Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>