From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4497 invoked by alias); 27 May 2005 19:04:03 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 4472 invoked by uid 22791); 27 May 2005 19:03:58 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 27 May 2005 19:03:58 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j4RJ3vsp015526 for ; Fri, 27 May 2005 15:03:57 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j4RJ3pO14719; Fri, 27 May 2005 15:03:51 -0400 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id j4RJ3pMX027023; Fri, 27 May 2005 15:03:51 -0400 Received: from toenail.toronto.redhat.com (toenail.toronto.redhat.com [172.16.14.211]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 15D4B800104; Fri, 27 May 2005 15:03:51 -0400 (EDT) Received: from toenail.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by toenail.toronto.redhat.com (8.13.1/8.12.5) with ESMTP id j4RJ3okX016388; Fri, 27 May 2005 15:03:50 -0400 Received: (from fche@localhost) by toenail.toronto.redhat.com (8.13.1/8.13.1/Submit) id j4RJ3opX016385; Fri, 27 May 2005 15:03:50 -0400 Date: Fri, 27 May 2005 19:04:00 -0000 From: "Frank Ch. Eigler" To: Shilin Shakti Cc: cgen@sources.redhat.com Subject: Re: Simulator Porting Message-ID: <20050527190350.GG9705@redhat.com> References: <4A1BE23A7B777442B60F4B4916AE0F1305BD192E@sohm.kpit.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hUH5gZbnpyIv7Mn4" Content-Disposition: inline In-Reply-To: <4A1BE23A7B777442B60F4B4916AE0F1305BD192E@sohm.kpit.com> User-Agent: Mutt/1.4.1i X-SW-Source: 2005-q2/txt/msg00046.txt.bz2 --hUH5gZbnpyIv7Mn4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 951 Hi - On Thu, May 26, 2005 at 06:41:37PM +0530, Shilin Shakti wrote: > [...] > Regarding enabling the sim tracing option, i have done it in the > 'configure' file (--enable-sim-trace option i guess). That, plus use "(gdb) target sim OPTIONS" where OPTIONS includes actual activation (not just capability) instructions like "--trace-insn". See sim/common/*trace*. > But by the gdb-linked variant of the simulator did you mean the > 'step' option to be passed that is checked in 'main' (mentioned in > \sim\common\nrun.c) for single stepping? I meant "(gdb) target sim; load; stepi; stepi; stepi; ...", so that the sim is made to execute one target instruction at a time. > I could not fully comprehend this option also. [...] I suggest building a vanilla working cross toolchain first, learning how to use all the tools, and only after that attempting to port them. It will take far too long to explain both usage and porting in email. - FChE --hUH5gZbnpyIv7Mn4 Content-Type: application/pgp-signature Content-Disposition: inline Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCl28WVZbdDOm/ZT0RAvoJAJ9OMEKSW8A/fKQ0SSjGxKmxTELh6ACfQGe4 8SDbptITLVhJLyb3/H53zgQ= =8LTv -----END PGP SIGNATURE----- --hUH5gZbnpyIv7Mn4--