This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Debug messages through serial communication port
On Fri, Sep 07, 2001 at 01:26:36AM +0100, Jonathan Larmour wrote:
> Cristiano Ligieri Pereira wrote:
> >
> > Therefore I cannot get away from this "problem"?
>
> On a production system you won't have GDB on the other end, and there won't
> be any delays. But to use GDB, that's the rules we have to play with I'm
> afraid.
>
> Although... if have a second port, you could configure eCos to send the
> diag output out that instead.
That's what I do. I've got two "extra" serial ports.
diag_printf() output goes to one, and gdb uses the other. It
works very nicely that way. Well, I do have some things I need
to fix to get gdb to work right, but that's another thread.
--
Grant Edwards
grante@visi.com