From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26368 invoked by alias); 19 Apr 2013 14:23:48 -0000 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 Received: (qmail 26359 invoked by uid 89); 19 Apr 2013 14:23:47 -0000 X-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,SPF_SOFTFAIL autolearn=no version=3.3.1 Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 19 Apr 2013 14:23:16 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MLI00A00AJHFC00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Fri, 19 Apr 2013 17:23:13 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MLI00A8XAMP3QA0@a-mtaout20.012.net.il>; Fri, 19 Apr 2013 17:23:13 +0300 (IDT) Date: Fri, 19 Apr 2013 14:32:00 -0000 From: Eli Zaretskii Subject: Re: [0/27] RFC: fix reports from the CPython checker In-reply-to: <87ehe638ww.fsf@fleche.redhat.com> To: Tom Tromey Cc: gdb-patches@sourceware.org, Pierre Muller Reply-to: Eli Zaretskii Message-id: <83obda1tx7.fsf@gnu.org> References: <87ehe638ww.fsf@fleche.redhat.com> X-SW-Source: 2013-04/txt/msg00581.txt.bz2 > From: Tom Tromey > Date: Fri, 19 Apr 2013 08:13:51 -0600 > > The Python plugin for GCC comes with an analyzer that checks the usage > of the CPython API: > > https://gcc-python-plugin.readthedocs.org/en/latest/cpychecker.html > > I ran this checker on gdb and fixed a number of bugs that it pointed > out. > > Unfortunately the checker still has a large number of false reports. > Some of these are due to oddities in gdb -- cleanups mostly -- but some > are bugs in the checker itself. I've filed bug reports against the > checker (and fixed some bugs as well); and will file more later. > > I built and regtested this series on x86-64 Fedora 18. > > I think most of the patches are pretty obvious. > > I intend to run the checker periodically and fix problems. Would it be a good idea to run it automatically by ARI?