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]

Re: simulator-gdb


"Vineet Sharma, Noida" <vineets@noida.hcltech.com> writes:

>  I want to integrate a simulator with gdb , so how do i proceed?.
>  What functiona are to be implemented, and how are invoked by gdb?

One approach is indeed the function call interface others pointed out.
For some applications, a wire protocol connection is more appropriate,
and simulators like SID, and a few of gdb's own, implement the usual
"remote" protocol across a TCP socket.  This style of integration has
benefits (separate building, separate main-loop control, no GPL
licensing implications) and some costs (less automatic startup,
potentially lower performance).

- FChE


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