From 1a282a7d41fb8ee3cd7d51c926fa072787ac1da7 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Mon, 30 Sep 1996 22:42:23 +0000 Subject: [PATCH] * config/v850/tm-v850.h: Use distinct register for PC, not EIPC. --- gdb/config/v850/tm-v850.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gdb/config/v850/tm-v850.h b/gdb/config/v850/tm-v850.h index bf4a90d8308..b09b25a6d36 100644 --- a/gdb/config/v850/tm-v850.h +++ b/gdb/config/v850/tm-v850.h @@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define TARGET_BYTE_ORDER LITTLE_ENDIAN -#define NUM_REGS 64 +#define NUM_REGS 65 #define REGISTER_NAMES \ { "r0", "r1", "r2", "sp", "gp", "r5", "r6", "r7", \ @@ -31,7 +31,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ "eipc", "eipsw", "fepc", "fepsw", "ecr", "psw", "sr6", "sr7", \ "sr8", "sr9", "sr10", "sr11", "sr12", "sr13", "sr14", "sr15", \ "sr16", "sr17", "sr18", "sr19", "sr20", "sr21", "sr22", "sr23", \ - "sr24", "sr25", "sr26", "sr27", "sr28", "sr29", "sr30", "sr31" } + "sr24", "sr25", "sr26", "sr27", "sr28", "sr29", "sr30", "sr31", \ + "pc" } #define REGISTER_BYTES (NUM_REGS * 4) @@ -41,7 +42,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define SP_REGNUM 3 #define FP_REGNUM 2 #define RP_REGNUM 31 -#define PC_REGNUM 32 +#define PC_REGNUM 64 #define REGISTER_VIRTUAL_TYPE(REG) builtin_type_int -- 2.30.2