* arm-tdep.h: Add multiple inclusion protection.
[deliverable/binutils-gdb.git] / gdb / arm-tdep.h
index 7b369d5fb902b2ee46f4437a6a99cd0c2250c421..a5fc99df5b4a9d2fffc9d0040c515b22eb6901a8 100644 (file)
    Foundation, Inc., 51 Franklin Street, Fifth Floor,
    Boston, MA 02110-1301, USA.  */
 
+#ifndef ARM_TDEP_H
+#define ARM_TDEP_H
+
 /* Forward declarations.  */
+struct gdbarch;
 struct regset;
 
 /* Register numbers of various important registers.  Note that some of
@@ -176,3 +180,14 @@ int arm_pc_is_thumb (CORE_ADDR);
 CORE_ADDR thumb_get_next_pc (CORE_ADDR);
 
 CORE_ADDR arm_get_next_pc (CORE_ADDR);
+
+/* Functions exported from armbsd-tdep.h.  */
+
+/* Return the appropriate register set for the core section identified
+   by SECT_NAME and SECT_SIZE.  */
+
+extern const struct regset *
+  armbsd_regset_from_core_section (struct gdbarch *gdbarch,
+                                  const char *sect_name, size_t sect_size);
+
+#endif /* arm-tdep.h */
This page took 0.028465 seconds and 4 git commands to generate.