GDB (xrefs)
Loading...
Searching...
No Matches
/tmp/gdb-13.1/gdb/mn10300-tdep.h
Go to the documentation of this file.
1/* Target-dependent interface for Matsushita MN10300 for GDB, the GNU debugger.
2
3 Copyright (C) 1996-2023 Free Software Foundation, Inc.
4
5 This file is part of GDB.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20#ifndef MN10300_TDEP_H
21#define MN10300_TDEP_H
22
23#include "gdbarch.h"
24
25enum {
56 E_FS0_REGNUM = 32
57};
58
67 movm_d2_bit = 0x80
68};
69
70/* Values for frame_info.status. */
71
75 NO_MORE_FRAMES = 0x4
76};
77
78/* mn10300 private data. */
80{
82};
83
84static inline int
86{
87 mn10300_gdbarch_tdep *tdep = gdbarch_tdep<mn10300_gdbarch_tdep> (arch);
88 return tdep->am33_mode;
89}
90
91#endif /* MN10300_TDEP_H */
movm_register_bits
Definition: mn10300-tdep.h:59
@ movm_a3_bit
Definition: mn10300-tdep.h:64
@ movm_exreg0_bit
Definition: mn10300-tdep.h:62
@ movm_other_bit
Definition: mn10300-tdep.h:63
@ movm_d2_bit
Definition: mn10300-tdep.h:67
@ movm_a2_bit
Definition: mn10300-tdep.h:65
@ movm_exother_bit
Definition: mn10300-tdep.h:60
@ movm_d3_bit
Definition: mn10300-tdep.h:66
@ movm_exreg1_bit
Definition: mn10300-tdep.h:61
static int get_am33_mode(gdbarch *arch)
Definition: mn10300-tdep.h:85
@ E_A2_REGNUM
Definition: mn10300-tdep.h:32
@ E_E4_REGNUM
Definition: mn10300-tdep.h:45
@ E_MCRL_REGNUM
Definition: mn10300-tdep.h:53
@ E_E6_REGNUM
Definition: mn10300-tdep.h:47
@ E_PSW_REGNUM
Definition: mn10300-tdep.h:37
@ E_E0_REGNUM
Definition: mn10300-tdep.h:41
@ E_E10_REGNUM
Definition: mn10300-tdep.h:51
@ E_E1_REGNUM
Definition: mn10300-tdep.h:42
@ E_D3_REGNUM
Definition: mn10300-tdep.h:29
@ E_E8_REGNUM
Definition: mn10300-tdep.h:49
@ E_D1_REGNUM
Definition: mn10300-tdep.h:27
@ E_MDR_REGNUM
Definition: mn10300-tdep.h:36
@ E_SP_REGNUM
Definition: mn10300-tdep.h:34
@ E_LAR_REGNUM
Definition: mn10300-tdep.h:39
@ E_MCVF_REGNUM
Definition: mn10300-tdep.h:54
@ E_A0_REGNUM
Definition: mn10300-tdep.h:30
@ E_LIR_REGNUM
Definition: mn10300-tdep.h:38
@ E_E5_REGNUM
Definition: mn10300-tdep.h:46
@ E_D2_REGNUM
Definition: mn10300-tdep.h:28
@ E_E2_REGNUM
Definition: mn10300-tdep.h:43
@ E_E9_REGNUM
Definition: mn10300-tdep.h:50
@ E_MCRH_REGNUM
Definition: mn10300-tdep.h:52
@ E_MDRQ_REGNUM
Definition: mn10300-tdep.h:40
@ E_E7_REGNUM
Definition: mn10300-tdep.h:48
@ E_PC_REGNUM
Definition: mn10300-tdep.h:35
@ E_FPCR_REGNUM
Definition: mn10300-tdep.h:55
@ E_E3_REGNUM
Definition: mn10300-tdep.h:44
@ E_FS0_REGNUM
Definition: mn10300-tdep.h:56
@ E_A3_REGNUM
Definition: mn10300-tdep.h:33
@ E_A1_REGNUM
Definition: mn10300-tdep.h:31
@ E_D0_REGNUM
Definition: mn10300-tdep.h:26
frame_kind
Definition: mn10300-tdep.h:72
@ NO_MORE_FRAMES
Definition: mn10300-tdep.h:75
@ MY_FRAME_IN_FP
Definition: mn10300-tdep.h:74
@ MY_FRAME_IN_SP
Definition: mn10300-tdep.h:73