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
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
"<path>/src/openocd": not in executable format: File format not recognized
$
$ gdb ../openocd --args openocd
... ends up running /usr/bin/openocd ...
which is the debian-installed version, at r1409 and not the program I want
to debug.
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development