From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1733 invoked by alias); 24 Mar 2005 17:08:03 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1020 invoked from network); 24 Mar 2005 17:07:57 -0000 Received: from unknown (HELO calvin.codito.co.in) (220.225.32.98) by sourceware.org with SMTP; 24 Mar 2005 17:07:57 -0000 Received: from [192.168.100.52] (arnor.codito.co.in [192.168.100.52]) by calvin.codito.co.in (8.12.10/8.12.10) with ESMTP id j2OH5o89019434; Thu, 24 Mar 2005 22:35:50 +0530 Message-ID: <4242F368.3030509@codito.com> Date: Thu, 24 Mar 2005 17:08:00 -0000 From: Ramana Radhakrishnan User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) MIME-Version: 1.0 To: james osburn CC: gdb@sources.redhat.com Subject: Re: what are gdbstubs? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-03/txt/msg00213.txt.bz2 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 > >
> -- Ramana Radhakrishnan GNU Tools codito ergo sum (www.codito.com)