This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: about gdb's compiled-in simulator
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: liu lijuan <lljchina at hotmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 13 Mar 2003 12:08:06 -0500
- Subject: Re: about gdb's compiled-in simulator
- References: <F81Al8UCFK35ZrOcz0n00011ad1@hotmail.com>
>
> 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