[ECOS] RE: Re debug Problem

Jonathan Larmour jifl@eCosCentric.com
Tue Mar 25 21:43:00 GMT 2003


Westwood, Geoff wrote:
> Hi Gary
> 
> Just wondering if the error message is referring to something else, not
> necessarily that last long packet ?
> Here is my debug output for the working/non working builds
[snip]

The register lengths given there look the same!

Again, what version of GDB is this? 5.3? The prebuilt one from the website?

Looking at the GDB code, it looks like it _could_ be something in GDB 
somehow, but without knowing exactly what sources you are using it's tricky.

An alternative is to debug GDB. To do this, run native GDB on it, i.e.:

gdb -nw `which powerpc-eabi-gdb`

and set a breakpoint on internal_error, type "run", then the target remote 
command, and then do a backtrace and let us know what it says.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list