]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* contrib/cc-with-tweaks.sh: Check exit code of dwp.
authorDoug Evans <dje@google.com>
Wed, 3 Apr 2013 18:57:32 +0000 (18:57 +0000)
committerDoug Evans <dje@google.com>
Wed, 3 Apr 2013 18:57:32 +0000 (18:57 +0000)
gdb/ChangeLog
gdb/contrib/cc-with-tweaks.sh

index 71411618dd6ecf69d80690ff75b30f7d46d1c176..4f8875f93982a2727772b81511a203b8653bc665 100644 (file)
        * record-btrace.c (record_btrace_close): Call
        record_btrace_auto_disable.
 
+2013-03-25  Doug Evans  <dje@google.com>
+
+       * contrib/cc-with-tweaks.sh: Check exit code of dwp.
+
 2013-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * exceptions.h (enum errors): New entry TARGET_CLOSE_ERROR.
index f012c28bffcdebec642bd8efa543d0cbe9c44272..c03d87f4707add464801409f59c5828b082fa1b7 100755 (executable)
@@ -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