Questions about GDB/MI

Elena Zannoni ezannoni@redhat.com
Wed Feb 5 14:44:00 GMT 2003


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



More information about the Gdb mailing list