linux-aarch32-low.h 1.5 KB

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