summaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-01-31 18:28:25 +0000
committerRichard Henderson <rth@redhat.com>2003-01-31 18:28:25 +0000
commit87d1b352c895bc2a690e0aa75df73e4cf0c168b3 (patch)
treea8442be8fc4081b028a486f9e28e93306330a2c5 /gdb/alpha-tdep.h
parentc48861fb9350162456bb07948643aeca6fa06e90 (diff)
downloadbinutils-gdb-87d1b352c895bc2a690e0aa75df73e4cf0c168b3.tar.gz
* alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
(register_addr): ... here. Support ALPHA_UNIQUE_REGNUM. (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM. * alpha-tdep.c (alpha_register_name): Add "unique". * alpha-tdep.h (ALPHA_NUM_REGS): Increment. (ALPHA_UNIQUE_REGNUM): New. * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
Diffstat (limited to 'gdb/alpha-tdep.h')
-rw-r--r--gdb/alpha-tdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h
index 6a75ca7c1a0..76f91f32bf4 100644
--- a/gdb/alpha-tdep.h
+++ b/gdb/alpha-tdep.h
@@ -28,7 +28,7 @@
#define ALPHA_REGISTER_SIZE 8
/* Number of machine registers. */
-#define ALPHA_NUM_REGS 66
+#define ALPHA_NUM_REGS 67
/* Total amount of space needed to store our copies of the machine's
register state. */
@@ -61,6 +61,7 @@
#define ALPHA_FPCR_REGNUM 63 /* Floating point control register */
#define ALPHA_PC_REGNUM 64 /* Contains program counter */
#define ALPHA_FP_REGNUM 65 /* Virtual frame pointer */
+#define ALPHA_UNIQUE_REGNUM 66 /* PAL_rduniq value */
/* The alpha has two different virtual pointers for arguments and locals.