Works for me... Having said that, its tricky because gdb also an embedded python so your system gdb may or may not be compatible. There is a Sage optional gdb package...
$ sage -gdb ┌────────────────────────────────────────────────────────────────────┐ │ SageMath Version 6.6.rc2, Release Date: 2015-04-02 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Warning: this is a prerelease version, and it may be unstable. ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ GNU gdb (GDB) Fedora 7.8.2-38.fc21 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from python...done. Python was not compiled with debug symbols (or it was stripped). Some functionality may not work (properly). warning: .cygdbinit: No such file or directory [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffe8414700 (LWP 19051)] Detaching after fork from child process 19060. Detaching after fork from child process 19062. sage: On Saturday, April 11, 2015 at 5:00:53 PM UTC+2, William wrote: > > Hi, > > I'm getting this with every version of Sage I try to run -- any ideas? > "sage -gdb" is an extremely important thing to support... > > /scratch/wstein/sage-6.6.rc0$ ./sage -gdb > ┌────────────────────────────────────────────────────────────────────┐ > │ Sage Version 6.6.rc0, Release Date: 2015-03-21 │ > │ Type "notebook()" for the browser-based notebook interface. │ > │ Type "help()" for help. │ > └────────────────────────────────────────────────────────────────────┘ > ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ > ┃ Warning: this is a prerelease version, and it may be unstable. ┃ > ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ > Fatal Python error: Py_Initialize: Unable to get the locale encoding > File > "/scratch/wstein/sage-6.6.rc0/local/lib/python/encodings/__init__.py", > line 123 > raise CodecRegistryError,\ > ^ > SyntaxError: invalid syntax > /scratch/wstein/sage-6.6.rc0$ > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
