Re: [Openocd-development] [patch] shutdown command should cause exit 0

2008-10-08 Thread Øyvind Harboe
Committed. Thanks! (Given the # of new people committing these days, I'm just stepping up GPL compliance a bit..) -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer Free eCos workshop in Oslo October 21! http://www.zylin.com/workshop.ht

Re: [Openocd-development] [patch] shutdown command should cause exit 0

2008-10-08 Thread Richard
Ok, although it didn't really feel like a major contribution :) Øyvind Harboe wrote: Please add a copyright statement. This is to comply w/GPL. Index: src/openocd.c === --- src/openocd.c (revision 1030) +++ src/openocd.c

Re: [Openocd-development] [patch] shutdown command should cause exit 0

2008-10-08 Thread Richard
Sorry, openocd must have gone up a revision while I was writing the email. Hope this works.. Øyvind Harboe wrote: Please recreate the patch against latest version of openocd.c and post it as a .txt attachment. openocd.c is troublesome to create patches against due to keyword expansion, but hop

Re: [Openocd-development] [patch] shutdown command should cause exit 0

2008-10-07 Thread Øyvind Harboe
Please recreate the patch against latest version of openocd.c and post it as a .txt attachment. openocd.c is troublesome to create patches against due to keyword expansion, but hopefully the latest version of openocd.c will put those silly patch problems to bed... -- Øyvind Harboe http://www.z

[Openocd-development] [patch] shutdown command should cause exit 0

2008-10-07 Thread Richard
I'm using openocd to do both programming the flash and a separate debugging instance afterwards. The program script needs to tell openocd to shutdown at the end if programming has been successful, otherwise the debugging session can't start, however the exit status is always 1 whether or not it