summaryrefslogtreecommitdiff
path: root/src/target/armv7a.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-17 23:50:17 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-17 23:50:17 -0800
commitd6c8945662e6027f6ba12d73bac2473088672db5 (patch)
tree022750b4c487161ccdaeac9c24bb0754f55c8653 /src/target/armv7a.c
parent0091e59d2a18c293fd952a9d707e609afdd6b17f (diff)
downloadopenocd+libswd-d6c8945662e6027f6ba12d73bac2473088672db5.tar.gz
openocd+libswd-d6c8945662e6027f6ba12d73bac2473088672db5.tar.bz2
openocd+libswd-d6c8945662e6027f6ba12d73bac2473088672db5.tar.xz
openocd+libswd-d6c8945662e6027f6ba12d73bac2473088672db5.zip
ARM: only use one set of dummy FPA registers
All ARM cores need to provide obsolete FPA registers in their GDB register dumps. (Even though cores with floating point support now generally use some version of VFP...) Clean up that support a bit by sharing the same dummy registers, and removing the duplicate copies. Eventually we shouldn't need to export those dummies. (This makes the ARMv7-M support include the armv4_5 header, and cleans up related #includes, but doesn't yet use anything from there except those dummies.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/armv7a.c')
-rw-r--r--src/target/armv7a.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/target/armv7a.c b/src/target/armv7a.c
index 8f90dd32..1518674a 100644
--- a/src/target/armv7a.c
+++ b/src/target/armv7a.c
@@ -144,21 +144,6 @@ int armv7a_core_reg_map[8][17] =
}
};
-/* FIXME this dummy is IDENTICAL to the armv4_5, arm11, and armv7m
- * ones... except for naming/scoping
- */
-uint8_t armv7a_gdb_dummy_fp_value[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
-
-struct reg armv7a_gdb_dummy_fp_reg =
-{
- .name = "GDB dummy floating-point register",
- .value = armv7a_gdb_dummy_fp_value,
- .dirty = 0,
- .valid = 1,
- .size = 96,
- .arch_info = NULL,
-};
-
void armv7a_show_fault_registers(struct target *target)
{
uint32_t dfsr, ifsr, dfar, ifar;