installing debug symbols

sanam singh <[email protected]>
Newsgroups gmane.comp.python.general,gmane.comp.debugging.ddd.general
Message-ID <[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.
https://signup.live.com/signup.aspx?id=60969
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.