aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm7tdmi.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 12:12:38 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 12:12:38 +0000
commit040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd (patch)
tree509edb0af8900ec032dd173a4593bccd4f552bbc /src/target/arm7tdmi.c
parentf499341558dce8a41086f5439ca0458f4ea1fbfd (diff)
downloadriscv-openocd-040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd.zip
riscv-openocd-040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd.tar.gz
riscv-openocd-040e6cef41d77f6692f2f5e9c5849e6d8fbeeefd.tar.bz2
no longer use jtag_add_xxx() to set end state to TAP_DRPAUSE
git-svn-id: svn://svn.berlios.de/openocd/trunk@2045 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm7tdmi.c')
-rw-r--r--src/target/arm7tdmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c
index 1c672cc..e3185be 100644
--- a/src/target/arm7tdmi.c
+++ b/src/target/arm7tdmi.c
@@ -116,7 +116,7 @@ int arm7tdmi_examine_debug_reason(target_t *target)
}
arm_jtag_set_instr(&arm7_9->jtag_info, arm7_9->jtag_info.intest_instr, NULL);
- jtag_add_dr_scan(2, fields, TAP_DRPAUSE);
+ jtag_add_dr_scan(2, fields, jtag_add_end_state(TAP_DRPAUSE));
if((retval = jtag_execute_queue()) != ERROR_OK)
{
return retval;
@@ -127,7 +127,7 @@ int arm7tdmi_examine_debug_reason(target_t *target)
fields[1].in_value = NULL;
fields[1].out_value = databus;
- jtag_add_dr_scan(2, fields, TAP_DRPAUSE);
+ jtag_add_dr_scan(2, fields, jtag_add_end_state(TAP_DRPAUSE));
if (breakpoint & 1)
target->debug_reason = DBG_REASON_WATCHPOINT;