diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-17 23:50:17 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-17 23:50:17 -0800 |
commit | d6c8945662e6027f6ba12d73bac2473088672db5 (patch) | |
tree | 022750b4c487161ccdaeac9c24bb0754f55c8653 /src/target/armv4_5.h | |
parent | 0091e59d2a18c293fd952a9d707e609afdd6b17f (diff) | |
download | riscv-openocd-d6c8945662e6027f6ba12d73bac2473088672db5.zip riscv-openocd-d6c8945662e6027f6ba12d73bac2473088672db5.tar.gz riscv-openocd-d6c8945662e6027f6ba12d73bac2473088672db5.tar.bz2 |
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/armv4_5.h')
-rw-r--r-- | src/target/armv4_5.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h index 5fef094..d126f96 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -158,6 +158,8 @@ int arm_checksum_memory(struct target *target, int arm_blank_check_memory(struct target *target, uint32_t address, uint32_t count, uint32_t *blank); +extern struct reg arm_gdb_dummy_fp_reg; +extern struct reg arm_gdb_dummy_fps_reg; /* ARM mode instructions */ |