[ECOS] Breakpoint problem

Jonathan Larmour jlarmour@redhat.com
Thu Oct 19 06:11:00 GMT 2000

Jesper Skov wrote:
> >>>>> "Andreas" == 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.

If this is a MIPS target, as I think it is, it may be an issue with sign
extension. I have a fix but I haven't checked it in yet as I'm unhappy with
it coz I haven't tested it enough and I think it may be break other

Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

More information about the Ecos-discuss mailing list