From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11511 invoked by alias); 9 Jun 2005 02:22:11 -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 11216 invoked by uid 22791); 9 Jun 2005 02:22:04 -0000 Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.197) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 09 Jun 2005 02:22:04 +0000 Received: by zproxy.gmail.com with SMTP id 40so651358nzk for ; Wed, 08 Jun 2005 19:22:01 -0700 (PDT) Received: by 10.36.86.9 with SMTP id j9mr76852nzb; Wed, 08 Jun 2005 19:22:01 -0700 (PDT) Received: by 10.36.221.70 with HTTP; Wed, 8 Jun 2005 19:22:01 -0700 (PDT) Message-ID: <7cb1293c05060819223c23de35@mail.gmail.com> Date: Thu, 09 Jun 2005 02:22:00 -0000 From: Srinivas Murthy Reply-To: Srinivas Murthy To: ramana.radhakrishnan@codito.com Subject: Re: GDB over a serial link (with no OS) for MIPS32 Cc: gdb@sources.redhat.com In-Reply-To: <3307.203.212.198.158.1118255507.squirrel@webmail.codito.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7cb1293c0506081005edd8c93@mail.gmail.com> <3307.203.212.198.158.1118255507.squirrel@webmail.codito.com> X-SW-Source: 2005-06/txt/msg00077.txt.bz2 Thanks for the email. I will need a little more hand-holding :( Can you please give me some more pointers on how to get started? More specifically, 1. What are the OS-dependent and OS-independent portions of the code? 2. Specifically using a serial port, what is transport dependent part of the code? 3. What is the arch. dependent part? Any pointers on how to get started (maybe something like a porting guide, perhaps?). Thanks much for your help. Regards, -Srinivas On 6/8/05, Ramana Radhakrishnan wrote: >=20 > Hi, >=20 > You'd want to write a new target in GDB. Take a look at the target > abstraction. > Look at a sample target ... lets say remote.c . >=20 > cheers > Ramana >=20 > > Hi, > > We need to develop a gdb debug tool for a custom multi-processor MIPS > > target running in an infinite loop (without an OS) over a serial link > > with a UART. The host is an x86 machine with Linux OS. > > > > The single UART needs to provide connectivity to all the processors > > on the target and the debug tool needs to do processor specific > > commands (breakpoints, source-level debug, etc.). > > > > Can you guys please point me to any reference material, > > implementations, etc. for me to get started with this? > > > > Thanks much for your help. > > > > Regards, > > -Srinivas > > >=20 >=20 > ---- > Ramana Radhakrishnan > Codito Technologies >=20 >