1/* Copyright (C) 1995-2023 Free Software Foundation, Inc.
2
3   This file is part of GDB.
4
5   This program is free software; you can redistribute it and/or modify
6   it under the terms of the GNU General Public License as published by
7   the Free Software Foundation; either version 3 of the License, or
8   (at your option) any later version.
9
10   This program is distributed in the hope that it will be useful,
11   but WITHOUT ANY WARRANTY; without even the implied warranty of
12   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   GNU General Public License for more details.
14
15   You should have received a copy of the GNU General Public License
16   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
17
18#ifndef GDBSERVER_LINUX_AARCH32_LOW_H
19#define GDBSERVER_LINUX_AARCH32_LOW_H
20
21extern struct regs_info regs_info_aarch32;
22
23void arm_fill_gregset (struct regcache *regcache, void *buf);
24void arm_store_gregset (struct regcache *regcache, const void *buf);
25void arm_fill_vfpregset_num (struct regcache *regcache, void *buf, int num);
26void arm_store_vfpregset_num (struct regcache *regcache, const void *buf,
27			      int num);
28
29int arm_breakpoint_kind_from_pc (CORE_ADDR *pcptr);
30const gdb_byte *arm_sw_breakpoint_from_kind (int kind , int *size);
31int arm_breakpoint_kind_from_current_state (CORE_ADDR *pcptr);
32int arm_breakpoint_at (CORE_ADDR where);
33
34void initialize_low_arch_aarch32 (void);
35
36void init_registers_arm_with_neon (void);
37int arm_is_thumb_mode (void);
38
39#endif /* GDBSERVER_LINUX_AARCH32_LOW_H */
40