<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 08/08/2012 11:22 AM, Luca Cinquepalmi wrote:
<blockquote cite="mid:50229247.5060700@planetek.it" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hi all,<br>
I'm able to compile a rtems C source code and make it run on a
target board. It works without any problems.<br>
Now i want to compile it in debug mode. Shall I only use <b>-g</b>
flag or there are other options to set?<br>
I'm using sparc-rtems4.11-gcc compiler. <br>
</blockquote>
Normally we build with -g so you should have debug information.<br>
<br>
If using a Gaisler snapshot, I doubt they changed that.<br>
<br>
Do a file command on the .exe file and it will report if it has
symbols<br>
or not.<br>
<blockquote cite="mid:50229247.5060700@planetek.it" type="cite">
Thanks.<br>
<br>
Luca<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Joel Sherrill, Ph.D. Director of Research& Development
<a class="moz-txt-link-abbreviated" href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a> On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
</pre>
</body>
</html>