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]

Re: Questions about GDB/MI


Daniel Jacobowitz writes:
 > On Tue, Feb 04, 2003 at 07:22:34PM -0500, Elena Zannoni wrote:
 > > Nick Roberts writes:
 > >  > My simple program prints out:
 > >  > 
 > >  > a[0]=0
 > >  > 
 > >  > shouldn't that be:
 > >  > 
 > >  > @"a[0]=0"
 > >  > 
 > > 
 > > Don't remember what the status of this is. Look through the bugs
 > > database, for open MI bugs. But I see a testcase in the testsuite, and
 > > code in the mi directory, so it should work.
 > 
 > That's a nebulous "should".  It hasn't been implemented yet.
 > 

This works with remote targets for SID and redboot.  It doesn't work
for native and targets that don't channel the printf's output to gdb.

 > > 
 > >  > Annotation uses ^Z^Z to flag things which I guess is not normal output. What
 > >  > would happen if the program being debugged printed out strings like *stopped
 > >  > or ^running? These only contain ASCII characters after all.
 > 
 > Once it is implemented, then the program's output would all be escaped.
 > 

Once it is implemented for natives.

 > -- 
 > Daniel Jacobowitz
 > MontaVista Software                         Debian GNU/Linux Developer


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