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


> > You are still incorrect.  Like I said before, if OpenOCD crashes, the
> > bug is in OpenOCD.
> 
> In other words, even if GDB did send something that OpenOCD did not like,
> whether correct or not, OpenOCD should still not crash.


ok ... your partially right, if openocd get a faulty gdb communication, openocd has to catch it. 
but ... logical consequences.

=> gdb-6.8.50.20080308-cvs build on windows works with openocd for windows

=> gdb-6.7.50.200080229 (older version than the working one) build on linux for windows doesn't work with openocd for windows
=> gdb-6.8 (the most exact equal version like the working one) build on linux for windows doesn't work with openocd for windows
=> gdb-6.8.50.20090801 (newer version than the working one) build on linux for windows doesn't work with openocd for windows
=> gdb-7.0.50.20090926 (newer version than the working one) build on linux for windows doesn't work with openocd for windows

=> older, nearly exact and newer versions (than the named above) of gdb build on linux for windows doesn't work with openocd for windows
=> openocd online docs say "Use GDB 6.7 or newer with OpenOCD if you run into trouble."
=> it's only a (new) assumption, but i estimate that remote protocol didn't changed so drastic in 6.8.50 versions;
      so i think my original used version gdb version (6.8.50.20090801) should work like gdb-6.8.50.20080308-cvs

the main difference between 'working' and 'not working' is the way of the build process, respectively the build system ('windows' <=> 'linux').
my assumption from first post (tui, termcap, ncurses) was highly speculative.
that's why i searched for help.

so i ask again:
has anybody of you experiences in building gdb the way i try it (canadian cross with build=i686-linux-gnu, host=i586-mingw32msvc, target=arm-elf)?
does anybody know if there are gdb patches for canadian cross builds, ...?

and some new questions:
was this actually done before?
is anybody here that know/use openocd and has experiences in the way of communication of openocd and gdb?

thanks again,
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]