# 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
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 ] {