aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rwxr-xr-xgdb/contrib/cc-with-tweaks.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7c5e4fb..1b403bc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2019-04-23 Tom de Vries <tdevries@suse.de>
+
+ PR gdb/24438
+ * contrib/cc-with-tweaks.sh: Remove superfluous .alt file after dwz
+ invocation.
+
2019-03-27 Ali Tamur <tamur@google.com>
diff --git a/gdb/contrib/cc-with-tweaks.sh b/gdb/contrib/cc-with-tweaks.sh
index f6bfa16..33c6322 100755
--- a/gdb/contrib/cc-with-tweaks.sh
+++ b/gdb/contrib/cc-with-tweaks.sh
@@ -180,6 +180,7 @@ if [ "$want_dwz" = true ]; then
elif [ "$want_multi" = true ]; then
cp $output_file ${output_file}.alt
$DWZ -m ${output_file}.dwz "$output_file" ${output_file}.alt > /dev/null 2>&1
+ rm -f ${output_file}.alt
fi
if [ "$want_dwp" = true ]; then