[ECOS] Porting Problem with stdout

dries dries@irssystems.nl
Mon Jan 19 07:56:00 GMT 2004


Andrew Lunn wrote :

>
>  This is a classic dereferenced null pointer. The way to track this
>  down is to use gdb. Look at the memory at 0x0 and check it has the
>  correct contents. Then single step a few lines of code. Then check the
>  contents again. At some point the memory around 0x0 will change. Look
>  at the lines of code that caused the problem.
>

OK, it must be a NULL pointer but the point is how to catch it, it is probably 
in the printf function. Our problem at this moment is that we have no gdb 
connection, today we will try if it is as simple as to enable gdb support and 
run again. . . . . wish me luck !!

thanks 

  Dries Pruimboom

-- 
01110111 01110111 01110111 00101110 01110000 01110010
01110101 01101001 01101101 01100010 01101111 01101111
01101101 00101110 01110100 01101011    <End of message>


--
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