* hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM.

This commit is contained in:
Mark Kettenis 2004-05-09 20:56:41 +00:00
parent f626a069af
commit c481d1caf4
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2004-05-09 Mark Kettenis <kettenis@gnu.org>
* hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM.
* hppa-tdep.h: Update copyright year.
(struct trad_frame_saved_reg): Add opaque declaration.

View file

@ -32,9 +32,11 @@ enum { HPPA_INSTRUCTION_SIZE = 4 };
to be actual register numbers as far as the user is concerned
but do serve to get the desired values when passed to read_register. */
enum {
enum hppa_regnum
{
HPPA_R0_REGNUM = 0, /* Doesn't actually exist, used as base for
other r registers. */
HPPA_R1_REGNUM = 1,
HPPA_FLAGS_REGNUM = 0, /* Various status flags */
HPPA_RP_REGNUM = 2, /* return pointer */
HPPA_FP_REGNUM = 3, /* The ABI's frame pointer, when used */