This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFC]: New test scrupt gdb_buildall.sh
- From: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- To: "'Markus Deuling'" <deuling at de dot ibm dot com>, "'GDB Patches'" <gdb-patches at sourceware dot org>
- Date: Tue, 29 Jan 2008 13:22:19 +0100
- Subject: RE: [RFC]: New test scrupt gdb_buildall.sh
- References: <479EE84F.3030802@de.ibm.com>
Hi Markus,
this seems to be a great idea!
I was just wondering what happens if you
run this script on a 64bit architecture.
Are the 32bit configurations included automatically in that
case or should you add a "--32bfd" option
as a counterpart of the "--64bfd" option.
I tested your script on ccygwin, but I had
to add a $exexext variable because
addr2line complained that it did not find
gdb/gdb file (the real executable is gdb/gdb.exe).
Another (windows specific) problem is that
windows does not accept ':' as part of a filename,
but it appears in a big number of architectures.
I modified the script to substitute ':' with '_'
to be able to check.
I ran the modified script and got just
two problems: mips:8000 and mips:10000
The problem comes from mips-tdep.c line 5389
bfd_get_flavor is called with info.abfd which is NULL.
Pierre Muller