From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10326 invoked by alias); 9 Oct 2007 15:49:44 -0000 Received: (qmail 10310 invoked by uid 22791); 9 Oct 2007 15:49:43 -0000 X-Spam-Check-By: sourceware.org Received: from ics.u-strasbg.fr (HELO ics.u-strasbg.fr) (130.79.112.250) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 Oct 2007 15:49:37 +0000 Received: from ICSMULLER (laocoon.u-strasbg.fr [130.79.112.72]) by ics.u-strasbg.fr (Postfix) with ESMTP id BEE53187020; Tue, 9 Oct 2007 17:54:17 +0200 (CEST) From: "Pierre Muller" To: "'Pedro Alves'" Cc: "'Joel Brobecker'" , References: <009c01c809a5$c05be1c0$4113a540$@u-strasbg.fr> <20071008134219.GK3570@adacore.com> <00a001c809b2$56fc8ec0$04f5ac40$@u-strasbg.fr> <470A861E.3080200@portugalmail.pt> <003101c80a82$5520fa70$ff62ef50$@u-strasbg.fr> In-Reply-To: <003101c80a82$5520fa70$ff62ef50$@u-strasbg.fr> Subject: RE: [RFA] ARI fix: Remove asprintf in breakpoint.c Date: Tue, 09 Oct 2007 16:08:00 -0000 Message-ID: <003401c80a8c$04f3b9c0$0edb2d40$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us 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: 2007-10/txt/msg00204.txt.bz2 With my change in gdb.base/sigstep.c (and similar changes in gdb.base/sigXXX.c files) and my change of gdb.exp to avoid interruption in gdb.fortran/array-element.exp I was able to complete a Cygwin testsuite in 45 minutes. A lot better than previously. I did not use Pedro's patch to fix the i386_skip_prologue, thus the number of failures are still huge. Results are: === gdb Summary === # of expected passes 10186 # of unexpected failures 509 # of expected failures 59 # of known failures 30 # of unresolved testcases 38 # of untested testcases 8 # of unsupported tests 16 /usr/local/src/cvs/build/gdb/testsuite/../../gdb/gdb version 6.7.50-20071009-cvs -nx gdb.pascal directory gives me just a XFAIL for "Breakpoint 2" due to gpc problems with line information and a KFAIL for "ptyp 'a single string'" Thus I should be able to test my patches locally now... Pierre Muller Pasca language maintainer. > -----Original Message----- > From: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] On Behalf Of Pierre Muller > Sent: Tuesday, October 09, 2007 4:40 PM > To: 'Pedro Alves' > Cc: 'Joel Brobecker'; gdb-patches@sourceware.org > Subject: RE: [RFA] ARI fix: Remove asprintf in breakpoint.c > > The main problem was > gdb.base/sigstep.exp > that took about 2 hours and 20 min to complete alone :( > The main reason is that this is just a huge list of timeouts > related to the fact that cygin only accepts > ITIMER_REAL as first arg of setitimer. > I will send a patch to fix this, by checking the return > value of setitimer. > > Pierre > > > -----Original Message----- > > From: Pedro Alves [mailto:alves.ped@gmail.com] On Behalf Of Pedro > Alves > > Sent: Monday, October 08, 2007 9:34 PM > > To: Pierre Muller > > Cc: 'Joel Brobecker'; gdb-patches@sourceware.org > > Subject: Re: [RFA] ARI fix: Remove asprintf in breakpoint.c > > > > Pierre Muller wrote: > > > No, sorry, but the testsuite on cygwin is really a pain, > > > it has some signal problems that makes the testsuite > > > horribly slow, with tons of timeouts... > > > and no I have no easy linux access. > > > > > > > I know what you mean ... > > > > I use these patches to be able to test on Cygwin less painfully: > > > > [PATCH] i386_skip_prologue > > http://sources.redhat.com/ml/gdb-patches/2006-12/msg00140.html > > > > [[PATCH] Line info in the presence of __main, and > > NOTE_INSN_FUNCTION_BEG after > > scheduling:] > > http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00633.html > > > > The gcc patch is really outdated, and doesn't apply to > > current gcc svn, so I still have a gcc build from 20061123 > > to test gdb. Far from ideal, but otherwise, many testcases timeout > > and go untested. > > > > I keep wanting to fix this correctly, but I never get around to it. > > From the last discussion on the subject, the idea was to teach the > > i386 (and any other arch that cares) prologue reader about > > __main as a first step. I don't think that's hard. > > > > Cheers, > > Pedro Alves > > > > > >