Hi Pierre, Pierre Muller schrieb: > 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. hm, not sure about that. I just know that this flags enables 64bit on 32bit platforms. I don't know how it is the other way round. I currently have no 64-bit platform available to test it :-( Thanks for testing it on a windows platform! > 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). I added some lines to check whether it is gdb/gdb or gdb/gdb.exe after the build. addr2line now should take the correct one. > 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. Ops, ok. I didn't knew that. Thanks for pointing met to that. I changed the script to replace ":" by "_" as you proposed and it works fine. > 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. > Yes, I see errors in this targets: mips_3900.log: ERR: gdb panic mips_4100.log: ERR: gdb panic mips_5000.log: ERR: gdb panic mips_10000.log: ERR: gdb printed no output mips_8000.log: ERR: gdb printed no output I guess that is something to look at :-) Again, thank you for your work on this ! @Eli: I haven't found documentation about gdb_mbuild script. What would be the right place to mention this new script in the doco? Should it be mentioned at all ? I attached a the reworked version of the script. Is this ok to commit ? ChangeLog: Add script to build and test GDB using enable-targets=all. * gdb_buildall.sh: New file. Regards, Markus -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com