old-cross-binutils/gdb/python
Joel Brobecker aed1781d40 Fix build failures with python support on sparc-solaris
There were two types of errors, mostly compiler warnings:

  1. _FILE_OFFSET_BITS being redefined in pyconfig.h;
     This is a problem we're familiar with, having seen similar
     issues on GNU/Linux systems. I used a similar solution.

  2. GCC 4.5 complains that calls to PyEval_InitThreads and
     PyEval_ReleaseLock have no effect.  This is because our Python
     is built without thread support, leading us to use the dummy
     #define in python-internal.h which just gets replaced by `0'.
     Since this function returns void (checked versions 2.4 and 2.7),
     I simply removed the 0.

gdb/ChangeLog:

        python/python-internal.h (_FILE_OFFSET_BITS): Undefine.
        (PyEval_InitThreads): Remove duplicate. Define as nothing.
        (PyEval_ReleaseLock): Define as nothing.
2010-10-26 18:06:34 +00:00
..
lib/gdb New python module gdb.types. 2010-10-13 20:08:46 +00:00
py-auto-load.c gdb/ 2010-09-22 20:00:53 +00:00
py-block.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-breakpoint.c gdb/ 2010-10-13 13:24:40 +00:00
py-cmd.c * python/py-cmd.c (cmdpy_function): Unreference exception state. 2010-10-19 20:11:37 +00:00
py-frame.c gdb/ 2010-10-13 13:24:40 +00:00
py-function.c gdb/ 2010-10-13 13:24:40 +00:00
py-inferior.c gdb/ 2010-10-13 13:24:40 +00:00
py-infthread.c 2010-06-28 Phil Muldoon <pmuldoon@redhat.com> 2010-06-28 21:16:04 +00:00
py-lazy-string.c PR python/11948: 2010-10-15 18:54:13 +00:00
py-objfile.c gdb/ 2010-09-22 20:00:53 +00:00
py-param.c gdb/ 2010-10-13 13:24:40 +00:00
py-prettyprint.c PR python/11948: 2010-10-15 18:54:13 +00:00
py-progspace.c gdb/ 2010-09-22 20:00:53 +00:00
py-symbol.c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-symtab.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-type.c Enable custom bcache hash function. 2010-08-31 17:26:08 +00:00
py-utils.c 2010-06-28 Phil Muldoon <pmuldoon@redhat.com> 2010-06-28 21:16:04 +00:00
py-value.c gdb/ 2010-10-13 13:24:40 +00:00
python-config.py Resync python-config.py with Python-2.7 version. 2010-07-08 22:12:44 +00:00
python-internal.h Fix build failures with python support on sparc-solaris 2010-10-26 18:06:34 +00:00
python.c gdb/ 2010-10-13 13:24:40 +00:00
python.h gdb 2010-06-11 15:36:10 +00:00