This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Regression for build --without-python [Re: RFC: fix atexit.register]


On Thu, 20 Sep 2012 22:45:56 +0200, Tom Tromey wrote:
> >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
> 
> Tom> 	* NEWS: Update.
> Tom> 	* python/python.c (finalize_python): New function.
> Tom> 	(_initialize_python): Make a final cleanup.
> 
> Tom> 	* gdb.python/python.exp: Test atexit.register.
> 
> I'm checking this in.

./python/python.c: In function ‘finalize_python’:
./python/python.c:1280:3: warning: implicit declaration of function ‘PyGILState_Ensure’ [-Wimplicit-function-declaration]
./python/python.c:1281:3: error: ‘python_gdbarch’ undeclared (first use in this function)
./python/python.c:1281:3: note: each undeclared identifier is reported only once for each function it appears in
./python/python.c:1282:3: error: ‘python_language’ undeclared (first use in this function)
./python/python.c:1284:3: warning: implicit declaration of function ‘Py_Finalize’ [-Wimplicit-function-declaration]
./python/python.c: At top level:
./python/python.c:1273:1: warning: ‘finalize_python’ defined but not used [-Wunused-function]


Regards,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]