Commit 6a6666ab authored by Benjamin Peterson's avatar Benjamin Peterson

Merged revisions 79548,79557,79616-79617,79716,79778,79795,79803,79896 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79548 | martin.v.loewis | 2010-04-01 02:40:51 -0500 (Thu, 01 Apr 2010) | 3 lines

  Issue #8032: For gdb7, a python-gdb.py file is added to the build,
  allowing to use advanced gdb features when debugging Python.
........
  r79557 | antoine.pitrou | 2010-04-01 12:56:57 -0500 (Thu, 01 Apr 2010) | 5 lines

  Issue #8281: rename test_gdb_sample.py to gdb_sample.py, otherwise it gets picked
  as a regular test by regrtest.py, and fails.
........
  r79616 | mark.dickinson | 2010-04-02 15:22:21 -0500 (Fri, 02 Apr 2010) | 1 line

  Add python.exe-gdb.py to svn:ignore, for the benefit of OS X developers.
........
  r79617 | mark.dickinson | 2010-04-02 15:34:26 -0500 (Fri, 02 Apr 2010) | 1 line

  Add python-gdb.py and python.exe-gdb.py to distclean target in Makefile.
........
  r79716 | martin.v.loewis | 2010-04-03 13:54:07 -0500 (Sat, 03 Apr 2010) | 2 lines

  Don't install python-gdb.py as an executable.
........
  r79778 | r.david.murray | 2010-04-04 20:34:50 -0500 (Sun, 04 Apr 2010) | 3 lines

  Issue 8287: try to fix the gdb-python install errors on Solaris
  and FreeBSD.  Patch by Dave Malcolm.
........
  r79795 | ronald.oussoren | 2010-04-05 06:21:21 -0500 (Mon, 05 Apr 2010) | 7 lines

  Ensure that the gdb hooks can be installed when
  srcdir != builddir.

  Without this patch it is no longer possible to
  build python when you don't run configure from
  the root of the source tree.
........
  r79803 | r.david.murray | 2010-04-05 11:28:49 -0500 (Mon, 05 Apr 2010) | 3 lines

  Issue 8316: make test_gdb robust in the face of differing terminal
  widths.  Patch by Dave Malcolm.
........
  r79896 | martin.v.loewis | 2010-04-07 14:11:32 -0500 (Wed, 07 Apr 2010) | 2 lines

  Issue #8337: Disable the remaining test also for now.
........
parent 04b50008
...@@ -14,6 +14,7 @@ platform ...@@ -14,6 +14,7 @@ platform
pyconfig.h pyconfig.h
libpython*.a libpython*.a
python.exe python.exe
python-gdb.py
reflog.txt reflog.txt
tags tags
TAGS TAGS
......
...@@ -31,6 +31,7 @@ Modules/Setup.local ...@@ -31,6 +31,7 @@ Modules/Setup.local
Modules/config.c Modules/config.c
Parser/pgen Parser/pgen
core core
python-gdb.py
syntax: glob syntax: glob
libpython*.a libpython*.a
......
# Sample script for use by test_gdb.py
def foo(a, b, c):
bar(a, b, c)
def bar(a, b, c):
baz(a, b, c)
def baz(*args):
print(42)
foo(1, 2, 3)
This diff is collapsed.
...@@ -378,7 +378,7 @@ LIBRARY_OBJS= \ ...@@ -378,7 +378,7 @@ LIBRARY_OBJS= \
# Default target # Default target
all: build_all all: build_all
build_all: $(BUILDPYTHON) oldsharedmods sharedmods build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks
# Compile a binary with gcc profile guided optimization. # Compile a binary with gcc profile guided optimization.
profile-opt: profile-opt:
...@@ -451,6 +451,17 @@ libpython$(VERSION).dylib: $(LIBRARY_OBJS) ...@@ -451,6 +451,17 @@ libpython$(VERSION).dylib: $(LIBRARY_OBJS)
libpython$(VERSION).sl: $(LIBRARY_OBJS) libpython$(VERSION).sl: $(LIBRARY_OBJS)
$(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST) $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST)
# Copy up the gdb python hooks into a position where they can be automatically
# loaded by gdb during Lib/test/test_gdb.py
#
# Distributors are likely to want to install this somewhere else e.g. relative
# to the stripped DWARF data for the shared library.
gdbhooks: $(BUILDPYTHON)-gdb.py
SRC_GDB_HOOKS=$(srcdir)/Tools/gdb/libpython.py
$(BUILDPYTHON)-gdb.py: $(SRC_GDB_HOOKS)
$(INSTALL_DATA) $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py
# This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary # This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
# minimal framework (not including the Lib directory and such) in the current # minimal framework (not including the Lib directory and such) in the current
# directory. # directory.
...@@ -1187,6 +1198,7 @@ distclean: clobber ...@@ -1187,6 +1198,7 @@ distclean: clobber
-rm -f core Makefile Makefile.pre config.status \ -rm -f core Makefile Makefile.pre config.status \
Modules/Setup Modules/Setup.local Modules/Setup.config \ Modules/Setup Modules/Setup.local Modules/Setup.config \
Misc/python.pc Misc/python.pc
-rm -f python*-gdb.py
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \ find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \ -o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' \ -o -name '*.orig' -o -name '*.rej' \
...@@ -1250,5 +1262,6 @@ Python/thread.o: @THREADHEADERS@ ...@@ -1250,5 +1262,6 @@ Python/thread.o: @THREADHEADERS@
.PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools .PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
.PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean .PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean
.PHONY: smelly funny patchcheck .PHONY: smelly funny patchcheck
.PHONY: gdbhooks
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
...@@ -484,7 +484,7 @@ Nick Maclaren ...@@ -484,7 +484,7 @@ Nick Maclaren
Don MacMillen Don MacMillen
Steve Majewski Steve Majewski
Grzegorz Makarewicz Grzegorz Makarewicz
Dave Malcolm David Malcolm
Ken Manheimer Ken Manheimer
Vladimir Marangozov Vladimir Marangozov
David Marek David Marek
......
...@@ -16,6 +16,9 @@ faqwiz FAQ Wizard. ...@@ -16,6 +16,9 @@ faqwiz FAQ Wizard.
freeze Create a stand-alone executable from a Python program. freeze Create a stand-alone executable from a Python program.
gdb Python code to be run inside gdb, to make it easier to
debug Python itself (by David Malcolm).
i18n Tools for internationalization. pygettext.py i18n Tools for internationalization. pygettext.py
parses Python source code and generates .pot files, parses Python source code and generates .pot files,
and msgfmt.py generates a binary message catalog and msgfmt.py generates a binary message catalog
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment