This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: build a canadian cross gdb


> If OpenOCD crashes, the bug is in OpenOCD.  It is probably making a
> bad assumption about the remote protocol and incompatible with newer
> GDB.

hi,
i've done some more tests last time.
the unchanged setup is linux mint, i586-mingw32msvc-gcc (GCC) 4.2.1-sjlj (mingw32-2) & build=i686-linux-gnu, host=i586-mingw32msvc, target=arm-elf. result was:

gdb-6.7.50.200080229
+ sources downloaded from ftp://sourceware.org/pub/gdb/snapshot/current/
+ openocd crashes

gdb-6.8
+ sources downloaded from www.yagarto.de
+ openocd crashes

gdb-6.8.50.20080308-cvs
+ binary downloaded from www.yagartos.de
+ is configured as "--host=i686-pc-mingw32 --target=arm-elf"
+ wasn't build by a canadian cross but with msys/mingw directly on windows (afaik)
+ openocd works fine

gdb-6.8.50.20090801
+ sources downloaded from ftp://sourceware.org/pub/gdb/snapshot/current/
+ openocd crashes
+ my original trail

gdb-7.0.50.20090926
+ sources downloaded from ftp://sourceware.org/pub/gdb/snapshot/current/
+ openocd crashes

so i'm still sure that openocd isn't the problem.
rather it is a problem of building gdb the special canadian cross i want to do whereby gdb is not 'complete/correct' for target remote actions ... because of missing libs in mingw (e.g. termcap, ncurses).

has anybody of you experiences in building gdb the way i try it?
does anybody know if there are gdb patches for canadian cross builds, ...?

thanks,
daniel

_______________________________________________________________
Neu: WEB.DE DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
http://produkte.web.de/go/02/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]