From c481d1caf4cf81506d47bf9a8ffe7db7c8bbc101 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 9 May 2004 20:56:41 +0000 Subject: [PATCH] * hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM. --- gdb/ChangeLog | 2 ++ gdb/hppa-tdep.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1af9e1f398a..839537d043e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2004-05-09 Mark Kettenis + * 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. diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h index 8f779b6c670..816e15ea9d7 100644 --- a/gdb/hppa-tdep.h +++ b/gdb/hppa-tdep.h @@ -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 */ -- 2.30.2