This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Breakpoint problem
- To: jskov at redhat dot com
- Subject: RE: [ECOS] Breakpoint problem
- From: Andreas dot Karlsson at combitechsystems dot com
- Date: Fri, 20 Oct 2000 11:03:13 +0200
- Cc: ecos-discuss at sourceware dot cygnus dot com
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
>