Add systemc simulator with gdb

Vineet Sharma, Noida vineets@noida.hcltech.com
Wed Feb 18 14:19:00 GMT 2004


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 



More information about the Gdb mailing list