<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Have you tried searching puredata.info for "gdb"? &nbsp;There is some info there for how to do it. &nbsp;Its relatively easy once you know the right steps, I've done it a few times.</div><div><br></div><div>For debug builds, you just need to make sure you have "-g" as a flag, and remove any "-O" flags and 'strip' commands.</div><div><br></div><div>.hc</div><br><div><div>On Nov 3, 2010, at 9:58 PM, Etienne THUILLIER wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">what I mean is thay I want a "<span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 11px; line-height: 15px; ">no optimisation" option not a "no compilation" of course.. sorry for the typo.. I hope I m responding correctly to the list for this correction.. I am a newbie...</span><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 11px; line-height: 15px; ">&nbsp;</span><div><div><br><div><div>Le 3 nov. 10 à 21:02, Etienne THUILLIER a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; color: rgb(51, 51, 51); font-size: 11px; line-height: 15px; ">hello all..<br><br>i built a complicated external and needed to debug it. i wanted to use gdb debugger (i m under linux) and since I found no info about how to find the external s "mounting" adress which gdb requires, i m currently compiling pure data extended as a whole plus my source code added.. so I ve added myexternal_setup() function in m_conf.c and I referenced my source files in the makefile.in file of the src directory..<br><br>gdb seems to work fine appart that it seems to jump portions of code without reason.. so i m wondering if thats not caused by optimisation arguments given to the gcc compiler when building.. i ve noticed the -O2 options in a few make/config files which are generated automaticaly after the "make install" command... where can i specify that i want thoses files to be generated so as to include a "no compilation" option (for example the -O0 option if i'm correct)??<br><br>i ve searched a long time.. any idea, or hint to where to look would be of great help.. thanks in advance..</span><div><font class="Apple-style-span" color="#333333" face="verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 11px; line-height: 15px;"><br></span></font></div><div><font class="Apple-style-span" color="#333333" face="verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 11px; line-height: 15px;">cheers<br></span></font><div><font class="Apple-style-span" color="#333333" face="verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 11px; line-height: 15px;"><br></span></font><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Etienne THUILLIER</div><div><a href="mailto:etienne.thuillier@polymtl.ca">etienne.thuillier@polymtl.ca</a></div></div></span> </div><br></div></div></div>_______________________________________________<br>Pd-dev mailing list<br><a href="mailto:Pd-dev@iem.at">Pd-dev@iem.at</a><br><a href="http://lists.puredata.info/listinfo/pd-dev">http://lists.puredata.info/listinfo/pd-dev</a><br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Etienne THUILLIER</div><div><a href="mailto:etienne.thuillier@polymtl.ca">etienne.thuillier@polymtl.ca</a></div><div><br></div><div>L’information contenue dans ce courrier électronique est strictement<br>confidentielle et réservée au destinataire désigné ci-dessus. En cas<br>d’erreur du destinataire, merci d’avoir l’obligeance de nous en avertir<br>immédiatement par retour de télécopie ou de courriel et de détruire le<br>message.<br><br><br><br>The information contained in this e-mail is privileged and confidential and<br>for the use of the above named addressee only. Should you have received this<br>e-mail in error please notify us immediately by reply facsimile or e-mail<br>and delete this message.<br></div></div></span> </div><br></div></div></div>_______________________________________________<br>Pd-dev mailing list<br><a href="mailto:Pd-dev@iem.at">Pd-dev@iem.at</a><br><a href="http://lists.puredata.info/listinfo/pd-dev">http://lists.puredata.info/listinfo/pd-dev</a><br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><br class="Apple-interchange-newline"><div><br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>Computer science is no more related to the computer than astronomy is related to the telescope.&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;-Edsger Dykstra</div><br class="Apple-interchange-newline"></div></span> </div><br></body></html>