+2003-06-02 Richard Henderson <rth@redhat.com>
+
+ * alpha-tdep.c (alpha_register_virtual_type): Use alpha-specific
+ regnum identifiers.
+ (alpha_sigtramp_register_address): Likewise.
+
2003-06-02 Richard Henderson <rth@redhat.com>
* alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs): New.
/* Don't need to worry about little vs big endian until
some jerk tries to port to alpha-unicosmk. */
- if (regno >= FP0_REGNUM && regno < FP0_REGNUM + 31)
+ if (regno >= ALPHA_FP0_REGNUM && regno < ALPHA_FP0_REGNUM + 31)
return builtin_type_ieee_double_little;
return builtin_type_int64;
{
if (regno < 32)
return sigcontext_addr + SIGFRAME_REGSAVE_OFF + regno * 8;
- if (regno >= FP0_REGNUM && regno < FP0_REGNUM + 32)
+ if (regno >= ALPHA_FP0_REGNUM && regno < ALPHA_FP0_REGNUM + 32)
return sigcontext_addr + SIGFRAME_FPREGSAVE_OFF + regno * 8;
- if (regno == PC_REGNUM)
+ if (regno == ALPHA_PC_REGNUM)
return sigcontext_addr + SIGFRAME_PC_OFF;
return 0;