This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]