#13889: Better automatic backtrace
--------------------------------+-------------------------------------------
Reporter: vbraun | Owner: GeorgSWeber
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.6
Component: build | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Volker Braun | Merged in:
Dependencies: #13881 | Stopgaps:
--------------------------------+-------------------------------------------
Comment (by vbraun):
What happens if you import site into the python interpreter in gdb?
{{{
(gdb) python import site
(gdb) python import sys
(gdb) python print sys.modules['site']
<module 'site' from
'/home/vbraun/opt/sage-5.5.rc1/local/lib/python/site.pyc'>
}}}
Did you build gdb with python enabled? This should be the default but
obviously requires Python to be installed in Gentoo.
{{{
(sage-sh) vbraun@volker-desktop:spkg$ ldd /usr/bin/gdb
linux-vdso.so.1 => (0x00007fffd2584000)
libreadline.so.6 =>
/home/vbraun/opt/sage-5.5.rc1/local/lib/libreadline.so.6
(0x00007faa4059e000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x000000325f400000)
libncurses.so.5 => /lib64/libncurses.so.5 (0x000000327a400000)
libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003275400000)
libz.so.1 => /home/vbraun/opt/sage-5.5.rc1/local/lib/libz.so.1
(0x00007faa4035f000)
libm.so.6 => /lib64/libm.so.6 (0x000000325e400000)
libdl.so.2 => /lib64/libdl.so.2 (0x000000325dc00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x000000325d800000)
libutil.so.1 => /lib64/libutil.so.1 (0x0000003276800000)
libpython2.7.so.1.0 =>
/home/vbraun/opt/sage-5.5.rc1/local/lib/libpython2.7.so.1.0
(0x00007faa3ff7f000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003262800000)
liblzma.so.5 => /lib64/liblzma.so.5 (0x0000003264000000)
libc.so.6 => /lib64/libc.so.6 (0x000000325d400000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x000000325f000000)
/lib64/ld-linux-x86-64.so.2 (0x000000325d000000)
librt.so.1 => /lib64/librt.so.1 (0x000000325e000000)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13889#comment:19>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.