From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23234 invoked by alias); 28 May 2002 04:30:05 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23226 invoked from network); 28 May 2002 04:30:02 -0000 Received: from unknown (HELO mail.alinoe.com) (24.132.80.10) by sources.redhat.com with SMTP; 28 May 2002 04:30:02 -0000 Received: (qmail 28555 invoked by uid 500); 28 May 2002 04:30:01 -0000 Date: Mon, 27 May 2002 21:30:00 -0000 From: Carlo Wood To: gdb@sources.redhat.com Subject: Re: Is this information correct? Message-ID: <20020528063001.A16230@alinoe.com> References: <20020527142006.A23953@alinoe.com> <20020527180721.GC5523@branoic.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020527180721.GC5523@branoic.them.org>; from drow@mvista.com on Mon, May 27, 2002 at 02:07:21PM -0400 X-SW-Source: 2002-05/txt/msg00299.txt.bz2 On Mon, May 27, 2002 at 02:07:21PM -0400, Daniel Jacobowitz wrote: > What's this part about though? I think it's really referring to gdb > 5.1 instead. 5.2 should be fine. Blah, its 6:30 am now... but we figured out what it was. It was not gdb's fault, nor gcc's fault. The "problem" was that he was using -O2 and setting a break point for main causes the break point to be set 4 bytes behond 'main' (the function pointer) which was already at the start of some inlined constructor for which is was not clear that it would be there (-O2 magic etc). Anyway, my (independantly from gdb written) libcwd gave exactly the same source file line number info ;). I'll remove the remark that gdb-5.2 might not work with g++ 3.1. It works. -- Carlo Wood