This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

RE: Breakpoint problem


The problem was too small stacksizes.



> == Andreas Karlsson <Andreas.Karlsson@combitechsystems.com> writes:

> 

> Andreas> Hi, When I set breakpoints in my code the gdb crashes with a

> Andreas> 'Program received signal SIGTRAP, Trace/breakpoint trap'.

> 

> This happens if the target hits a breakpoint at an address where GDB

> didn't put one. And I'm sure you mean that the target crashes with

> that output, not GDB. Right?

> 

> What is the address? By any chance, is that the address you first see

> when connecting to the target? If so, the target was reset, which

> obviously confuses GDB.

> 

> Andreas> It is possible to set breakpoints early in the code.

> 

> Yes. No. Maybe. Hard to say without more information.

> 

> Jesper

> 

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