installing debug symbols

shaunak saha reach2shaunak02 at gmail.com
Mon Apr 19 09:30:46 EDT 2010


Change PATH and LD_LIBRARY_PATH variable to use /usr/local instead of /usr

2010/4/19 sanam singh <sanamsingh at hotmail.com>

>  Hi,
> 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?
> Thirdly, when i type "python" in command shell python2.6 opens.
> Thanks in advance.
> Regards,
> Sanam
>
> ------------------------------
> Date: Mon, 19 Apr 2010 16:53:47 +0530
> From: reach2shaunak02 at gmail.com
> To: sanamsingh at hotmail.com
> CC: python-list at python.org; ddd at gnu.org
> Subject: Re: installing debug symbols
>
>
> Hi,
>
> You need to install the python debugging packages for your ubuntu version.
> I guess its "python-dbg"
>
> Regards,
> Shaunak
>
> 2010/4/19 sanam singh <sanamsingh at hotmail.com>
>
>  hi,
> 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.
> The error that i get in gdb when i attach a pid to it is :
> Loaded symbols for /usr/lib/python2.6/dist-packages/numpy/random/mtrand.so
> 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.
> (no debugging symbols found)...done.
> Loaded symbols for /usr/lib/python2.6/lib-dynload/_ctypes.so
> 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.
> (no debugging symbols found)...done.
> Loaded symbols for /usr/lib/python2.6/lib-dynload/cmath.so
> 0xb78a5422 in __kernel_vsyscall ()
>
> Thanks in advance.
>
> ------------------------------
> Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up
> now. <https://signup.live.com/signup.aspx?id=60969>
>
> _______________________________________________
> ddd mailing list
> ddd at gnu.org
> http://lists.gnu.org/mailman/listinfo/ddd
>
>
>
> ------------------------------
> Hotmail: Powerful Free email with security by Microsoft. Get it now.<https://signup.live.com/signup.aspx?id=60969>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100419/967d00cd/attachment.html>


More information about the Python-list mailing list