diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-19 19:45:01 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-19 19:45:01 +0000 |
commit | 3805e53fd89b34ec932b2993a14a727cd31f9e48 (patch) | |
tree | 9597d94182ab9fb7a39ab2e923980705f6d00356 /src/jtag/jtag.c | |
parent | 46c1cb25a9b4985a9b96802477f6a383786f9cba (diff) | |
download | riscv-openocd-3805e53fd89b34ec932b2993a14a727cd31f9e48.zip riscv-openocd-3805e53fd89b34ec932b2993a14a727cd31f9e48.tar.gz riscv-openocd-3805e53fd89b34ec932b2993a14a727cd31f9e48.tar.bz2 |
Dick Hollenbeck <dick@softplc.com> better logging
git-svn-id: svn://svn.berlios.de/openocd/trunk@1264 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.c')
-rw-r--r-- | src/jtag/jtag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index ef0b695..16dbbd2 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -1300,7 +1300,7 @@ int jtag_read_buffer(u8 *buffer, scan_command_t *cmd) { if (cmd->fields[i].in_handler(cmd->fields[i].in_value, cmd->fields[i].in_handler_priv, cmd->fields+i) != ERROR_OK) { - LOG_WARNING("in_handler reported a failed check"); + LOG_WARNING("in_handler: with \"in_value\", mismatch in %s", cmd->ir_scan ? "SIR" : "SDR" ); retval = ERROR_JTAG_QUEUE_FAILED; } } @@ -1314,7 +1314,7 @@ int jtag_read_buffer(u8 *buffer, scan_command_t *cmd) /* We're going to call the error:handler later, but if the in_handler * reported an error we report this failure upstream */ - LOG_WARNING("in_handler reported a failed check"); + LOG_WARNING("in_handler: w/o \"in_value\", mismatch in %s", cmd->ir_scan ? "SIR" : "SDR" ); retval = ERROR_JTAG_QUEUE_FAILED; } } |