This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Breakpoint function address
- From: Daniel Jacobowitz <drow at false dot org>
- To: Spen <spen at spen-soft dot co dot uk>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 21 Aug 2007 15:13:53 -0400
- Subject: Re: Breakpoint function address
- References: <E1INUH8-000GJz-Sw@smtp2.global.net.uk>
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