X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Ftestsuite%2Flib%2Ffile-format.exp;h=69b96cb69ea8c3e86f603a2a080b115235fed02a;hb=3f38d150163b6200bcb7f9dea59c130eabf06b5a;hp=2d53faf5d0db60ca0ced0e5efa64ed24c0323070;hpb=0f1adac24272611fa331e7233b213a8b99a5d4d0;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/testsuite/lib/file-format.exp b/gcc/testsuite/lib/file-format.exp index 2d53faf5d0d..69b96cb69ea 100644 --- a/gcc/testsuite/lib/file-format.exp +++ b/gcc/testsuite/lib/file-format.exp @@ -15,7 +15,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Please email any bugs, comments, and/or additions to this file to: -# egcs-bugs@egcs.cygnus.com +# gcc-bugs@gcc.gnu.org # This file defines a proc for determining the file format in use by the # target. This is useful for tests that are only supported by certain file @@ -35,8 +35,10 @@ proc gcc_target_object_format { } { gcc_target_compile objfmtst.c objfmtst.o object "" - set output [exec $objdump_name --file-headers objfmtst.o ] - + catch { + set output [exec $objdump_name --file-headers objfmtst.o ] + } output + file delete objfmtst.o if ![ regexp "file format (.*)arch" $output dummy objformat ] {