This is the mail archive of the gdb-patches@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]

Re: Machine interface


 > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]