From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6783 invoked by alias); 8 Jun 2005 18:33:32 -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 6760 invoked by uid 22791); 8 Jun 2005 18:33:29 -0000 Received: from 203.197.88.2.ill-pune.static.vsnl.net.in (HELO marvin.codito.net) (203.197.88.2) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 08 Jun 2005 18:33:29 +0000 Received: from webmail.codito.com (localhost [127.0.0.1]) by marvin.codito.net (8.13.4/8.13.4/Debian-2) with ESMTP id j58IVkRE017776; Thu, 9 Jun 2005 00:01:47 +0530 Received: from 203.212.198.158 (SquirrelMail authenticated user ramana.radhakrishnan) by webmail.codito.com with HTTP; Thu, 9 Jun 2005 00:01:47 +0530 (IST) Message-ID: <3307.203.212.198.158.1118255507.squirrel@webmail.codito.com> In-Reply-To: <7cb1293c0506081005edd8c93@mail.gmail.com> References: <7cb1293c0506081005edd8c93@mail.gmail.com> Date: Wed, 08 Jun 2005 18:33:00 -0000 Subject: Re: GDB over a serial link (with no OS) for MIPS32 From: "Ramana Radhakrishnan" To: "Srinivas Murthy" Cc: gdb@sources.redhat.com Reply-To: ramana.radhakrishnan@codito.com User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Status: Clean X-SW-Source: 2005-06/txt/msg00071.txt.bz2 Hi, 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 . cheers Ramana > 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 > ---- Ramana Radhakrishnan Codito Technologies