linux-mips
[Top] [All Lists]

Re: [PATCH] show register names in show_regs

To: Gerald Champagne <gerald.champagne@esstech.com>
Subject: Re: [PATCH] show register names in show_regs
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Fri, 27 Sep 2002 23:18:24 +0200 (MET DST)
Cc: Linux Mips Mailing List <linux-mips@linux-mips.org>
In-reply-to: <1033159633.26894.50.camel@localhost.localdomain>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
On 27 Sep 2002, Gerald Champagne wrote:

> The following trivial patch makes show_regs display register names
> before each value.  I find this format much faster to read when
> comparing register dumps to assembly code.  The results look like this:
[...]
> Is this acceptable, or do people prefer the existing method without the
> register names?

 Note that the format is selected to optimize the space consumed as a
serial console is not always available and it's better not to let some
essential information scroll away from the virtual terminal.  Also
ksymoops will probably be unhappy with format changes (though it tries to
be flexible, so it might actually survive).  How about writing a small
program or a script that would parse register dumps and output them in
your favourite layout?

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>