From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4966 invoked by alias); 18 Feb 2004 14:19:32 -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 4956 invoked from network); 18 Feb 2004 14:19:29 -0000 Received: from unknown (HELO ngate.noida.hcltech.com) (202.54.110.230) by sources.redhat.com with SMTP; 18 Feb 2004 14:19:29 -0000 Received: from exch-01.noida.hcltech.com (exch-01 [204.160.254.29]) by ngate.noida.hcltech.com (8.12.8/8.12.8) with ESMTP id i1IEa6SQ025134 for ; Wed, 18 Feb 2004 20:06:07 +0530 Received: by exch-01.noida.hcltech.com with Internet Mail Service (5.5.2653.19) id ; Wed, 18 Feb 2004 19:53:39 +0530 Message-ID: <1B3885BC15C7024C845AAC78314766C5036B65F3@exch-01.noida.hcltech.com> From: "Vineet Sharma, Noida" To: gdb@sources.redhat.com Subject: Add systemc simulator with gdb Date: Wed, 18 Feb 2004 14:19:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2004-02/txt/msg00223.txt.bz2 Hi All, Is there any examples who have sucessfully integrated there simulators in c++ or systemc with gdb? What are the issues faced in that approach? I found the problem of conflicting types of bfd in bfd.h and remote-sim.h(:67). Any idea how to overcome it? ../../include/gdb/remote-sim.h:67: conflicting types for `struct bfd' /usr/include/bfd.h:78: previous declaration as `typedef struct _bfd bfd' ../../include/gdb/remote-sim.h:108: using typedef-name `bfd' after `struct' ../../include/gdb/remote-sim.h:145: using typedef-name `bfd' after `struct' ../../include/gdb/remote-sim.h:165: using typedef-name `bfd' after `struct' I think its bcoz of the difference in c++/g++ and gcc handling of forward declaration? Your comments and inputs would be very helpfull Regards Vineet