From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7153 invoked by alias); 13 Jan 2004 09:50:12 -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 7144 invoked from network); 13 Jan 2004 09:50:11 -0000 Received: from unknown (HELO marvin.codito.net) (203.197.88.2) by sources.redhat.com with SMTP; 13 Jan 2004 09:50:11 -0000 Received: from webmail.codito.com (localhost [127.0.0.1]) by marvin.codito.net (8.12.10/8.12.10/Debian-5) with SMTP id i0DA25kv010610; Tue, 13 Jan 2004 15:32:05 +0530 Received: from 203.199.140.162 (SquirrelMail authenticated user ramana.radhakrishnan) by webmail.codito.com with HTTP; Tue, 13 Jan 2004 15:32:05 +0530 (IST) Message-ID: <36552.203.199.140.162.1073988125.squirrel@webmail.codito.com> In-Reply-To: <000c01c3d9b8$eae8c8c0$5100a8c0@monika> References: <000c01c3d9b8$eae8c8c0$5100a8c0@monika> Date: Tue, 13 Jan 2004 09:50:00 -0000 Subject: Re: Query: gdb for target TX19 From: "Ramana Radhakrishnan" To: "Monika Chaddha" Cc: gdb@sources.redhat.com Reply-To: ramana.radhakrishnan@codito.com User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-01/txt/msg00164.txt.bz2 Thus spake Monika Chaddha > > Hi Ian > > Thanks for the information. Actually I need gdb for TX19 because I want > to add architecture which matches to TX39 and TX19.My architecture is > also based on R3000A as TX39 and TX19 but there are some differences > also as following:- > > 1. TX39 and TX19 have 32 general purpose registers but mine has 8 shadow > sets where each shadow set has 32 registers. > 2. Exception handling is different in my architecture. > 3. My architecture supports 32-bit instructions of TX39 as well as > 16-bit instructions . > > Now the following questions are arising in my mind:- > > 1. Can I use R3900 for my architecture because my architecture is also > based on R3000A or R3900 is only for TX39 family? It depends on whether the bfd for r3900 supports all that you mention above. If not then the first set of changes have to happen in the bfd. > 2. Which files are responsible for register specification? look at the regformats directory in gdb. > 3. Which are the main files for target specification in gdb? I mean > where I should change to add my target. more comprehensive info in the gdb manual regarding this. Atleast gives a decent introductory perspective to things. but to summarize . essentially -tdep.c / -tdep.h . : general target stuff arch--tdep.c > > If u can give any information in this regard, I'll be really thankful to > u. > > Monika > > -----Original Message----- > From: Ian Lance Taylor [mailto:ian@wasabisystems.com] > Sent: Tuesday, January 13, 2004 11:30 AM > To: Monika Chaddha > Cc: gdb@sources.redhat.com > Subject: Re: Query: gdb for taget TX19 > > "Monika Chaddha" writes: > >> I need gdb for toshiba's TX19 architecture target. GDB6.0 does not >> support TX19 architecture. Is there any other version of GDB which >> supports TX19 architecture? > > I don't think there is a version of gdb which explicitly supports the > TX19. But is there anything special about the TX19? Can't gdb > support it with a generic MIPS target? The only thing I can really > see going wrong would be a failure to disassemble some special > multiply instruction or something along those lines. > > Ian > ---- Ramana Radhakrishnan Codito Technologies