Hi,

I try to setup a new developement environement on windows for compiling and
debugging Openocd. I try to use the Eclipse with gdb to debug. 

So far I did this,

./configure --enable-maintainer-mode --build=i686-pc-cygwin
--host=i686-pc-mingw32 --enable-ft2232_libftdi --disable-shared CFLAGS="-O0
-g -Wall -I/usr/local/include" LDFLAGS="-L/usr/local/lib" --disable-werror
--enable-stlink

To add debug information to openocd. If I test openocd without gdb it work
well. But When I start it with gdb (thru eclipse) it got stuck at 

Debug: 153 953 transport.c:240 handle_transport_init():
handle_transport_init
Debug: 154 953 stlink_transport.c:140 stlink_transport_init():
stlink_transport_init
Debug: 155 953 stlink_transport.c:157 stlink_transport_init(): current
transport stlink_swd
Debug: 156 953 stlink_interface.c:41 stlink_interface_open():
stlink_interface_open
Debug: 157 969 stlink_layout.c:43 stlink_layout_open(): stlink_layout_open
Debug: 158 969 stlink_usb.c:1005 stlink_usb_open(): stlink_usb_open
Debug: 159 969 stlink_usb.c:1020 stlink_usb_open(): transport: 1 vid: 0483
pid: 3748

What I'm missing ?

$ i686-pc-mingw32-gcc --version
i686-pc-mingw32-gcc (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.

$ gdb --version
GNU gdb (GDB) 7.3.50.20111026-cvs (cygwin-special)

Eclipse Indigo

Thanx for you help

Jonathan


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to