summaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.h
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/hppa-tdep.h
parent2cacde281aa442ef7442c1f8da84140dd2c8edda (diff)
downloadgdb-183575f3772c1f24c97d7fff29567d067b6dcb45.tar.gz
* hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM.
Diffstat (limited to 'gdb/hppa-tdep.h')
-rw-r--r--gdb/hppa-tdep.h4
1 files changed, 3 insertions, 1 deletions
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 */