mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
2003-10-08 Chris Demetriou <cgd@broadcom.com>
* lib/gas-defs.exp (gas_run): Always log the command being run. (gas_start): Likewise. (regexp_diff): Make error reporting about non-existent files consistent.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2003-10-08 Chris Demetriou <cgd@broadcom.com>
|
||||||
|
|
||||||
|
* lib/gas-defs.exp (gas_run): Always log the command being run.
|
||||||
|
(gas_start): Likewise.
|
||||||
|
(regexp_diff): Make error reporting about non-existent files
|
||||||
|
consistent.
|
||||||
|
|
||||||
2003-10-06 Nick Clifton <nickc@redhat.com>
|
2003-10-06 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* gas/macros/app1.d: Skip sections symbols (if present).
|
* gas/macros/app1.d: Skip sections symbols (if present).
|
||||||
|
@ -41,7 +41,7 @@ proc gas_run { prog as_opts redir } {
|
|||||||
global subdir
|
global subdir
|
||||||
global host_triplet
|
global host_triplet
|
||||||
|
|
||||||
verbose "Executing $srcdir/lib/run $AS $ASFLAGS $as_opts $srcdir/$subdir/$prog $redir"
|
verbose -log "Executing $srcdir/lib/run $AS $ASFLAGS $as_opts $srcdir/$subdir/$prog $redir"
|
||||||
catch "exec $srcdir/lib/run $AS $ASFLAGS $as_opts $srcdir/$subdir/$prog $redir" comp_output
|
catch "exec $srcdir/lib/run $AS $ASFLAGS $as_opts $srcdir/$subdir/$prog $redir" comp_output
|
||||||
set comp_output [prune_warnings $comp_output]
|
set comp_output [prune_warnings $comp_output]
|
||||||
verbose "output was $comp_output"
|
verbose "output was $comp_output"
|
||||||
@ -60,7 +60,7 @@ proc gas_start { prog as_opts } {
|
|||||||
global subdir
|
global subdir
|
||||||
global spawn_id
|
global spawn_id
|
||||||
|
|
||||||
verbose "Starting $AS $ASFLAGS $as_opts $prog" 2
|
verbose -log "Starting $AS $ASFLAGS $as_opts $prog" 2
|
||||||
catch {
|
catch {
|
||||||
spawn -noecho -nottycopy $srcdir/lib/run $AS $ASFLAGS $as_opts $srcdir/$subdir/$prog
|
spawn -noecho -nottycopy $srcdir/lib/run $AS $ASFLAGS $as_opts $srcdir/$subdir/$prog
|
||||||
} foo
|
} foo
|
||||||
@ -583,14 +583,14 @@ proc regexp_diff { file_1 file_2 } {
|
|||||||
if [file exists $file_1] then {
|
if [file exists $file_1] then {
|
||||||
set file_a [open $file_1 r]
|
set file_a [open $file_1 r]
|
||||||
} else {
|
} else {
|
||||||
warning "$file_1 doesn't exist"
|
perror "$file_1 doesn't exist"
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if [file exists $file_2] then {
|
if [file exists $file_2] then {
|
||||||
set file_b [open $file_2 r]
|
set file_b [open $file_2 r]
|
||||||
} else {
|
} else {
|
||||||
fail "$file_2 doesn't exist"
|
perror "$file_2 doesn't exist"
|
||||||
close $file_a
|
close $file_a
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user