From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30396 invoked by alias); 2 Oct 2008 13:02:13 -0000 Received: (qmail 30385 invoked by uid 22791); 2 Oct 2008 13:02:12 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 02 Oct 2008 13:01:10 +0000 Received: (qmail 11410 invoked from network); 2 Oct 2008 13:01:09 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 2 Oct 2008 13:01:09 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [RFA] fix win32-nat failure Date: Thu, 02 Oct 2008 13:02:00 -0000 User-Agent: KMail/1.9.9 Cc: "Pierre Muller" References: <005401c923c0$be5ae250$3b10a6f0$@u-strasbg.fr> <009a01c9246a$64ece5b0$2ec6b110$@u-strasbg.fr> <00b701c92485$8bc23260$a3469720$@u-strasbg.fr> In-Reply-To: <00b701c92485$8bc23260$a3469720$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810021401.20466.pedro@codesourcery.com> 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: 2008-10/txt/msg00051.txt.bz2 On Thursday 02 October 2008 12:53:44, Pierre Muller wrote: > I ran a testsuite on cygwin with the patch below, > I got this results: > > === gdb Summary === > > # of expected passes 11190 > # of unexpected failures 469 > # of expected failures 58 > # of unknown successes 2 > # of known failures 110 > # of unresolved testcases 40 > # of untested testcases 15 > # of unsupported tests 23 > /usr/local/src/gdbcvs/build-bare/gdb/testsuite/../../gdb/gdb version > 6.8.50.200 > 81002-cvs -nx > > This seems like a "normal" outcome for cygwin native gdb. Hmmm, I don't have a good baseline stored to compare this to, but, from memory, this looks worse than is was a few weeks ago... The failure count should be much lower currently, due to both the fix that forced unbuffered stdout on Cygwin, and the skip __main fix. Oh, I'm running the testsuite too, and I'm getting several crashes like these, which I had never seen before: $ ./gdb /home/pedro/gdb/baseline/build/gdb/testsuite/gdb.cp/class2 GNU gdb (GDB) 6.8.50.20081002-cvs Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-cygwin". For bug reporting instructions, please see: ... BFD: BFD (GNU Binutils) 2.19.50.20081002 internal error, aborting at ../../src/bfd/coffcode.h line 842 in handle_COMDAT BFD: Please report this bug. This is with stock gcc and binutils. Looks like something broke recently on the binutils/bfd side... > Thus I would like to get approval for the following patch, > ChangeLog entry: > > 2008-10-02 Pierre Muller > Pedro Alves > > * win32-nat.c (do_initial_win32_stuff): Set inferior_ptid. We're doing a small adjustment that I should have made myself, due to new core expectations, so I don't think we don't need to bother Christopher with this one. OK. Please check it in. Thanks! -- Pedro Alves