xref: /netbsd-src/external/gpl3/gdb/dist/gdbserver/linux-aarch32-low.h (revision 64f917f5a88990e32dd65fcd4348042fa7f852b9)
1*64f917f5Schristos /* Copyright (C) 1995-2024 Free Software Foundation, Inc.
28dffb485Schristos 
38dffb485Schristos    This file is part of GDB.
48dffb485Schristos 
58dffb485Schristos    This program is free software; you can redistribute it and/or modify
68dffb485Schristos    it under the terms of the GNU General Public License as published by
78dffb485Schristos    the Free Software Foundation; either version 3 of the License, or
88dffb485Schristos    (at your option) any later version.
98dffb485Schristos 
108dffb485Schristos    This program is distributed in the hope that it will be useful,
118dffb485Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
128dffb485Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
138dffb485Schristos    GNU General Public License for more details.
148dffb485Schristos 
158dffb485Schristos    You should have received a copy of the GNU General Public License
168dffb485Schristos    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
178dffb485Schristos 
188dffb485Schristos #ifndef GDBSERVER_LINUX_AARCH32_LOW_H
198dffb485Schristos #define GDBSERVER_LINUX_AARCH32_LOW_H
208dffb485Schristos 
218dffb485Schristos extern struct regs_info regs_info_aarch32;
228dffb485Schristos 
238dffb485Schristos void arm_fill_gregset (struct regcache *regcache, void *buf);
248dffb485Schristos void arm_store_gregset (struct regcache *regcache, const void *buf);
258dffb485Schristos void arm_fill_vfpregset_num (struct regcache *regcache, void *buf, int num);
268dffb485Schristos void arm_store_vfpregset_num (struct regcache *regcache, const void *buf,
278dffb485Schristos 			      int num);
288dffb485Schristos 
298dffb485Schristos int arm_breakpoint_kind_from_pc (CORE_ADDR *pcptr);
308dffb485Schristos const gdb_byte *arm_sw_breakpoint_from_kind (int kind , int *size);
318dffb485Schristos int arm_breakpoint_kind_from_current_state (CORE_ADDR *pcptr);
328dffb485Schristos int arm_breakpoint_at (CORE_ADDR where);
338dffb485Schristos 
348dffb485Schristos void initialize_low_arch_aarch32 (void);
358dffb485Schristos 
368dffb485Schristos void init_registers_arm_with_neon (void);
378dffb485Schristos int arm_is_thumb_mode (void);
388dffb485Schristos 
398dffb485Schristos #endif /* GDBSERVER_LINUX_AARCH32_LOW_H */
40