GDB (API)
/home/stan/gdb/src/gdb/m88k-tdep.h
Go to the documentation of this file.
00001 /* Target-dependent code for the Motorola 88000 series.
00002 
00003    Copyright (C) 2004-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 M88K_TDEP_H
00021 #define M88K_TDEP_H
00022 
00023 /* Register numbers of various important registers.  */
00024 
00025 enum m88k_regnum
00026 {
00027   M88K_R0_REGNUM,
00028   M88K_R1_REGNUM,               /* Return address (hardware).  */
00029   M88K_R2_REGNUM,
00030   M88K_R3_REGNUM,
00031   M88K_R12_REGNUM = 12,
00032   M88K_R30_REGNUM = 30,         /* Frame pointer.  */
00033   M88K_R31_REGNUM,              /* Stack pointer.  */
00034   M88K_EPSR_REGNUM,
00035   M88K_FPSR_REGNUM,
00036   M88K_FPCR_REGNUM,
00037   M88K_SXIP_REGNUM,
00038   M88K_SNIP_REGNUM,
00039   M88K_SFIP_REGNUM,
00040   M88K_NUM_REGS                 /* Number of machine registers.  */
00041 
00042 };
00043 
00044 /* Instruction size.  */
00045 #define M88K_INSN_SIZE 4
00046 
00047 #endif /* m88k-tdep.h */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines