Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/build/pkgs/cython/patches/gdbout.patch
8820 views
1
--- src.orig/Cython/Compiler/CmdLine.py 2013-05-11 07:46:55.000000000 +0200
2
+++ src/Cython/Compiler/CmdLine.py 2013-06-04 19:09:59.000000000 +0200
3
@@ -28,6 +28,7 @@ Options:
4
-w, --working <directory> Sets the working directory for Cython (the directory modules
5
are searched from)
6
--gdb Output debug information for cygdb
7
+ --gdb-outdir <directory> Specify gdb debug information output directory. Implies --gdb.
8
9
-D, --no-docstrings Strip docstrings from the compiled module.
10
-a, --annotate Produce a colorized HTML version of the source.
11
@@ -138,6 +125,9 @@ def parse_command_line(args):
12
elif option == "--gdb":
13
options.gdb_debug = True
14
options.output_dir = os.curdir
15
+ elif option == "--gdb-outdir":
16
+ options.gdb_debug = True
17
+ options.output_dir = pop_arg()
18
elif option == '-2':
19
options.language_level = 2
20
elif option == '-3':
21
22