kdb
[Top] [All Lists]

Re: [PATCH] KDB for ppc64 - write to OF stdout instead of console

To: Segher Boessenkool <segher@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [PATCH] KDB for ppc64 - write to OF stdout instead of console
From: Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx>
Date: Wed, 19 May 2004 18:57:00 +0500
Cc: kdb@xxxxxxxxxxx, vosburgh@xxxxxxxxxx, anton@xxxxxxxxx, linuxppc64-dev@xxxxxxxxxxxxxxxxxx, linas@xxxxxxxxxxxxxx, olof@xxxxxxxxxxxxxx
In-reply-to: <ECB0E186-A992-11D8-85E9-000A95A4DC02@kernel.crashing.org>
References: <20040518140754.GA19828@in.ibm.com> <ECB0E186-A992-11D8-85E9-000A95A4DC02@kernel.crashing.org>
Reply-to: ananth@xxxxxxxxxx
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
On Wed, May 19, 2004 at 02:49:10PM +0200, Segher Boessenkool wrote:

Hi Segher,

> >Patch inlined removes KDB's dependency on consoles completely for I/O.
> >With this patch, we use the OF stdout for both input and output.
> 
> OF stdout is not necessarily the same thing as OF stdin
> (and, in fact, very often isn't) -- please use stdin for
> input?

Well, my mistake in stating OF stdout. Rather -

- KDB used console->write() rather than udbg_write() to print data. 
  The patch changes _just_ that (makes it similar to xmon).
- Reading in data has always been through ppc_md.udbg_getc_poll()
  which should take care of the stdin problem. (Pls correct me if
  I am wrong! :))


Thanks,
Ananth
-- 
Ananth Narayan
Linux Technology Center,
IBM Software Lab, INDIA

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>