file-format.exp (gcc_target_object_format): Don't crash if objdump is unavailable.
* lib/file-format.exp (gcc_target_object_format): Don't crash if objdump is unavailable. From-SVN: r29750
This commit is contained in:
parent
9ed9e79a15
commit
c328b1d7d5
@ -1,3 +1,8 @@
|
||||
Fri Oct 1 00:53:17 1999 Mark P. Mitchell <mark@codesourcery.com>
|
||||
|
||||
* lib/file-format.exp (gcc_target_object_format): Don't
|
||||
crash if objdump is unavailable.
|
||||
|
||||
Wed Sep 29 23:48:44 1999 Donn Terry <donn@interix.com>
|
||||
|
||||
* gcc.misc-tests/mg.exp: delete extraneous redirection.
|
||||
|
@ -35,7 +35,9 @@ 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user