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] |
into a cmd_buffer,and then gdb and compiled-in simulator access the cmd_buffer together?From: Andrew Cagney <ac131313 at redhat dot com> To: liu lijuan <lljchina at hotmail dot com> CC: gdb at sources dot redhat dot com Subject: Re: about gdb's compiled-in simulator Date: Thu, 13 Mar 2003 12:08:06 -0500
>
> After gdb get the commands from keyboard,does gdb put these commands
> Or does gdb and compiled-in simultor have any rules about the requestand 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |