aboutsummaryrefslogtreecommitdiff
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
commitc481d1caf4cf81506d47bf9a8ffe7db7c8bbc101 (patch)
treeae06cb17259aaaa21c6a0622cf1c350bf212d221 /gdb/hppa-tdep.h
parentf626a069af5dbb047646dcbf322ab339a41a1968 (diff)
downloadgdb-c481d1caf4cf81506d47bf9a8ffe7db7c8bbc101.zip
gdb-c481d1caf4cf81506d47bf9a8ffe7db7c8bbc101.tar.gz
gdb-c481d1caf4cf81506d47bf9a8ffe7db7c8bbc101.tar.bz2
* 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 8f779b6..816e15e 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 */