aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-03-28 17:29:54 +0000
committerPedro Alves <palves@redhat.com>2012-03-28 17:29:54 +0000
commit4a6510ba7f70a4fccb5c7e30d67b63bd4db93ed8 (patch)
tree007f7a1bac7f0f4660cc91b810abb5d15cc07457
parent0e4acfccb3f3c95de08e6bc8d41378fcf441f825 (diff)
downloadbinutils-4a6510ba7f70a4fccb5c7e30d67b63bd4db93ed8.zip
binutils-4a6510ba7f70a4fccb5c7e30d67b63bd4db93ed8.tar.gz
binutils-4a6510ba7f70a4fccb5c7e30d67b63bd4db93ed8.tar.bz2
2012-03-28 Pedro Alves <palves@redhat.com>
* ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ia64-linux-nat.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0b3f886..b9fadcd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-28 Pedro Alves <palves@redhat.com>
+
+ * ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC.
+
2012-03-28 Joel Brobecker <brobecker@adacore.com>
* ia64-linux-nat.c (ia64_linux_fetch_register): Add special
diff --git a/gdb/ia64-linux-nat.c b/gdb/ia64-linux-nat.c
index 60b873b..24bde2d 100644
--- a/gdb/ia64-linux-nat.c
+++ b/gdb/ia64-linux-nat.c
@@ -272,7 +272,7 @@ static int u_offsets[] =
-1, -1, -1, -1, -1, -1, -1, -1, -1,
PT_AR_PFS,
PT_AR_LC,
- -1, /* Not available: EC, the Epilog Count register. */
+ PT_AR_EC,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,