This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how let GDB support my OS kernel?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]