gdb/testsuite: Reduce gdb.threads/threadcrash.exp reliance on libc symbols
[binutils-gdb.git] / gdbserver / linux-aarch32-low.h
bloba33159b940fa5510dd877e8c95a2e3d8566fb240
1 /* Copyright (C) 1995-2024 Free Software Foundation, Inc.
3 This file is part of GDB.
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.
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.
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/>. */
18 #ifndef GDBSERVER_LINUX_AARCH32_LOW_H
19 #define GDBSERVER_LINUX_AARCH32_LOW_H
21 extern struct regs_info regs_info_aarch32;
23 void arm_fill_gregset (struct regcache *regcache, void *buf);
24 void arm_store_gregset (struct regcache *regcache, const void *buf);
25 void arm_fill_vfpregset_num (struct regcache *regcache, void *buf, int num);
26 void arm_store_vfpregset_num (struct regcache *regcache, const void *buf,
27 int num);
29 int arm_breakpoint_kind_from_pc (CORE_ADDR *pcptr);
30 const gdb_byte *arm_sw_breakpoint_from_kind (int kind , int *size);
31 int arm_breakpoint_kind_from_current_state (CORE_ADDR *pcptr);
32 int arm_breakpoint_at (CORE_ADDR where);
34 void initialize_low_arch_aarch32 (void);
36 void init_registers_arm_with_neon (void);
37 int arm_is_thumb_mode (void);
39 #endif /* GDBSERVER_LINUX_AARCH32_LOW_H */