From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4614 invoked by alias); 24 Mar 2005 22:55:38 -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 4594 invoked from network); 24 Mar 2005 22:55:35 -0000 Received: from unknown (HELO hotmail.com) (64.4.31.28) by sourceware.org with SMTP; 24 Mar 2005 22:55:35 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 24 Mar 2005 14:55:34 -0800 Message-ID: Received: from 208.54.95.129 by by13fd.bay13.hotmail.msn.com with HTTP; Thu, 24 Mar 2005 22:55:34 GMT X-Originating-Email: [jjosburn@hotmail.com] X-Sender: jjosburn@hotmail.com In-Reply-To: <4242F368.3030509@codito.com> From: "james osburn" To: gdb@sources.redhat.com Cc: ramana.radhakrishnan@codito.com Bcc: Subject: Re: what are gdbstubs? Date: Thu, 24 Mar 2005 22:55:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 24 Mar 2005 22:55:34.0588 (UTC) FILETIME=[9674AFC0:01C530C4] X-SW-Source: 2005-03/txt/msg00221.txt.bz2 I have been reading the gdb docs and as i interpret them i need to link the gdb stub file with my excecuteable to do remote debugging. is this correct? do you have any experience with this? jim >From: Ramana Radhakrishnan >To: james osburn >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 >> >>
>> > > >-- >Ramana Radhakrishnan >GNU Tools >codito ergo sum (www.codito.com) >