aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rwxr-xr-xgdb/syscalls/update-freebsd.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bd2c9b0..8198310 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2020-04-28 Simon Marchi <simon.marchi@efficios.com>
+
+ * syscalls/update-freebsd.sh: Add double quotes.
+
2020-04-28 Tom Tromey <tom@tromey.com>
* NEWS: Update.
diff --git a/gdb/syscalls/update-freebsd.sh b/gdb/syscalls/update-freebsd.sh
index 7b177f3..5d96026 100755
--- a/gdb/syscalls/update-freebsd.sh
+++ b/gdb/syscalls/update-freebsd.sh
@@ -69,7 +69,7 @@ awk '
}
/\/\* [0-9]* is freebsd[0-9]* [a-z_]* \*\// {
printf " <syscall name=\"%s_%s\" number=\"%s\" alias=\"%s\"/>\n", $4, $5, $2, $5
-}' $1 >> freebsd.xml.tmp
+}' "$1" >> freebsd.xml.tmp
cat >> freebsd.xml.tmp <<EOF
</syscalls_info>