On Sun, Dec 19, 2010 at 7:56 PM, David Brownell <davi...@pacbell.net> wrote: > > > --- On Sun, 12/19/10, Øyvind Harboe <oyvind.har...@zylin.com> wrote: > >> So you don't think there is a disadvantage to > using variables >> to pass information around? > > I never said that. Are you saying that one > goal is reducing usage of globals? That's > generally a good thing ... but since you had > stipulated that the single function would have > no arguments, I don't see how it'd lead to a > reduction in variables-for-passing-info. (like > per-board options a target or adapter must know.
That single no args proc would call a proc with default arguments, see patch. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development