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:command line interface



Does the communication between gdb and compiled-in target simulator follow any rules? for example,there is "remote debug interface " between gdb and ARMulator,and "remote serial protocol"between gdb and remote target.
the compiled-in simulator receive the command from gdb command line interface and return the info to gdb.how to deal with the procedure?Is there any protocol?

GDB doesn't use the RDI to communicate with the built-in ARMulator. It uses it's own protocol (remote-sim) which has been incorporated into the ARMulator.

That is to say,gdb transfers commmands to ARMulator via "remote-sim.h"
and uses it to receive return info and display these info on screen.
but I see some modules about RDI in /sim/arm/,and after compiling the cross
environment,it provides the function of "target rdi".
what do ARMulator use these modules to do?


liu





_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn



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