Re: [Openocd-development] RFC: command handler restructuring

2009-11-11 Thread Zach Welch
On Wed, 2009-11-11 at 18:03 +, John Devereux wrote: > Zach Welch writes: > > > On Wed, 2009-11-11 at 08:40 +0100, Øyvind Harboe wrote: > >> I've read over the branch and improving types is always a good thing, > >> even if I don't have a specific opinions on whether to use > >> unsigned or in

Re: [Openocd-development] RFC: command handler restructuring

2009-11-11 Thread John Devereux
Zach Welch writes: > On Wed, 2009-11-11 at 08:40 +0100, Øyvind Harboe wrote: >> I've read over the branch and improving types is always a good thing, >> even if I don't have a specific opinions on whether to use >> unsigned or int for iteration variables, etc. > > There is almost always a correct

Re: [Openocd-development] RFC: command handler restructuring

2009-11-11 Thread Øyvind Harboe
On Wed, Nov 11, 2009 at 1:58 PM, Zach Welch wrote: > On Wed, 2009-11-11 at 08:40 +0100, Øyvind Harboe wrote: >> I've read over the branch and improving types is always a good thing, >> even if I don't have a specific opinions on whether to use >> unsigned or int for iteration variables, etc. > > T

Re: [Openocd-development] RFC: command handler restructuring

2009-11-11 Thread Zach Welch
On Wed, 2009-11-11 at 08:40 +0100, Øyvind Harboe wrote: > I've read over the branch and improving types is always a good thing, > even if I don't have a specific opinions on whether to use > unsigned or int for iteration variables, etc. There is almost always a correct choice. Most of the time, t

Re: [Openocd-development] RFC: command handler restructuring

2009-11-10 Thread Øyvind Harboe
I've read over the branch and improving types is always a good thing, even if I don't have a specific opinions on whether to use unsigned or int for iteration variables, etc. I don't like macros, but I see what you're trying to do here w.r.t. the arguments for the command handler, so it seems like

[Openocd-development] RFC: command handler restructuring

2009-11-10 Thread Zach Welch
Hi all, I have updated my repo.or.cz repository with the series of patches that I have been working on. There are a few issues that still need to be worked out, but it shows what I am doing so others can avoid duplicating (or "helping") in similar areas. You can view the changes from here: ht