Change PATH and LD_LIBRARY_PATH variable to use /usr/local instead of /usr <br><br><div class="gmail_quote">2010/4/19 sanam singh <span dir="ltr"><<a href="mailto:sanamsingh@hotmail.com">sanamsingh@hotmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
Hi,<br>Thanks for your reply. well the problem is that for gfb you need a python interpreter with debugging symbols, but unfortunately as i am using ubuntu9.10 it has python2.6 without debugging symbols. now there are two ways out of it.first is that if we could add debug symbols to pre installed pyhon2.6.Second is that i have installed python3.1 with debugging symbols but it has been installed in usr/local/bin opposed to usr/bin where python2.6 is installed. now can we somehow tell ubuntu to use python3.1 instead of python2.6?<br>
Thirdly, when i type "python" in command shell python2.6 opens.<br>Thanks in advance.<br>Regards,<br>Sanam<br><br><hr>Date: Mon, 19 Apr 2010 16:53:47 +0530<br>From: <a href="mailto:reach2shaunak02@gmail.com" target="_blank">reach2shaunak02@gmail.com</a><br>
To: <a href="mailto:sanamsingh@hotmail.com" target="_blank">sanamsingh@hotmail.com</a><br>CC: <a href="mailto:python-list@python.org" target="_blank">python-list@python.org</a>; <a href="mailto:ddd@gnu.org" target="_blank">ddd@gnu.org</a><br>
Subject: Re: installing debug symbols<div><div></div><div class="h5"><br><br>Hi,<br><br>You need to install the python debugging packages for your ubuntu version. I guess its "python-dbg"<br><br>Regards,<br>Shaunak<br>
<br><div>2010/4/19 sanam singh <span dir="ltr"><<a href="mailto:sanamsingh@hotmail.com" target="_blank">sanamsingh@hotmail.com</a>></span><br>
<blockquote style="padding-left: 1ex;">



<div>
hi,<br>i am using ubuntu 9.10. it comes with preinstalled python2.6 having no debug symbols.How can i add debug symbols to it. Secondly i cant afford to install a fresh python version using OPT=-g way. Please tell me how can i add symbols to existing python2.6.<br>

The error that i get in gdb when i attach a pid to it is :<br>Loaded symbols for /usr/lib/python2.6/dist-packages/numpy/random/mtrand.so<br>Reading symbols from /usr/lib/python2.6/lib-dynload/_ctypes.so...Reading symbols from /usr/lib/debug/usr/lib/python2.6/lib-dynload/_ctypes.so...done.<br>

(no debugging symbols found)...done.<br>Loaded symbols for /usr/lib/python2.6/lib-dynload/_ctypes.so<br>Reading symbols from /usr/lib/python2.6/lib-dynload/cmath.so...Reading symbols from /usr/lib/debug/usr/lib/python2.6/lib-dynload/cmath.so...done.<br>

(no debugging symbols found)...done.<br>Loaded symbols for /usr/lib/python2.6/lib-dynload/cmath.so<br>0xb78a5422 in __kernel_vsyscall ()<br><br>Thanks in advance.<br><div>                                           <br><hr>Hotmail: Trusted email with Microsoft’s powerful SPAM protection. <a href="https://signup.live.com/signup.aspx?id=60969" target="_blank">Sign up now.</a></div>

</div>
<br>_______________________________________________<br>
ddd mailing list<br>
<a href="mailto:ddd@gnu.org" target="_blank">ddd@gnu.org</a><br>
<a href="http://lists.gnu.org/mailman/listinfo/ddd" target="_blank">http://lists.gnu.org/mailman/listinfo/ddd</a><br>
<br></blockquote></div><br>                                       <br></div></div><div class="hm"><hr>Hotmail: Powerful Free email with security by Microsoft. <a href="https://signup.live.com/signup.aspx?id=60969" target="_blank">Get it now.</a></div>
</div>
</blockquote></div><br>