aboutsummaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h
index fe7e1a7..5457f0a 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -473,6 +473,13 @@ int target_hit_watchpoint(struct target *target,
struct watchpoint **watchpoint);
/**
+ * Obtain the architecture for GDB.
+ *
+ * This routine is a wrapper for target->type->get_gdb_arch.
+ */
+const char *target_get_gdb_arch(struct target *target);
+
+/**
* Obtain the registers for GDB.
*
* This routine is a wrapper for target->type->get_gdb_reg_list.