Christopher Faylor escreveu: > On Sun, Dec 10, 2006 at 01:43:03PM +0000, Pedro Alves wrote: > > I don't have the right to approve or commit this but I have to say that > while the logic looks ok, I don't think the name of the variable you're > using should be "DLLEXT". A "DLL" is generally a windows thing. Maybe > it should be SOEXT instead. Thanks for taking a look. I had considered both, but, in the end I sticked with DLLEXT, because I felt that the 'dynamic' in DLL goes more to the point, than 'shared' in SO goes. I can change that, no prob. Attached is the updated/renamed patch. Please review and commit. --- gdb/testsuite/ChangeLog: 2006-12-10 Pedro Alves * configure.ac: Check dynamic library extension. Pass down SOEXT. * configure: Regenerate. * Makefile.in (SOEXT): New variable. (just-check): Export SOEXT. * lib/gdb.exp ($SOEXT): Import from environment. * gdb.base/annota1.exp ($binfile): Append $EXEEXT. Expect "Loaded symbols for .*". * gdb.base/gdb1555.exp ($libobj): Append $SOEXT instead of ".so". * gdb.base/pending.exp ($lib_sl): Append $SOEXT instead of ".sl". * gdb.base/so-impl-ld.exp ($lib_sl): Append $SOEXT instead of ".sl".