about gdb's compiled-in simulator

Andrew Cagney ac131313@redhat.com
Thu Mar 13 17:08:00 GMT 2003


> 
>   After gdb get the commands from keyboard,does gdb put these commands into a cmd_buffer,and then gdb and compiled-in simulator access the cmd_buffer together?
>   Or does gdb and compiled-in simultor have any rules about the request and reply of commands ?    Thanks for your help!

GDB calls:

include/gdb/remote-sim.h:sim_do_command()

with the command string in a buffer.  There isn't any expected return
value (the command can't fail).

Andrew




More information about the Gdb mailing list