[Openocd-development] [PATCH] SVF: fix checking bit pattern against bit length on parsing hex strings

2009-10-29 Thread Michael Roth
3 16 15 ... ... ... ... ... ... Signed-off-by: Michael Roth --- src/svf/svf.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/svf/svf.c b/src/svf/svf.c index 276a374..54e2a26 100644 --- a/src/svf/svf.c +++ b/s

[Openocd-development] [PATCH] SVF: fix parsing hex strings containing leading '0' characters

2009-10-26 Thread Michael Roth
Ignore leading '0' characters on hex strings. For example a bit pattern consisting of 6 bits could be written as 3f, 03f or 003f and so on. Signed-off-by: Michael Roth --- src/svf/svf.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/svf/svf.c b/src