public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Regs command
@ 2007-07-30 19:53 Nurdin Premji
  2007-07-31  1:45 ` Stan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Nurdin Premji @ 2007-07-30 19:53 UTC (permalink / raw)
  To: frysk

I've just added a regs command to the fhpd to display registers.
Currently only works with general registers.

You can run:

(fhpd) regs

which will print out the general registers, or

(fhpd) regs REGISTER_GROUP

which will attempt to print the given register group (currently if it 
isn't general it will crash).

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regs command
  2007-07-30 19:53 Regs command Nurdin Premji
@ 2007-07-31  1:45 ` Stan Cox
  2007-07-31 23:50   ` Phil Muldoon
  0 siblings, 1 reply; 3+ messages in thread
From: Stan Cox @ 2007-07-31  1:45 UTC (permalink / raw)
  To: Nurdin Premji; +Cc: Frysk List

Nice.  Could we also have hex output as with gdb's "info registers"?
Is there an fhpd request "regs"?  If not would "registers" be a more
descriptive name?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regs command
  2007-07-31  1:45 ` Stan Cox
@ 2007-07-31 23:50   ` Phil Muldoon
  0 siblings, 0 replies; 3+ messages in thread
From: Phil Muldoon @ 2007-07-31 23:50 UTC (permalink / raw)
  To: Stan Cox; +Cc: Nurdin Premji, Frysk List

Stan Cox wrote:
> Nice.  Could we also have hex output as with gdb's "info registers"?
> Is there an fhpd request "regs"?  If not would "registers" be a more
> descriptive name?
>   
Yes, I would find hex more useful, too. I guess we could go a few ways 
here. Have a fhpd wide format command (to switch between decimal, hex, 
binary, octal); have the regs print out hex with the decimal equivalent 
in brackets, or just print out hex.

The biggie for me is hex output.

Regards

Phil

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-31 23:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-30 19:53 Regs command Nurdin Premji
2007-07-31  1:45 ` Stan Cox
2007-07-31 23:50   ` Phil Muldoon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).