riscv-openocd/src
David Brownell 9ac7cdec82 target: make "examined" flag be per-target
Previously this flag was stored in "target_type", so that for example
if there were two ARM7TDMI targets in a scan chain, both would claim
to have been examined although only the first one actually had its
examine() method called.

Move this state to where it should have been in the first place, and
hide a method that didn't need exposure ... the flag is write-once.

Provide some doxygen.  The examine() method is confusing, since it
isn't separating one-time setup from the after-each-reset stuff.  And
the ARM7/ARM9 version is, somewhat undesirably, not leaving the debug
state alone after reset ... probably more of an issue for trace setup
than for watchpoints and breakpoints.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-15 10:35:25 -08:00
..
flash lpc2900.h -- remove from Makefile.am too 2009-11-14 14:58:14 -08:00
helper remove unused buf_to_u32_handler 2009-11-14 18:21:02 -08:00
jtag arm-jtag-ew,jlink: switch to COMMAND_HANDLER 2009-11-15 09:12:44 -08:00
pld command_t -> struct command 2009-11-13 13:30:50 -08:00
server add openocd.h for top-level declarations 2009-11-14 07:29:16 -08:00
svf command_context_t -> struct command_context 2009-11-13 13:25:47 -08:00
target target: make "examined" flag be per-target 2009-11-15 10:35:25 -08:00
xsvf command_context_t -> struct command_context 2009-11-13 13:25:47 -08:00
Makefile.am add openocd.h for top-level declarations 2009-11-14 07:29:16 -08:00
ecosboard.c add openocd.h for top-level declarations 2009-11-14 07:29:16 -08:00
hello.c command_t -> struct command 2009-11-13 13:30:50 -08:00
main.c add openocd.h for top-level declarations 2009-11-14 07:29:16 -08:00
openocd.c remove annoying $URL$ startup message 2009-11-14 12:42:50 -08:00
openocd.h add openocd.h for top-level declarations 2009-11-14 07:29:16 -08:00