From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9887 invoked by alias); 15 Sep 2004 06:41:00 -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 9854 invoked from network); 15 Sep 2004 06:40:58 -0000 Received: from unknown (HELO mms1.broadcom.com) (63.70.210.58) by sourceware.org with SMTP; 15 Sep 2004 06:40:58 -0000 Received: from 63.70.210.1 by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (MMS v5.6.0)); Tue, 14 Sep 2004 23:38:52 -0700 X-Server-Uuid: 97B92932-364A-4474-92D6-5CFE9C59AD14 Received: from mail-sj1-5.sj.broadcom.com (mail-sj1-5.sj.broadcom.com [10.16.128.236]) by mon-irva-11.broadcom.com (8.9.1/8.9.1) with ESMTP id XAA03794; Tue, 14 Sep 2004 23:34:29 -0700 (PDT) Received: from ldt-sj3-010.sj.broadcom.com (ldt-sj3-010 [10.21.64.10]) by mail-sj1-5.sj.broadcom.com (8.12.9/8.12.9/SSF) with ESMTP id i8F5oiov009775; Tue, 14 Sep 2004 22:50:44 -0700 (PDT) Received: (from cgd@localhost) by ldt-sj3-010.sj.broadcom.com ( 8.11.6/8.9.3) id i8F5oic00848; Tue, 14 Sep 2004 22:50:44 -0700 X-Authentication-Warning: ldt-sj3-010.sj.broadcom.com: cgd set sender to cgd@broadcom.com using -f To: "Monika Chaddha" cc: gdb@sources.redhat.com, acmet@vsnl.net Subject: Re: GDB6.2.1 : Queries about mips simulator configuration References: <002401c49a4a$133f00d0$5100a8c0@monika> From: cgd@broadcom.com Date: Wed, 15 Sep 2004 06:41:00 -0000 In-Reply-To: <002401c49a4a$133f00d0$5100a8c0@monika> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 X-WSS-ID: 6D593CE11RS11423-44-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00116.txt.bz2 I've been really busy. I've not had time to look at mips16 patch yet... At Tue, 14 Sep 2004 16:30:41 +0530, Monika Chaddha wrote: > Queries: > > 1. 'sim_gen': According to my understanding this is name of simulator > generator. For the targets in which 32-bit instructions are supported it > is assigned as 'IGEN' and the targets in which 16-bit instructions or 32 > and 16-bit both are supported, it is assigned as 'M16'. Mostly. There's another option, "MULTI" for use by simulators which support multiple CPU types at once. What these do is control the way 'igen' is invoked to generate the simulator. > Are 'IGEN' and 'M16' two different simulator generators or they are > sharing something? > Is M16 using 'IGEN' indirectly? > > I have gone through 'makefile.in' file also but could not gather much > information. AFAICT, they both generate simulators in approximately the same way, but different parameters are used for each. In Makefile.in, compare tmp-igen with tmp-m16. Most of this stuff predates my maintainership -- i've never touched MIPS16, really, for instance. > 2. sim_m16_machine="-M mips16,mipsIII" > > I had reported this bug that gdb6.0 was not building for mips16 after > that you have done this modification " (sim_m16_machine): Include > mipsIII" to fix this problem. I have also attached the mails for > reference. Right. MIPS16 doesn't exist in a vacuum. Any machine that implements MIPS16 must also implement a MIPS I...MIPS64 ISA as well, which in fact is the underlying ISA used by the machine. The MIPS16 support needs some basic information and functions related to the underlying ISA. cgd