1 /* Target-dependent code for Analog Devices Blackfin processor, for GDB.
3 Copyright (C) 2005-2022 Free Software Foundation, Inc.
5 Contributed by Analog Devices, Inc.
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 3 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, see <http://www.gnu.org/licenses/>. */
83 /* Pseudo Registers managed remotely. */
86 /* Pseudo Registers managed locally. */
89 #define BFIN_NUM_REGS (BFIN_PC_REGNUM + 1)
90 #define BFIN_NUM_PSEUDO_REGS (1)
92 /* The ABIs for Blackfin. */
98 /* Target-dependent structure in gdbarch. */
99 struct bfin_gdbarch_tdep
: gdbarch_tdep
101 /* Which ABI is in use? */
102 enum bfin_abi bfin_abi
{};
105 /* Return the Blackfin ABI associated with GDBARCH. */
106 extern enum bfin_abi
bfin_abi (struct gdbarch
*gdbarch
);
108 #endif /* BFIN_TDEP_H */