From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22031 invoked by alias); 4 Feb 2004 17:55:31 -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 21978 invoked from network); 4 Feb 2004 17:55:28 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 4 Feb 2004 17:55:28 -0000 Received: from toenail.toronto.redhat.com (toenail.toronto.redhat.com [172.16.14.211]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 9006B800195; Wed, 4 Feb 2004 12:55:28 -0500 (EST) Received: from toenail.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by toenail.toronto.redhat.com (8.12.10/8.12.5) with ESMTP id i14HtOZU026887; Wed, 4 Feb 2004 12:55:28 -0500 Received: (from fche@localhost) by toenail.toronto.redhat.com (8.12.10/8.12.10/Submit) id i14HtMw4026883; Wed, 4 Feb 2004 12:55:22 -0500 X-Authentication-Warning: toenail.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: "Vineet Sharma, Noida" Cc: gdb@sources.redhat.com Subject: Re: simulator-gdb References: <1B3885BC15C7024C845AAC78314766C502FC08C4@exch-01.noida.hcltech.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Wed, 04 Feb 2004 17:55:00 -0000 In-Reply-To: <1B3885BC15C7024C845AAC78314766C502FC08C4@exch-01.noida.hcltech.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Reasonable Discussion) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-02/txt/msg00032.txt.bz2 "Vineet Sharma, Noida" writes: > I want to integrate a simulator with gdb , so how do i proceed?. > What functiona are to be implemented, and how are invoked by gdb? One approach is indeed the function call interface others pointed out. For some applications, a wire protocol connection is more appropriate, and simulators like SID, and a few of gdb's own, implement the usual "remote" protocol across a TCP socket. This style of integration has benefits (separate building, separate main-loop control, no GPL licensing implications) and some costs (less automatic startup, potentially lower performance). - FChE