From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
To: james osburn <jjosburn@hotmail.com>
CC: gdb@sources.redhat.com
Subject: Re: what are gdbstubs?
Date: Thu, 24 Mar 2005 22:35:44 +0530
james osburn wrote:
what are gdbstubs?
GDB when used with embedded targets requires a "stub" on the target side to
communicate with for information about the debuggee's context. These
requests(from gdb) could include queries about the status of the register
contents on the debuggee side and memory conditions. One also needs a stub
to inform gdb that the debuggee has stopped or has exited / allow GDB to
attach to the debuggee etc.
(If you were debugging an application on a native i386 / linux machine you
would be using ptrace and the kernel informs the debugger that the debuggee
has stopped because of the wait sys call ) .
HTH
cheers
Ramana
thanks
jim
<html><DIV></DIV></html>
--
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)