This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: what are gdbstubs?


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)


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