From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29124 invoked by alias); 18 Sep 2002 13:31: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 29042 invoked from network); 18 Sep 2002 13:31:40 -0000 Received: from unknown (HELO motgate4.mot.com) (144.189.100.102) by sources.redhat.com with SMTP; 18 Sep 2002 13:31:40 -0000 Received: [from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate4.mot.com (motgate4 2.1) with ESMTP id GAA28370; Wed, 18 Sep 2002 06:31:40 -0700 (MST)] Received: [from udc.urbana.css.mot.com (udc.urbana.css.mot.com [192.88.153.1]) by mothost.mot.com (MOT-pobox 2.0) with ESMTP id GAA05606; Wed, 18 Sep 2002 06:31:39 -0700 (MST)] Received: from tmnt.urbana.css.mot.com (tmnt.urbana.css.mot.com [199.1.89.14]) by udc.urbana.css.mot.com (8.11.6+Sun/8.11.6) with ESMTP id g8IDVcM01423; Wed, 18 Sep 2002 08:31:38 -0500 (CDT) X-POPI: The contents of this message are Motorola Internal Use Only (MIUO) unless indicated otherwise in the message. Received: (from tcombs@localhost) by tmnt.urbana.css.mot.com (8.11.6/8.11.6) id g8IDVc031469; Wed, 18 Sep 2002 08:31:38 -0500 Date: Wed, 18 Sep 2002 06:31:00 -0000 From: Tim Combs To: Shrikar Cc: gdb@sources.redhat.com Subject: Re: Connecting GDB to simulator Message-ID: <20020918083137.A31434@urbana.css.mot.com> References: <00a701c25edc$1d118a20$1301a8c0@blr.vsnl.net.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00a701c25edc$1d118a20$1301a8c0@blr.vsnl.net.in>; from shrikar@poseidontech.com on Wed, Sep 18, 2002 at 11:54:17AM +0530 X-SW-Source: 2002-09/txt/msg00254.txt.bz2 Yes. The solution is to create a remote target that connects to your simulator. Inside your simulator you will need to add the gdbserver code to handle the communications packets between your simulator and gdb. Look in the GDB internals manual chapter 10 for adding targets. Tim On Wed, Sep 18, 2002 at 11:54:17AM +0530, Shrikar wrote: > Hi List, > Just wanted to know one small thing . > Is there any way by which I can connect GDB to a *Simulator* instead of an > actual target ? > If 'Yes' where can I get the information as to how GDB should be configured > so that it uses the *Simulator interfaces* instead of any > other native syscalls or JTAG ports ? > > Thanx in advance, > > > Shrikar.