From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8983 invoked by alias); 31 Jan 2008 07:55:49 -0000 Received: (qmail 8969 invoked by uid 22791); 31 Jan 2008 07:55:49 -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; Thu, 31 Jan 2008 07:55:21 +0000 Received: from ICSMULLER (unknown [130.79.244.149]) by ics.u-strasbg.fr (Postfix) with ESMTP id C075F18701C; Thu, 31 Jan 2008 09:01:39 +0100 (CET) From: "Pierre Muller" To: "'Joel Brobecker'" Cc: , References: <20080126005319.GD21874@adacore.com> <000501c8619c$5261e940$f725bbc0$@u-strasbg.fr> <20080130180336.GD11271@adacore.com> In-Reply-To: <20080130180336.GD11271@adacore.com> Subject: RE: Our next GDB release (GDB version 6.8) Date: Thu, 31 Jan 2008 13:34:00 -0000 Message-ID: <000901c863de$9fe9fa60$dfbdef20$@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: 2008-01/txt/msg00845.txt.bz2 Joel, the main problem here is that when you use the 'start' command or set a breakpoint in 'main' function and 'run', the behavior is not consistent between ELF and other exe formats. http://sourceware.org/ml/gdb-patches/2007-10/msg00361.html Currently GDB stops at the first line of real code on ELF but on the call to __main function. I added to the confusion because I tried to argue that I was glad that it was that way, and I proposed a testsuite solution to cope with that problem that was rejected. Daniel and Pedro convinced me that it would be much better to get the same behavior on all targets. The problem is not restricted to i386 processor, this is why Pedro proposed a patch with a new gdbarch member. He only implemented the i386, but it should be easy to extend this to other archs needed this. I retested Pedro's patch tonight and it got 174 more PASS 175 less FAIL, no new FAIL appears 1 more KFAIL (in fact a FAIL to KFAIL change). I really would like this one to go into GDB 6.8 Pierre Muller Pascal language maintainer > -----Original Message----- > From: Joel Brobecker [mailto:brobecker@adacore.com] > Sent: Wednesday, January 30, 2008 7:04 PM > To: Pierre Muller > Cc: pedro_alves@portugalmail.pt > Subject: Re: Our next GDB release (GDB version 6.8) > > Pierre and Pedro, > > > I would really like to have the > > call to __main fixed ! > > Would you mind reminding me what the actual problem is? I have a > feeling > at this point that there isn't a consensus on how to fix the problem > yet > and that could delay the release more than I'd like. I would like to > know more about the problem and its severity before we make a decision. > > Thanks, > -- > Joel