This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how let GDB support my OS kernel?
- From: Ben Elliston <bje at redhat dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: 08 Oct 2002 13:27:23 +1000
- Subject: [ECOS] Re: how let GDB support my OS kernel?
- References: <F86U9s5KHuj9J3YfYky00015bc0@hotmail.com>
>>>>> "johnsonest" == johnsonest <johnsonest@hotmail.com> writes:
johnsonest> I think GDB must call a group unified interfaces to
johnsonest> get new OS johnsonest> information so user can debug
johnsonest> their app.?
Basically, yes.
johnsonest> but what interfaces on earth GDB will call? and how
johnsonest> to write a stub in order to communicate with GDB? I
johnsonest> need detailed explanation or detailed Doc materials.
If you want to debug an embedded application and the OS has no support
for remote debugging already, then you need to port a GDB stub to your
platform. The GDB documentation includes information on how to write
a stub and the protocol it must speak (called "GDB remote protocol").
Ben
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss