Machine interface
Bob Rossi
bob@brasko.net
Fri Mar 18 16:05:00 GMT 2005
On Fri, Mar 18, 2005 at 04:00:57PM +0000, Greg Law wrote:
> Hi,
>
> I'm trying to find some info on GDB/MI. I've read the info pages. They
> seem to be half finished, and specifically don't talk about one actually
> interfaces with gdb/mi. ie. it doesn't seem to be via stdin of the gdb
> processes (typing -break-point at it causes "unknown command" errors.
> Do I need to open a socket to it or some such? Or do I just have the MI
> syntax wrong?
If you start GDB on the command line, you can use GDB the same way you
use the CLI, of course with different syntax.
The documentation for setting breakpoints in MI mode is here,
http://sources.redhat.com/gdb/current/onlinedocs/gdb_25.html#SEC250
in particular, try, '-break-insert main'
Bob Rossi
More information about the Gdb
mailing list