riscv-openocd/src/target
David Brownell bf3abc48f0 ARM11: use standard single step simulation
The previous stuff was needed because the ARM11 code wasn't using
the standard ARM base type and register access ... but now those
mechanisms work, so we can switch out that special-purpose glue.

This should resolve all the "FIXME -- handle Thumb single stepping"
comments too, and properly handle the processor's mode.  (Modulo
the issue that this code doesn't yet handle two-byte breakpoints.)

Clarify the comments about the the hardware single stepping.  When
we eventually share breakpoint code with Cortex-A8, we can just make
that be the default on cores which support it.  We may still want an
override command, not just to facilitate testing but to cope with
"instruction address mismatch" not quite being true single-step.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-24 01:27:21 -08:00
..
ecos - reverted some of the changes that possibly broke arm926ejs. Waiting 2008-04-04 13:47:38 +00:00
xscale Remove annoying end-of-line whitespace from most src/* 2009-09-21 18:40:55 +00:00
Makefile.am ARM: new DPM interface 2009-11-24 00:13:58 -08:00
algorithm.c rename CEIL as DIV_ROUND_UP 2009-11-16 09:58:11 -08:00
algorithm.h target: don't implicitly include "algorithm.h" 2009-11-16 00:35:05 -08:00
arm7_9_common.c ARM: use arm_reg_current() 2009-11-22 10:27:29 -08:00
arm7_9_common.h ARM: pass 'struct reg *' to register r/w routines 2009-11-20 16:27:24 -08:00
arm7tdmi.c ARM: remove 'armv4_5_common_s' migration #define 2009-11-22 10:27:29 -08:00
arm7tdmi.h ARM7TDMI: remove now-needless "struct arm7tdmi" 2009-11-17 01:09:06 -08:00
arm9tdmi.c ARM: remove 'armv4_5_common_s' migration #define 2009-11-22 10:27:29 -08:00
arm9tdmi.h ARM9TDMI: remove now-needless "struct arm9tdmi" 2009-11-17 01:09:50 -08:00
arm11.c ARM11: use standard single step simulation 2009-11-24 01:27:21 -08:00
arm11.h ARM11: remove register "history" debug stuff 2009-11-24 00:14:15 -08:00
arm11_dbgtap.c ARM11: implement provider for new DPM interface 2009-11-24 00:14:06 -08:00
arm11_dbgtap.h ARM11: implement provider for new DPM interface 2009-11-24 00:14:06 -08:00
arm720t.c ARM: remove 'armv4_5_common_s' migration #define 2009-11-22 10:27:29 -08:00
arm720t.h ARM7TDMI: remove now-needless "struct arm7tdmi" 2009-11-17 01:09:06 -08:00
arm920t.c ARM: use arm_reg_current() 2009-11-22 10:27:29 -08:00
arm920t.h ARM9TDMI: remove now-needless "struct arm9tdmi" 2009-11-17 01:09:50 -08:00
arm926ejs.c arm926ejs: retire cp15 commands, handled by mrc/mcr. 2009-11-23 14:02:03 +01:00
arm926ejs.h ARM9TDMI: remove now-needless "struct arm9tdmi" 2009-11-17 01:09:50 -08:00
arm966e.c command_handler: change 'cmd_ctx' to CMD_CTX 2009-11-17 11:40:06 -08:00
arm966e.h ARM9TDMI: remove now-needless "struct arm9tdmi" 2009-11-17 01:09:50 -08:00
arm_adi_v5.c command_handler: change 'cmd_ctx' to CMD_CTX 2009-11-17 11:40:06 -08:00
arm_adi_v5.h #include "target.h" less wildly 2009-11-16 00:35:24 -08:00
arm_disassembler.c ARM: standard disassembler uses Thumb2 entry 2009-11-16 15:29:14 -08:00
arm_disassembler.h target_t -> struct target 2009-11-13 11:58:14 -08:00
arm_dpm.c ARM: new DPM interface 2009-11-24 00:13:58 -08:00
arm_dpm.h ARM: new DPM interface 2009-11-24 00:13:58 -08:00
arm_jtag.c remove unused arm_jtag_buf_to_* helpers 2009-11-14 18:21:02 -08:00
arm_jtag.h remove unused arm_jtag_buf_to_* helpers 2009-11-14 18:21:02 -08:00
arm_simulator.c ARM: remove 'armv4_5_common_s' migration #define 2009-11-22 10:27:29 -08:00
arm_simulator.h target_t -> struct target 2009-11-13 11:58:14 -08:00
armv4_5.c ARM: new DPM interface 2009-11-24 00:13:58 -08:00
armv4_5.h ARM: new DPM interface 2009-11-24 00:13:58 -08:00
armv4_5_cache.c command_context_t -> struct command_context 2009-11-13 13:25:47 -08:00
armv4_5_cache.h command_context_t -> struct command_context 2009-11-13 13:25:47 -08:00
armv4_5_mmu.c #include "target.h" less wildly 2009-11-16 00:35:24 -08:00
armv4_5_mmu.h #include "target.h" less wildly 2009-11-16 00:35:24 -08:00
armv7a.c ARM: remove 'armv4_5_common_s' migration #define 2009-11-22 10:27:29 -08:00
armv7a.h ARM: simplify CPSR handling 2009-11-22 03:37:21 -08:00
armv7m.c target: create/use register_cache_invalidate() 2009-11-19 19:02:10 -08:00
armv7m.h ARM: only use one set of dummy FPA registers 2009-11-17 23:50:17 -08:00
avrt.c command_context_t -> struct command_context 2009-11-13 13:25:47 -08:00
avrt.h avr_common_t -> struct avr_common 2009-11-13 11:58:10 -08:00
breakpoints.c target: cope with *any* error setting a breakpoint 2009-11-24 00:13:43 -08:00
breakpoints.h target_t -> struct target 2009-11-13 11:58:14 -08:00
cortex_a8.c ARM: use arm_reg_current() 2009-11-22 10:27:29 -08:00
cortex_a8.h #include "target.h" less wildly 2009-11-16 00:35:24 -08:00
cortex_m3.c target: create/use register_cache_invalidate() 2009-11-19 19:02:10 -08:00
cortex_m3.h ARM: only use one set of dummy FPA registers 2009-11-17 23:50:17 -08:00
embeddedice.c jtag-api: get rid of unecessary buf_set_u23() that make code obtuse. 2009-11-18 09:24:28 +01:00
embeddedice.h target_t -> struct target 2009-11-13 11:58:14 -08:00
etb.c command_handler: change 'cmd_ctx' to CMD_CTX 2009-11-17 11:40:06 -08:00
etb.h etm_context_t -> struct etm_context 2009-11-13 11:58:13 -08:00
etm.c target: create/use register_cache_invalidate() 2009-11-19 19:02:10 -08:00
etm.h command_context_t -> struct command_context 2009-11-13 13:25:47 -08:00
etm_dummy.c command_handler: change 'cmd_ctx' to CMD_CTX 2009-11-17 11:40:06 -08:00
etm_dummy.h etm_capture_driver_t -> struct etm_capture_driver 2009-11-13 11:58:11 -08:00
fa526.c ARM9TDMI: remove now-needless "struct arm9tdmi" 2009-11-17 01:09:50 -08:00
feroceon.c target: no implicit #includes of "register.h" 2009-11-16 00:35:14 -08:00
image.c embedded: do not allocate large temporary structures on stack 2009-11-22 13:38:42 +01:00
image.h fileio: improve API types 2009-11-16 15:47:09 -08:00
mips32.c target: create/use register_cache_invalidate() 2009-11-19 19:02:10 -08:00
mips32.h target: create/use register_cache_invalidate() 2009-11-19 19:02:10 -08:00
mips32_dmaacc.c mips_ejtag_t -> struct mips_ejtag 2009-11-13 11:58:11 -08:00
mips32_dmaacc.h mips_ejtag_t -> struct mips_ejtag 2009-11-13 11:58:11 -08:00
mips32_pracc.c mips: fix gaffe when removing dynamic array allocation 2009-11-24 08:26:30 +01:00
mips32_pracc.h mips: use const for code sequences 2009-11-22 20:18:26 +01:00
mips_ejtag.c mips_ejtag_t -> struct mips_ejtag 2009-11-13 11:58:11 -08:00
mips_ejtag.h mips_ejtag_t -> struct mips_ejtag 2009-11-13 11:58:11 -08:00
mips_m4k.c target: create/use register_cache_invalidate() 2009-11-19 19:02:10 -08:00
mips_m4k.h target_t -> struct target 2009-11-13 11:58:14 -08:00
oocd_trace.c command_handler: change 'cmd_ctx' to CMD_CTX 2009-11-17 11:40:06 -08:00
oocd_trace.h etm_context_t -> struct etm_context 2009-11-13 11:58:13 -08:00
register.c target: create/use register_cache_invalidate() 2009-11-19 19:02:10 -08:00
register.h target: make register flags "bool" 2009-11-22 10:27:29 -08:00
startup.tcl split startup.tcl file across modules 2009-11-18 07:21:42 -08:00
target.c target: reduce stack usage 2009-11-22 18:58:42 +01:00
target.h move container_of to types.h 2009-11-16 09:57:59 -08:00
target_request.c command_handler: change 'cmd_ctx' to CMD_CTX 2009-11-17 11:40:06 -08:00
target_request.h #include "target.h" less wildly 2009-11-16 00:35:24 -08:00
target_type.h target: make "examined" flag be per-target 2009-11-15 10:35:25 -08:00
trace.c command_handler: change 'cmd_ctx' to CMD_CTX 2009-11-17 11:40:06 -08:00
trace.h target: less implicit inclusion of "etm.h" 2009-11-16 10:19:33 -08:00
xscale.c ARM: remove 'armv4_5_common_s' migration #define 2009-11-22 10:27:29 -08:00
xscale.h target_t -> struct target 2009-11-13 11:58:14 -08:00