Home | History | Annotate | Line # | Download | only in gdbserver
      1 /* Copyright (C) 1995-2024 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 
     21 extern struct regs_info regs_info_aarch32;
     22 
     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);
     28 
     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);
     33 
     34 void initialize_low_arch_aarch32 (void);
     35 
     36 int arm_is_thumb_mode (void);
     37 
     38 #endif /* GDBSERVER_LINUX_AARCH32_LOW_H */
     39