X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fscore-tdep.h;h=07c62f7e34de0901b1dabf292b46ca1ea1eeaa04;hb=e05523bd2411bac0277da73556f4d01f6c7448aa;hp=5b6551341c24891225e410821f6ab8fe35620c26;hpb=a9762ec78a53fbe9209fe1654db42df0cd328d50;p=binutils-gdb.git diff --git a/gdb/score-tdep.h b/gdb/score-tdep.h index 5b6551341c2..07c62f7e34d 100644 --- a/gdb/score-tdep.h +++ b/gdb/score-tdep.h @@ -1,7 +1,7 @@ /* Target-dependent code for the S+core architecture, for GDB, the GNU Debugger. - Copyright (C) 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2006-2022 Free Software Foundation, Inc. Contributed by Qinwei (qinwei@sunnorth.com.cn) Contributed by Ching-Peng Lin (cplin@sunplus.com) @@ -32,13 +32,15 @@ enum gdb_regnum SCORE_RA_REGNUM = 3, SCORE_A0_REGNUM = 4, SCORE_AL_REGNUM = 7, + SCORE_EPC_REGNUM = 37, SCORE_PC_REGNUM = 49, }; #define SCORE_A0_REGNUM 4 #define SCORE_A1_REGNUM 5 #define SCORE_REGSIZE 4 -#define SCORE_NUM_REGS 56 +#define SCORE7_NUM_REGS 56 +#define SCORE3_NUM_REGS 50 #define SCORE_BEGIN_ARG_REGNUM 4 #define SCORE_LAST_ARG_REGNUM 7