From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16003 invoked by alias); 21 Aug 2007 19:14:01 -0000 Received: (qmail 15709 invoked by uid 22791); 21 Aug 2007 19:13:59 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 21 Aug 2007 19:13:56 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 72E11980C1; Tue, 21 Aug 2007 19:13:56 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 45D34980C0; Tue, 21 Aug 2007 19:13:56 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1INZAn-00031H-Cc; Tue, 21 Aug 2007 15:13:53 -0400 Date: Tue, 21 Aug 2007 19:14:00 -0000 From: Daniel Jacobowitz To: Spen Cc: gdb@sources.redhat.com Subject: Re: Breakpoint function address Message-ID: <20070821191353.GA11586@caradoc.them.org> Mail-Followup-To: Spen , gdb@sources.redhat.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) 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-08/txt/msg00156.txt.bz2 On Tue, Aug 21, 2007 at 03:01:34PM +0100, Spen wrote: > Hi, > > I have just updated to using gdb 6.6 from 6.5 (actually using insight). > Part of my startup script is to set a breakpoint @ main: thb main > > This has been fine under 6.5 but seems to have broken under 6.6 (also tried > cvs head). > The problem occurs if I link with the gc-sections option, removing this > option the breakpoints are set correctly. I tried your binaries with an arm-none-eabi GDB from 2007-02-26, since that was what I had handy. It worked just fine. Are you sure you sent me the right binaries? -- Daniel Jacobowitz CodeSourcery