gdb/m88k-tdep.h - gdb

Data types defined

Macros defined

Source code

  1. /* Target-dependent code for the Motorola 88000 series.

  2.    Copyright (C) 2004-2015 Free Software Foundation, Inc.

  3.    This file is part of GDB.

  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 3 of the License, or
  7.    (at your option) any later version.

  8.    This program is distributed in the hope that it will be useful,
  9.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  10.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11.    GNU General Public License for more details.

  12.    You should have received a copy of the GNU General Public License
  13.    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

  14. #ifndef M88K_TDEP_H
  15. #define M88K_TDEP_H

  16. /* Register numbers of various important registers.  */

  17. enum m88k_regnum
  18. {
  19.   M88K_R0_REGNUM,
  20.   M88K_R1_REGNUM,                /* Return address (hardware).  */
  21.   M88K_R2_REGNUM,
  22.   M88K_R3_REGNUM,
  23.   M88K_R12_REGNUM = 12,
  24.   M88K_R30_REGNUM = 30,                /* Frame pointer.  */
  25.   M88K_R31_REGNUM,                /* Stack pointer.  */
  26.   M88K_EPSR_REGNUM,
  27.   M88K_FPSR_REGNUM,
  28.   M88K_FPCR_REGNUM,
  29.   M88K_SXIP_REGNUM,
  30.   M88K_SNIP_REGNUM,
  31.   M88K_SFIP_REGNUM,
  32.   M88K_NUM_REGS                        /* Number of machine registers.  */

  33. };

  34. /* Instruction size.  */
  35. #define M88K_INSN_SIZE 4

  36. #endif /* m88k-tdep.h */