This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Machine interface
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Greg Law <glaw at level5networks dot com>,gdb-patches at sources dot redhat dot com
- Date: Sat, 19 Mar 2005 16:35:39 +1300
- Subject: Re: Machine interface
- References: <423AFB39.6050705@level5networks.com><20050318160536.GA31080@white><20050318161126.GA27141@nevyn.them.org>
> More specifically, Greg, I think you're missing the "-i=mi" option.
Thats because its not mentioned in the GDB/MI section. How about the patch
below (includes typo correction)?
Nick
diff -c /home/nick/src/gdb/doc/gdb.texinfo.\~1.233.\~ /home/nick/src/gdb/doc/gdb.texinfo
*** /home/nick/src/gdb/doc/gdb.texinfo.~1.233.~ 2005-03-19 16:27:06.000000000 +1300
--- /home/nick/src/gdb/doc/gdb.texinfo 2005-03-19 15:39:02.000000000 +1300
***************
*** 1119,1125 ****
@samp{--interpreter=mi} (or @samp{--interpreter=mi2}) causes
@value{GDBN} to use the @dfn{@sc{gdb/mi} interface} (@pxref{GDB/MI, ,
! The @sc{gdb/mi} Interface}) included since @var{GDBN} version 6.0. The
previous @sc{gdb/mi} interface, included in @value{GDBN} version 5.3 and
selected with @samp{--interpreter=mi1}, is deprecated. Earlier
@sc{gdb/mi} interfaces are no longer supported.
--- 1119,1125 ----
@samp{--interpreter=mi} (or @samp{--interpreter=mi2}) causes
@value{GDBN} to use the @dfn{@sc{gdb/mi} interface} (@pxref{GDB/MI, ,
! The @sc{gdb/mi} Interface}) included since @value{GDBN} version 6.0. The
previous @sc{gdb/mi} interface, included in @value{GDBN} version 5.3 and
selected with @samp{--interpreter=mi1}, is deprecated. Earlier
@sc{gdb/mi} interfaces are no longer supported.
***************
*** 14977,14985 ****
@unnumberedsec Function and Purpose
@cindex @sc{gdb/mi}, its purpose
! @sc{gdb/mi} is a line based machine oriented text interface to @value{GDBN}. It is
! specifically intended to support the development of systems which use
! the debugger as just one small component of a larger system.
This chapter is a specification of the @sc{gdb/mi} interface. It is written
in the form of a reference manual.
--- 14977,14987 ----
@unnumberedsec Function and Purpose
@cindex @sc{gdb/mi}, its purpose
! @sc{gdb/mi} is a line based machine oriented text interface to
! @value{GDBN} and is specified using the @option{--interpreter} command
! line option (@pxref{Mode Options}). It is specifically intended to
! support the development of systems which use the debugger as just one
! small component of a larger system.
This chapter is a specification of the @sc{gdb/mi} interface. It is written
in the form of a reference manual.
Diff finished. Sat Mar 19 16:29:45 2005