GDB (API)
|
00001 /* Target-dependent code for Moxie 00002 00003 Copyright (C) 2009-2013 Free Software Foundation, Inc. 00004 00005 This file is part of GDB. 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 3 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00019 00020 #ifndef MOXIE_TDEP_H 00021 #define MOXIE_TDEP_H 00022 00023 struct gdbarch_tdep 00024 { 00025 /* gdbarch target dependent data here. Currently unused for MOXIE. */ 00026 }; 00027 00028 enum moxie_regnum 00029 { 00030 MOXIE_FP_REGNUM = 0, 00031 MOXIE_SP_REGNUM = 1, 00032 R0_REGNUM = 2, 00033 R1_REGNUM = 3, 00034 MOXIE_PC_REGNUM = 16, 00035 MOXIE_CC_REGNUM = 17, 00036 RET1_REGNUM = R0_REGNUM, 00037 ARG1_REGNUM = R0_REGNUM, 00038 ARGN_REGNUM = R1_REGNUM, 00039 }; 00040 00041 #define MOXIE_NUM_REGS 18 00042 00043 #endif /* moxie-tdep.h */