[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb
Subject:    Re: remote debugging via rs332c - output lost
From:       Andrew Cagney <ac131313 () cygnus ! com>
Date:       2000-01-31 5:20:38
Message-ID: 38951B76.E2AC3DCE () cygnus ! com
[Download RAW message or body]


Quality Quorum wrote:
> 
> On Wed, 12 Jan 2000 hollerer@gmx.net wrote:
> 
> > hi,
> >
> > i am remote debugging programs which makes output
> > like
> >   printf("xxx called\r\n");
> >
> > it outputs the string on it's serial interface.
> > the same interface as used for gdb.
> > debugging generally works. but the host gdb does not
> > show the sent string.
> > what must i do that the host gdb shows output of the
> > remote program?
> 
> wrap it into 'O' message.

To expand a little on this.  You will need to encode the output string
using the ``O'' packet . See "Communication protocol"
http://sourceware.cygnus.com/gdb/onlinedocs/gdb_14.html#SEC115 (the URL
may be wrong).

	Andrew



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic