On Tue, Dec 1, 2009 at 10:19 AM, Zach Welch <[email protected]> wrote: > On Tue, 2009-12-01 at 10:16 +0100, Øyvind Harboe wrote: >> > The patch to ecosboard.c always gives a non-NULL value, and we always >> > pass in NULL from openocd.c. The #if is entirely redundant when you >> > take a moment to look at the big picture. >> >> Except it doesn't build, it's that messy bit with difference build modes for >> Jim. >> >> I'm kinda hopeful that the #if can be removed eventually if Jim improves >> to have a less obtuse way to handle embedded vs. using in include files... > > I have been meaning to produce a series that seriously cleans up the #if > madness that we have going on. This nonsense drives me insane. I have > a solution for this particular problem, so maybe it's time to start it.
W.r.t. Jim Tcl there be dragons. Btw, Jim Tcl is is trying to recruit a new maintainer... Are you sure you it's a good idea to start this now? To truly tackle this you would have to handle different cases: jim tcl in shared library, jim tcl statically linked, jim tcl created by someone else than OpenOCD... -- Øyvind Harboe 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 [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
