[PATCH 1/2] Fix script name in usage and generated year range.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH 1/2] Fix script name in usage and generated year range.

John Baldwin
gdb/ChangeLog:

        * syscalls/update-netbsd.sh: Fix usage and year range.
---
 gdb/ChangeLog                  | 4 ++++
 gdb/syscalls/update-freebsd.sh | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fad4608002..afa95746cf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2020-07-20  John Baldwin  <[hidden email]>
+
+ * syscalls/update-netbsd.sh: Fix usage and year range.
+
 2020-07-20  John Baldwin  <[hidden email]>
 
  * fbsd-tdep.c (fbsd_skip_solib_resolver): New function.
diff --git a/gdb/syscalls/update-freebsd.sh b/gdb/syscalls/update-freebsd.sh
index 5d9602641b..1c00a4f5e9 100755
--- a/gdb/syscalls/update-freebsd.sh
+++ b/gdb/syscalls/update-freebsd.sh
@@ -29,14 +29,14 @@
 
 if [ $# -ne 1 ]; then
    echo "Error: Path to syscall.h missing. Aborting."
-   echo "Usage: update-gnulib.sh <path-to-syscall.h>"
+   echo "Usage: update-freebsd.sh <path-to-syscall.h>"
    exit 1
 fi
 
 cat > freebsd.xml.tmp <<EOF
 <?xml version="1.0"?> <!-- THIS FILE IS GENERATED -*- buffer-read-only: t -*-  -->
 <!-- vi:set ro: -->
-<!-- Copyright (C) 2009-2018 Free Software Foundation, Inc.
+<!-- Copyright (C) 2009-2020 Free Software Foundation, Inc.
 
      Copying and distribution of this file, with or without modification,
      are permitted in any medium without royalty provided the copyright
--
2.25.1

Reply | Threaded
Open this post in threaded view
|

[PATCH 2/2] Update FreeBSD system calls for 13.0-CURRENT.

John Baldwin
This matches the current set of system calls in the FreeBSD head
development branch as of r363367.  Some of these system calls
were also included in 12.1 release.

gdb/ChangeLog:

        * syscalls/freebsd.xml: Regenerate.
---
 gdb/ChangeLog            |  4 ++++
 gdb/syscalls/freebsd.xml | 17 +++++++++++++++--
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index afa95746cf..606c64dfcf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2020-07-20  John Baldwin  <[hidden email]>
+
+ * syscalls/freebsd.xml: Regenerate.
+
 2020-07-20  John Baldwin  <[hidden email]>
 
  * syscalls/update-netbsd.sh: Fix usage and year range.
diff --git a/gdb/syscalls/freebsd.xml b/gdb/syscalls/freebsd.xml
index c9655e4890..c50af9bb4c 100644
--- a/gdb/syscalls/freebsd.xml
+++ b/gdb/syscalls/freebsd.xml
@@ -390,7 +390,7 @@
   <syscall name="truncate" number="479"/>
   <syscall name="ftruncate" number="480"/>
   <syscall name="thr_kill2" number="481"/>
-  <syscall name="shm_open" number="482"/>
+  <syscall name="freebsd12_shm_open" number="482" alias="shm_open"/>
   <syscall name="shm_unlink" number="483"/>
   <syscall name="cpuset" number="484"/>
   <syscall name="cpuset_setid" number="485"/>
@@ -417,7 +417,7 @@
   <syscall name="jail_get" number="506"/>
   <syscall name="jail_set" number="507"/>
   <syscall name="jail_remove" number="508"/>
-  <syscall name="closefrom" number="509"/>
+  <syscall name="freebsd12_closefrom" number="509" alias="closefrom"/>
   <syscall name="__semctl" number="510"/>
   <syscall name="msgctl" number="511"/>
   <syscall name="shmctl" number="512"/>
@@ -471,4 +471,17 @@
   <syscall name="cpuset_getdomain" number="561"/>
   <syscall name="cpuset_setdomain" number="562"/>
   <syscall name="getrandom" number="563"/>
+  <syscall name="getfhat" number="564"/>
+  <syscall name="fhlink" number="565"/>
+  <syscall name="fhlinkat" number="566"/>
+  <syscall name="fhreadlink" number="567"/>
+  <syscall name="funlinkat" number="568"/>
+  <syscall name="copy_file_range" number="569"/>
+  <syscall name="__sysctlbyname" number="570"/>
+  <syscall name="shm_open2" number="571"/>
+  <syscall name="shm_rename" number="572"/>
+  <syscall name="sigfastblock" number="573"/>
+  <syscall name="__realpathat" number="574"/>
+  <syscall name="close_range" number="575"/>
+  <syscall name="rpctls_syscall" number="576"/>
 </syscalls_info>
--
2.25.1