openocd/src/target
David Brownell bbb754aa39 target: add debug_reason_name()
Provide and use debug_reason_name() instead of expecting targets
to call Jim_Nvp_value2name_simple().  Less dependency on Jim, and
the code becomes more clear too.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-07 14:57:44 -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
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_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 change #include "arm_jtag.h" to <target/arm_jtag.h> 2009-12-03 04:24:40 -08:00
arm_disassembler.c ARM: disassemble two more v6+ instructions 2009-12-07 14:57:43 -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: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
arm_dpm.h ARM DPM: share debug reason logic 2009-12-03 16:08:04 -08:00
arm_jtag.c remove unused arm_jtag_buf_to_* helpers 2009-11-14 18:21:02 -08:00
arm_jtag.h change #include "jtag.h" to <jtag/jtag.h> 2009-12-03 04:24:33 -08:00
arm_opcodes.h ARM: move opcode macros to <target/arm_opcodes.h> 2009-12-07 14:57:43 -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
arm.h ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
arm7_9_common.c ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
arm7_9_common.h ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
arm7tdmi.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
arm7tdmi.h change #include "embeddedice.h" to <target/embeddedice.h> 2009-12-03 04:24:41 -08:00
arm9tdmi.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
arm9tdmi.h change #include "embeddedice.h" to <target/embeddedice.h> 2009-12-03 04:24:41 -08:00
arm11_dbgtap.c ARM11: basic watchpoint support 2009-12-04 18:57:31 -08:00
arm11_dbgtap.h ARM11: basic watchpoint support 2009-12-04 18:57:31 -08:00
arm11.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
arm11.h ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
arm720t.c ARM: don't clone arm_arch_state() code 2009-12-07 14:57:44 -08:00
arm720t.h change #include "armv4_5_mmu.h" to <target/armv4_5_mmu.h> 2009-12-03 04:24:41 -08:00
arm920t.c ARM: don't clone arm_arch_state() code 2009-12-07 14:57:44 -08:00
arm920t.h change #include "armv4_5_mmu.h" to <target/armv4_5_mmu.h> 2009-12-03 04:24:41 -08:00
arm926ejs.c ARM: don't clone arm_arch_state() code 2009-12-07 14:57:44 -08:00
arm926ejs.h change #include "armv4_5_mmu.h" to <target/armv4_5_mmu.h> 2009-12-03 04:24:41 -08:00
arm966e.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
arm966e.h change #include "arm9tdmi.h" to <target/arm9tdmi.h> 2009-12-03 04:24:40 -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 change #include "armv4_5_cache.h" to <target/armv4_5_cache.h> 2009-12-03 04:24:41 -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
armv7a.c ARM: rename some generic routines 2009-12-07 14:57:44 -08:00
armv7a.h ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
armv7m.c target: add debug_reason_name() 2009-12-07 14:57:44 -08:00
armv7m.h ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -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 change #include "armv7a.h" to <target/armv7a.h> 2009-12-03 04:24:41 -08:00
cortex_m3.c ARM: move opcode macros to <target/arm_opcodes.h> 2009-12-07 14:57:43 -08:00
cortex_m3.h change #include "armv7m.h" to <target/armv7m.h> 2009-12-03 04:24:41 -08:00
embeddedice.c target: target_get_name() --> target_type_name() 2009-11-25 16:38:08 -08:00
embeddedice.h change #include "arm7_9_common.h" to <target/arm7_9_common.h> 2009-12-03 04:24:40 -08:00
etb.c ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
etb.h etm_context_t -> struct etm_context 2009-11-13 11:58:13 -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 change #include "etm.h" to <target/etm.h> 2009-12-03 04:24:41 -08:00
etm.c ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
etm.h ARM: misc generic cleanup 2009-12-04 20:14:46 -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
Makefile.am ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -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
mips32_dmaacc.c mips_ejtag_t -> struct mips_ejtag 2009-11-13 11:58:11 -08:00
mips32_dmaacc.h change #include "mips_ejtag.h" to <target/mips_ejtag.h> 2009-12-03 04:24:41 -08:00
mips32_pracc.c use ARRAY_SIZE macro 2009-11-25 10:32:00 -08:00
mips32_pracc.h change #include "mips_ejtag.h" to <target/mips_ejtag.h> 2009-12-03 04:24:41 -08:00
mips32.c target: add debug_reason_name() 2009-12-07 14:57:44 -08:00
mips32.h change #include "target.h" to <target/target.h> 2009-12-03 04:24:42 -08:00
oocd_trace.c ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00
oocd_trace.h change #include "etm.h" to <target/etm.h> 2009-12-03 04:24:41 -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_request.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -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
target.c target: add debug_reason_name() 2009-12-07 14:57:44 -08:00
target.h target: add debug_reason_name() 2009-12-07 14:57:44 -08:00
testee.c change #include "../hello.h" to "hello.h" 2009-12-03 04:24:50 -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 ARM: don't clone arm_arch_state() code 2009-12-07 14:57:44 -08:00
xscale.h ARM: use <target/arm.h> not armv4_5.h 2009-12-07 14:57:44 -08:00