On Mon, 2009-05-18 at 19:33 +0100, Peter Denison wrote: > On Mon, 18 May 2009, Øyvind Harboe wrote: > > [Oops - failed to copy the original to the list...] > > On Mon, May 18, 2009 at 8:21 AM, Peter Denison <open...@marshadder.org> > > wrote: > >> On Sat, 16 May 2009, Øyvind Harboe wrote: > >> > >>> Could you post a GDB backtrace? > >>> > >>> See: > >>> > >>> http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS > >>> > >> I tried to do that, but since the changes for "librification" of openocd, > >> it > >> doesn't work, as src/openocd is no longer an executable, but is a script. I > >> haven't yet worked out how to successfully run gdb on it. > > > > I used > > > > gdb --args openocd XXXX > > > > Still works here.... > > > >> Grateful if you (or Zach) could let me know how to run gdb, then I will > >> happily provide a backtrace. > > > > Please provide any extra detail you might have, because we obviously need > > this to work and it does work on Cygwin at least... > > OK. > System: debian squeeze (libtool 2.2.6a, autoconf 2.63, automake 1:1.10.2) > Revision: 1827 > Built: ./bootstrap; ./configure --enable-jlink --enable-usbprog > --enable-maintainer-mode --enable-verbose; make > > $ cd src/target > $ gdb ../openocd
Try using libtool gdb ../openocd or the more pedantic (but future-proof): libtool --mode=execute gdb ../openocd Cheers, Zach _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development