From 4a6510ba7f70a4fccb5c7e30d67b63bd4db93ed8 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 28 Mar 2012 17:29:54 +0000 Subject: [PATCH] 2012-03-28 Pedro Alves * ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC. --- gdb/ChangeLog | 4 ++++ gdb/ia64-linux-nat.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0b3f886a3e..b9fadcd672 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-03-28 Pedro Alves + + * ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC. + 2012-03-28 Joel Brobecker * 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 60b873be38..24bde2dad6 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, -- 2.34.1