aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMike Smith2011-11-25 17:07:46 -0800
committerMike Smith2011-11-25 17:07:46 -0800
commitffda30f393cd72b6cfec21673abdee25aeaf2ee3 (patch)
treece6815b84780256e26cfbe932d4bdb415ea897b4 /src/include
parent8babb37472a70d8f3f4e4f8325f4ecc0af5a587a (diff)
Add support for a more comprehensive target description, including the additional v7m registers.
This doesn't work with vanilla gdb, as for reasons unknown said vanilla gdb doesn't support XML target descriptions queried from the remote. Add code to the fault unwinder to deal with the stack alignment fixup and FP registers. Avoid saving/restoring registers that don't get trashed.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/target.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/target.h b/src/include/target.h
index 030b41e..1ff61b5 100644
--- a/src/include/target.h
+++ b/src/include/target.h
@@ -136,6 +136,7 @@ typedef struct target_s {
/* Register access functions */
int regs_size;
+ const char *tdesc;
int (*regs_read)(struct target_s *target, void *data);
int (*regs_write)(struct target_s *target, const void *data);