can we debug ecos kernel related thing

Jonathan Larmour jifl@eCosCentric.com
Thu Oct 16 18:02:00 GMT 2003


Guntipalli Giribabu wrote:
> Hai,
>         can we debug the ecos kernel functions through GDB. if so please
> tell me how we can do that.

Just like if you were debugging an application.

> for this whether we need to enable any
> options in the "Redboot" and "Ecos os" while building these
> images.

Nope. The only restriction is that you can't debug any bits actually used 
by the debugger, i.e. the target's GDB stub. Since that normally resides 
in redboot and you debug an ecos application, this is rarely an issue 
(although the closest might be if debugging the ethernet driver in ecos 
while using ethernet debugging, as in that case it is shared).

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine



More information about the Ecos-devel mailing list