mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-05 19:29:35 +00:00
2006-04-10 H.J. Lu <hongjiu.lu@intel.com>
* lib/utils-lib.exp (default_binutils_run): Check exit status.
This commit is contained in:
parent
05d5814545
commit
da28e1e1b0
@ -1,3 +1,7 @@
|
||||
2006-04-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* lib/utils-lib.exp (default_binutils_run): Check exit status.
|
||||
|
||||
2005-12-24 Ben Elliston <bje@gnu.org>
|
||||
|
||||
* config/default.exp: Do not load the unneeded util-defs.exp.
|
||||
|
@ -73,6 +73,12 @@ proc default_binutils_run { prog progargs } {
|
||||
if {![string match "" $exec_output]} then {
|
||||
send_log "$exec_output\n"
|
||||
verbose "$exec_output"
|
||||
} else {
|
||||
if { [lindex $state 0] != 0 } {
|
||||
set exec_output "$prog exited with status [lindex $state 0]"
|
||||
send_log "$exec_output\n"
|
||||
verbose "$exec_output"
|
||||
}
|
||||
}
|
||||
return $exec_output
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user