This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Add systemc simulator with gdb
- From: "Vineet Sharma, Noida" <vineets at noida dot hcltech dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 18 Feb 2004 19:53:38 +0530
- Subject: Add systemc simulator with gdb
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