1 /* Parameters for execution on a Matsushita mn10300 processor.
2 Copyright 1996, 1997, 1998, 1999, 2000, 2001
3 Free Software Foundation, Inc.
5 Contributed by Geoffrey Noer <noer@cygnus.com>
7 This file is part of GDB.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
24 #define GDB_MULTI_ARCH 1
26 /* The mn10300 is little endian. */
27 #define TARGET_BYTE_ORDER_DEFAULT LITTLE_ENDIAN
29 /* All registers are 32bits (phew!). */
31 #define REGISTER_SIZE 4
32 #define MAX_REGISTER_RAW_SIZE 4
37 #define REGISTER_VIRTUAL_TYPE(REG) builtin_type_int
41 #define REGISTER_BYTE(REG) ((REG) * 4)
42 #define REGISTER_VIRTUAL_SIZE(REG) 4
43 #define REGISTER_RAW_SIZE(REG) 4
58 #define MDRQ_REGNUM 14
60 #define MCRH_REGNUM 26
61 #define MCRL_REGNUM 27
62 #define MCVF_REGNUM 28
64 enum movm_register_bits
{
65 movm_exother_bit
= 0x01,
66 movm_exreg1_bit
= 0x02,
67 movm_exreg0_bit
= 0x04,
68 movm_other_bit
= 0x08,
This page took 0.030746 seconds and 4 git commands to generate.