5c684541e84f043f9e6ae4670bab8873cd6e3603
[external/binutils.git] / gdb / gdbserver / linux-aarch32-low.h
1 /* Copyright (C) 1995-2016 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 extern const unsigned short thumb2_breakpoint[];
19
20 extern struct regs_info regs_info_aarch32;
21
22 void arm_fill_gregset (struct regcache *regcache, void *buf);
23 void arm_store_gregset (struct regcache *regcache, const void *buf);
24 void arm_fill_vfpregset_num (struct regcache *regcache, void *buf, int num);
25 void arm_store_vfpregset_num (struct regcache *regcache, const void *buf,
26                               int num);
27
28 int arm_breakpoint_kind_from_pc (CORE_ADDR *pcptr);
29 const gdb_byte *arm_sw_breakpoint_from_kind (int kind , int *size);
30 int arm_breakpoint_kind_from_current_state (CORE_ADDR *pcptr);
31 int arm_breakpoint_at (CORE_ADDR where);
32
33 void initialize_low_arch_aarch32 (void);
34
35 void init_registers_arm_with_neon (void);
36 int arm_is_thumb_mode (void);
37
38 extern const struct target_desc *tdesc_arm_with_neon;