This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: what are gdbstubs?
- From: Ramana Radhakrishnan <ramana dot radhakrishnan at codito dot com>
- To: james osburn <jjosburn at hotmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 24 Mar 2005 22:35:44 +0530
- Subject: Re: what are gdbstubs?
- References: <BAY13-F12876C581715CF84C78076D8400@phx.gbl>
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)