From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28528 invoked by alias); 22 Jul 2004 07:13:42 -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 27437 invoked from network); 22 Jul 2004 07:13:15 -0000 Received: from unknown (HELO alice.acmet.com) (61.16.238.202) by sourceware.org with SMTP; 22 Jul 2004 07:13:15 -0000 Received: from monika (localhost [127.0.0.1]) by alice.acmet.com (8.11.6/8.11.6) with ESMTP id i6M7JGD21060; Thu, 22 Jul 2004 12:49:17 +0530 From: "Monika Chaddha" To: "'Xinan Tang'" Cc: Subject: RE: "igen vs. cgen?" Date: Thu, 22 Jul 2004 09:35:00 -0000 Message-ID: <008a01c46fbb$22dec9d0$5100a8c0@monika> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-reply-to: X-SW-Source: 2004-07/txt/msg00278.txt.bz2 Hi Xinan Igen would be used for adding new simulator input. There are many igen files present in the source... Mips.igen, M16.igen etc... The source for 'igen' (the simulator generator used) is present at 'src/sim/igen'. The 'igen' simulator generator takes input the mips.igen file which includes other igen files and generates the simulator source. The source for simulator will generate in build directory. The contents of this source will depend on the input 'mips.igen' file. These files are responsible for instruction implementation. U need new model name also to add any new instruction. Monika >-----Original Message----- >From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com] On >Behalf Of Xinan Tang >Sent: Thursday, July 22, 2004 12:46 AM >To: gdb@sources.redhat.com >Subject: "igen vs. cgen?" > >Hi > > When I search the gdb mailing list for adding a new simulator, two >approaches were mentioned: igen vs. cgen. > > Now igen (psim) was included within gdb, is there any consensus which one >should be used within gdb for adding a new simulator? > >Thanks > >--Xinan