This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: can we debug ecos kernel related thing
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: giri at jntu dot net
- Cc: ecos-devel at sources dot redhat dot com
- Date: Thu, 16 Oct 2003 19:02:47 +0100
- Subject: Re: can we debug ecos kernel related thing
- References: <4930.203.200.40.199.1066283784.squirrel@www.jntu.net>
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