This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] Add PS_REGNUM.
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 7 Apr 2002 14:34:17 -0400
- Subject: Re: [patch] Add PS_REGNUM.
- References: <3CAF59CA.1060304@cygnus.com>
On Sat, Apr 06, 2002 at 03:25:46PM -0500, Andrew Cagney wrote:
> Hello,
>
> This patch just fills in a gap in the current *_REGNUMs by adding
> PS_REGNUM. Unlike the others. This one really does allow -1 as the
> default value.
>
> (FP_REGNUM et.al. require real values as there is code around that,
> unfortunatly, depends on there being a real FP register et.al. ulgh).
>
> committed,
> Andrew
What benefit does this have? PC_REGNUM I can understand. Even
SP_REGNUM. But it's not like PS_REGNUM has any meaning to common
code...
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer