equal
deleted
inserted
replaced
1 This patch adds Python debugger support. It may be contributed upstream at |
1 This patch adds Python debugger support. It may be contributed upstream at |
2 some point, but the suitability (or lack thereof) has not yet been determined. |
2 some point, but the suitability (or lack thereof) has not yet been determined. |
3 |
3 |
4 --- Python-2.7.7/Makefile.pre.in.~3~ 2014-06-02 10:54:32.421086337 -0700 |
4 --- Python-2.7.9/Makefile.pre.in.~3~ 2014-12-17 11:41:42.906190914 -0800 |
5 +++ Python-2.7.7/Makefile.pre.in 2014-06-02 10:54:32.438134113 -0700 |
5 +++ Python-2.7.9/Makefile.pre.in 2014-12-17 11:44:37.867187107 -0800 |
6 @@ -407,7 +407,7 @@ |
6 @@ -410,7 +410,7 @@ |
7 |
7 |
8 # Default target |
8 # Default target |
9 all: build_all |
9 all: build_all |
10 -build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks |
10 -build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks |
11 +build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks build-py_db |
11 +build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks build-py_db |
12 |
12 |
13 # Compile a binary with gcc profile guided optimization. |
13 # Compile a binary with gcc profile guided optimization. |
14 profile-opt: |
14 profile-opt: |
15 @@ -778,6 +778,19 @@ |
15 @@ -791,6 +791,19 @@ |
16 |
16 |
17 $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS) |
17 $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS) |
18 |
18 |
19 +SHLIB_FLAGS = -shared -fpic |
19 +SHLIB_FLAGS = -shared -fpic |
20 + |
20 + |
30 + $(INSTALL_SHARED) libpython2.7_db.so.1.0 $(DESTDIR)$(LIBDIR) |
30 + $(INSTALL_SHARED) libpython2.7_db.so.1.0 $(DESTDIR)$(LIBDIR) |
31 + $(INSTALL_PROGRAM) check_offset $(DESTDIR)$(BINDIR) |
31 + $(INSTALL_PROGRAM) check_offset $(DESTDIR)$(BINDIR) |
32 |
32 |
33 ###################################################################### |
33 ###################################################################### |
34 |
34 |
35 @@ -842,7 +855,7 @@ |
35 @@ -855,7 +868,7 @@ |
36 $(TESTPYTHON) $(TESTPROG) $(MEMTESTOPTS) |
36 $(TESTPYTHON) $(TESTPROG) $(MEMTESTOPTS) |
37 |
37 |
38 # Install everything |
38 # Install everything |
39 -install: @FRAMEWORKINSTALLFIRST@ altinstall bininstall maninstall @FRAMEWORKINSTALLLAST@ |
39 -install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall @FRAMEWORKINSTALLLAST@ |
40 +install: @FRAMEWORKINSTALLFIRST@ altinstall bininstall maninstall @FRAMEWORKINSTALLLAST@ install-py_db |
40 +install: @FRAMEWORKINSTALLFIRST@ commoninstall bininstall maninstall @FRAMEWORKINSTALLLAST@ install-py_db |
41 |
41 if test "x$(ENSUREPIP)" != "xno" ; then \ |
42 # Install almost everything without disturbing previous versions |
42 case $(ENSUREPIP) in \ |
43 altinstall: @FRAMEWORKALTINSTALLFIRST@ altbininstall libinstall inclinstall \ |
43 upgrade) ensurepip="--upgrade" ;; \ |
44 --- /dev/null |
44 --- /dev/null |
45 +++ Python-2.7.1/py_db/check_offsets.c |
45 +++ Python-2.7.1/py_db/check_offsets.c |
46 @@ -0,0 +1,87 @@ |
46 @@ -0,0 +1,87 @@ |
47 +/* |
47 +/* |
48 + * CDDL HEADER START |
48 + * CDDL HEADER START |