From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22002 invoked by alias); 2 Feb 2007 14:36:43 -0000 Received: (qmail 21988 invoked by uid 22791); 2 Feb 2007 14:36:41 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 02 Feb 2007 14:36:35 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1HCzWh-0006Mr-ML; Fri, 02 Feb 2007 09:36:31 -0500 Date: Fri, 02 Feb 2007 14:36:00 -0000 From: Daniel Jacobowitz To: Denis PILAT Cc: gdb-patches Subject: Re: [RFA] [gdb.threads/testsuite] failure while checking backtrace into main Message-ID: <20070202143631.GA24397@nevyn.them.org> Mail-Followup-To: Denis PILAT , gdb-patches References: <45C0C028.1050401@st.com> <45C34A05.1060901@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45C34A05.1060901@st.com> User-Agent: Mutt/1.5.13 (2006-08-11) 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: 2007-02/txt/msg00019.txt.bz2 On Fri, Feb 02, 2007 at 03:26:13PM +0100, Denis PILAT wrote: > We can also just remove the testing of argc and argv from the > pthreads.exp file, that would be better I think. I like this better. But, before I approve it, could you show me what the output looks like from your compiler - both the backtrace and the output of "readelf -wi" for main, argc, and argv? I bet it's a bug that we don't show argc and argv at least as argc=. > 2007-02-02 Denis Pilat > > * gdb.threads/pthreads.exp: remove checking of unused argc and argv > since they can be removed by a compiler optiisation. This would be: * gdb.threads/pthreads.exp (check_backtraces): Remove checking of unused argc and argv. -- Daniel Jacobowitz CodeSourcery