X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fscore-tdep.h;h=cef0e6ae1ca124f92efe97ecc07d5ff0e902ec1f;hb=c5741217d390041fc43ca83ad00b07355d40e9ad;hp=5b6551341c24891225e410821f6ab8fe35620c26;hpb=a9762ec78a53fbe9209fe1654db42df0cd328d50;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/score-tdep.h b/gdb/score-tdep.h index 5b6551341c..cef0e6ae1c 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-2014 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