Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/machine/armv6l/tcf/regset-mdep.h')
-rw-r--r--agent/machine/armv6l/tcf/regset-mdep.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/agent/machine/armv6l/tcf/regset-mdep.h b/agent/machine/armv6l/tcf/regset-mdep.h
index 204d69b3..b3b4c790 100644
--- a/agent/machine/armv6l/tcf/regset-mdep.h
+++ b/agent/machine/armv6l/tcf/regset-mdep.h
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2013 Stanislav Yakovlev.
+ * Copyright (c) 2013 Stanislav Yakovlev and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany this distribution.
@@ -11,7 +11,23 @@
*
* Contributors:
* Stanislav Yakovlev - initial API and implementation
+ * Emmanuel Touron (Wind River) - initial HW Breakpoint support
*******************************************************************************/
/* offset to be applied to the PC after a software trap */
-#define TRAP_OFFSET -8
+#define TRAP_OFFSET 0
+
+#define MAX_HBP 1
+typedef struct {
+ uint32_t vr;
+ uint32_t cr;
+} user_hbpreg_struct;
+
+struct user_hbpregs_struct {
+ uint32_t bp_info;
+ user_hbpreg_struct bp[MAX_HBP];
+// user_hbpreg_struct wp[MAX_HBP];
+};
+
+/* additional CPU registers */
+#define MDEP_OtherRegisters struct user_hbpregs_struct

Back to the top