Øyvind Harboe wrote:
I tried to apply this patch, but it wouldn't apply. Strange.

Nothing happened.

Looks healthy...

How was it generated?


First time I may have text edited the patch file, cutting it out of a larger one.

This current one attached is generated like this:

svn diff src/jtag/jtag.c > jtag.patch


That last one would apply if you hand entered the filename.

This one should apply without entering the filename.

Thanks,

Dick




Index: src/jtag/jtag.c
===================================================================
--- src/jtag/jtag.c	(revision 1261)
+++ src/jtag/jtag.c	(working copy)
@@ -1300,7 +1300,7 @@
 				{
 					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 @@
 					/* 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;
 				}
 			}
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to