summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-05-09 20:56:41 +0000
committerMark Kettenis <kettenis@gnu.org>2004-05-09 20:56:41 +0000
commit183575f3772c1f24c97d7fff29567d067b6dcb45 (patch)
tree987bc4a7b68b6ea96cd3bddbca40ef9fc13dcac1 /gdb
parent2cacde281aa442ef7442c1f8da84140dd2c8edda (diff)
downloadgdb-183575f3772c1f24c97d7fff29567d067b6dcb45.tar.gz
* hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/hppa-tdep.h4
2 files changed, 5 insertions, 1 deletions
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 <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.
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 */