From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5683 invoked by alias); 21 Sep 2012 07:05:22 -0000 Received: (qmail 5667 invoked by uid 22791); 21 Sep 2012 07:05:20 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Sep 2012 07:05:06 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8L755A6025673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 21 Sep 2012 03:05:06 -0400 Received: from host2.jankratochvil.net (ovpn-113-58.phx2.redhat.com [10.3.113.58]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q8L752vT016312 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 21 Sep 2012 03:05:04 -0400 Date: Fri, 21 Sep 2012 07:05:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Regression for build --without-python [Re: RFC: fix atexit.register] Message-ID: <20120921070501.GA4231@host2.jankratochvil.net> References: <87d31znom9.fsf@fleche.redhat.com> <874nn5d5ur.fsf@fleche.redhat.com> <87y5k4tocb.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline In-Reply-To: <87y5k4tocb.fsf@fleche.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00423.txt.bz2 On Thu, 20 Sep 2012 22:45:56 +0200, Tom Tromey wrote: > >>>>> "Tom" == Tom Tromey 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