mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
* contrib/cc-with-tweaks.sh: Check exit code of dwp.
This commit is contained in:
@ -180,6 +180,8 @@ if [ "$want_dwp" = true ]; then
|
||||
dwo_files=$($READELF -wi "${output_file}" | grep _dwo_name | \
|
||||
sed -e 's/^.*: //' | sort | uniq)
|
||||
$DWP -o "${output_file}.dwp" ${dwo_files} > /dev/null
|
||||
rc=$?
|
||||
[ $rc != 0 ] && exit $rc
|
||||
rm -f ${dwo_files}
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user