This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Breakpoint function address


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]