[patch] Add PS_REGNUM.

Daniel Jacobowitz drow@mvista.com
Sun Apr 7 11:35:00 GMT 2002


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



More information about the Gdb-patches mailing list