From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27827 invoked by alias); 14 Nov 2003 07:15:19 -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 27530 invoked from network); 14 Nov 2003 07:15:13 -0000 Received: from unknown (HELO web8005.mail.in.yahoo.com) (203.199.70.65) by sources.redhat.com with SMTP; 14 Nov 2003 07:15:13 -0000 Message-ID: <20031114071511.26663.qmail@web8005.mail.in.yahoo.com> Received: from [203.124.166.107] by web8005.mail.in.yahoo.com via HTTP; Fri, 14 Nov 2003 07:15:11 GMT Date: Fri, 14 Nov 2003 07:15:00 -0000 From: =?iso-8859-1?q?Rama=20Singh?= Subject: GDB interface with simulator To: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-11/txt/msg00099.txt.bz2 Hi, I am working on a cycle accurate simulator and for the purpose of debugging application, I wish to use gdb. Now gdb has in build support for about a dozen most popular simulators. It interacts with the simulator as a library. I wish to use my simulator as an independent process running on the same machine or on other machine. Is it posible to have gdb interact with a simulator over a socket? Also where can I find more information on this? I believe that implementing this will involve writing a gdb stub that will compile with the application and thus interact with the host gdb. Am I getting things correctly or is there some other possible way too? Thanks in advance for any help Regards Rama Singh Department of Electrical Engg. MMM Engg College (MMMEC) Gorakhpur ________________________________________________________________________ Yahoo! India Mobile: Download the latest polyphonic ringtones. Go to http://in.mobile.yahoo.com