OSDN Git Service

* README, lib/file-format.exp: Remove EGCS references.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / lib / file-format.exp
index 2d53faf..69b96cb 100644 (file)
@@ -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 ]  {