openocd/src/target
David Brownell abe8b43755 ETM: add "etm trigger_debug" command
In conjunction with manual register setup, this lets the ETM trigger
cause entry to debug state.   It should make it easier to test and
bugfix the ETM code, by enabling non-trace usage and isolating bugs
specific to thef ETM support.  (One current issue being that trace
data collection using the ETB doesn't yet behave.)

For example, many ARM9 cores with an ETM should be able to implement
four more (simple) breakpoints and two more (simple) watchpoints than
the EmbeddedICE supports.  Or, they should be able to support complex
breakpoints, incorporating ETM sequencer, counters, and/or subroutine
entry/exit criteria int criteria used to trigger debug entry.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-19 13:09:19 -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 target: add basic dsp563xx support 2009-12-15 18:38:52 +01:00
algorithm.c change #include "binarybuffer.h" to <helper/binarybuffer.h> 2009-12-03 04:22:17 -08:00
algorithm.h target: don't implicitly include "algorithm.h" 2009-11-16 00:35:05 -08:00
arm.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm7_9_common.c target: remove more exit() calls 2009-12-08 13:09:38 -08:00
arm7_9_common.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm7tdmi.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
arm7tdmi.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm9tdmi.c target: move 'extern' decls to *.h files 2009-12-08 13:06:41 -08:00
arm9tdmi.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm11.c ARM11: improved reset support 2009-12-14 19:56:36 -08:00
arm11.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm11_dbgtap.c ARM11: avoid pointless status returns 2009-12-11 20:55:12 -08:00
arm11_dbgtap.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm720t.c ARM: don't clone arm_arch_state() code 2009-12-07 14:57:44 -08:00
arm720t.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm920t.c ARM: don't clone arm_arch_state() code 2009-12-07 14:57:44 -08:00
arm920t.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm926ejs.c ARM: don't clone arm_arch_state() code 2009-12-07 14:57:44 -08:00
arm926ejs.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm966e.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
arm966e.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm_adi_v5.c change #include "time_support.h" to <helper/time_support.h> 2009-12-03 04:22:52 -08:00
arm_adi_v5.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
arm_disassembler.c ARM: disassemble STM correctly 2009-12-14 19:53:10 -08:00
arm_disassembler.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
arm_dpm.c ARM DPM: support updating HW breakpoints 2009-12-11 15:26:10 -08:00
arm_dpm.h ARM DPM: support updating HW breakpoints 2009-12-11 15:26:10 -08:00
arm_jtag.c embedded hosts: optimize common code path for core arm operations 2009-12-11 09:17:23 +01:00
arm_jtag.h embedded hosts: optimize common code path for core arm operations 2009-12-11 09:17:23 +01:00
arm_opcodes.h ARM: update arm_opcodes.h copyright 2009-12-09 21:43:23 -08:00
arm_semihosting.c ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
arm_semihosting.h ARM: remove semihosting globals 2009-12-04 16:51:48 -08:00
arm_simulator.c ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
arm_simulator.h ARM: rename armv4_5_state_* as arm_state_* 2009-12-04 19:39:25 -08:00
armv4_5.c target: add debug_reason_name() 2009-12-07 14:57:44 -08:00
armv4_5.h ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
armv4_5_cache.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
armv4_5_cache.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
armv4_5_mmu.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
armv4_5_mmu.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
armv7a.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
armv7a.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
armv7m.c target: add debug_reason_name() 2009-12-07 14:57:44 -08:00
armv7m.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
avrt.c use ARRAY_SIZE macro 2009-11-25 10:32:00 -08:00
avrt.h change #include "jtag.h" to <jtag/jtag.h> 2009-12-03 04:24:33 -08:00
breakpoints.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
breakpoints.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
cortex_a8.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
cortex_a8.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
cortex_m3.c target: move 'extern' decls to *.h files 2009-12-08 13:06:41 -08:00
cortex_m3.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
dsp563xx.c dsp563xx: cygwin build fixes 2009-12-18 03:08:49 -08:00
dsp563xx.h target: add basic dsp563xx support 2009-12-15 18:38:52 +01:00
dsp563xx_once.c target: add basic dsp563xx support 2009-12-15 18:38:52 +01:00
dsp563xx_once.h target: add basic dsp563xx support 2009-12-15 18:38:52 +01:00
embeddedice.c Comment and doxygen fixes 2009-12-09 10:25:52 -08:00
embeddedice.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
etb.c ETM: start cleaning up ETM_CTRL bit handling 2009-12-19 13:07:25 -08:00
etb.h ETM trigger_percent becomes an ETB command 2009-12-19 13:06:46 -08:00
etm.c ETM: add "etm trigger_debug" command 2009-12-19 13:09:19 -08:00
etm.h ETM: more ETM_CTRL bit cleanup 2009-12-19 13:07:26 -08:00
etm_dummy.c ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
etm_dummy.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
fa526.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
feroceon.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
image.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
image.h change #include "fileio.h" to <helper/fileio.h> 2009-12-03 04:22:51 -08:00
mips32.c target: add debug_reason_name() 2009-12-07 14:57:44 -08:00
mips32.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
mips32_dmaacc.c mips_ejtag_t -> struct mips_ejtag 2009-11-13 11:58:11 -08:00
mips32_dmaacc.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
mips32_pracc.c use ARRAY_SIZE macro 2009-11-25 10:32:00 -08:00
mips32_pracc.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
mips_ejtag.c use ARRAY_SIZE macro 2009-11-25 10:32:00 -08:00
mips_ejtag.h change #include "jtag.h" to <jtag/jtag.h> 2009-12-03 04:24:33 -08:00
mips_m4k.c remove target_type register_command callback 2009-11-24 21:37:36 -08:00
mips_m4k.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
oocd_trace.c target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
oocd_trace.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00
register.c change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
register.h target: make register flags "bool" 2009-11-22 10:27:29 -08:00
startup.tcl improve startup tcl scripts 2009-11-24 21:37:29 -08:00
target.c target: add basic dsp563xx support 2009-12-15 18:38:52 +01:00
target.h target: further shrink Jim-awareness 2009-12-13 12:52:23 -08:00
target_request.c target: further shrink Jim-awareness 2009-12-13 12:52:23 -08:00
target_request.h #include "target.h" less wildly 2009-11-16 00:35:24 -08:00
target_type.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
testee.c target: further shrink Jim-awareness 2009-12-13 12:52:23 -08:00
trace.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
trace.h change #include "types.h" to <helper/types.h> 2009-12-03 04:22:52 -08:00
xscale.c XScale: better {read,write}_phys() 2009-12-18 09:53:59 -08:00
xscale.h target files shouldn't #include <target/...h> 2009-12-13 12:52:23 -08:00