RE: installing debug symbols

sanam singh <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general,gmane.comp.python.general
Message-ID <[email protected]>
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: [email protected]
To: [email protected]
CC: [email protected]; [email protected]
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 <[email protected]>






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.


_______________________________________________

ddd mailing list

[email protected]

http://lists.gnu.org/mailman/listinfo/ddd



 		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969

_______________________________________________
ddd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ddd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.