From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30416 invoked by alias); 11 Jan 2007 02:01:40 -0000 Received: (qmail 30405 invoked by uid 22791); 11 Jan 2007 02:01:39 -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; Thu, 11 Jan 2007 02:01:34 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H4pFz-0007UJ-SH; Wed, 10 Jan 2007 21:01:31 -0500 Date: Thu, 11 Jan 2007 02:01:00 -0000 From: Daniel Jacobowitz To: Greg Watson Cc: gcc@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: main(), registers and gdb Message-ID: <20070111020131.GA28732@nevyn.them.org> Mail-Followup-To: Greg Watson , gcc@gcc.gnu.org, gdb@sources.redhat.com References: <7E9915AE-D47F-45B0-A922-D0C0C3A1D39A@computer.org> <20070110233854.GA21874@nevyn.them.org> <79E7E700-FE56-4481-9AAC-A91EA9D4F4F0@computer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <79E7E700-FE56-4481-9AAC-A91EA9D4F4F0@computer.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00187.txt.bz2 On Wed, Jan 10, 2007 at 04:50:59PM -0700, Greg Watson wrote: > That would be nice. Although this seems like a trivial issue, it can > potentially effect debugging all MPI programs since they always start > with 'MPI_Init(&argc, &argv)'. See my reply to the bug. This is specific to i686 32-bit compilers, arguments, and functions named "main". > >And honestly, I have no idea how that happened. Does it happen > >with a current GDB? I suspect from the error message that this > >one is not too recent. > > It's gdb 6.5, so reasonably recent. Please try a current snapshot. Thanks. -- Daniel Jacobowitz CodeSourcery