public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Fix script name in usage and generated year range.
@ 2020-07-20 16:27 John Baldwin
  2020-07-20 16:28 ` [PATCH 2/2] Update FreeBSD system calls for 13.0-CURRENT John Baldwin
  0 siblings, 1 reply; 2+ messages in thread
From: John Baldwin @ 2020-07-20 16:27 UTC (permalink / raw)
  To: gdb-patches

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  <jhb@FreeBSD.org>
+
+	* syscalls/update-netbsd.sh: Fix usage and year range.
+
 2020-07-20  John Baldwin  <jhb@FreeBSD.org>
 
 	* 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 2/2] Update FreeBSD system calls for 13.0-CURRENT.
  2020-07-20 16:27 [PATCH 1/2] Fix script name in usage and generated year range John Baldwin
@ 2020-07-20 16:28 ` John Baldwin
  0 siblings, 0 replies; 2+ messages in thread
From: John Baldwin @ 2020-07-20 16:28 UTC (permalink / raw)
  To: gdb-patches

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  <jhb@FreeBSD.org>
+
+	* syscalls/freebsd.xml: Regenerate.
+
 2020-07-20  John Baldwin  <jhb@FreeBSD.org>
 
 	* 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-20 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-20 16:27 [PATCH 1/2] Fix script name in usage and generated year range John Baldwin
2020-07-20 16:28 ` [PATCH 2/2] Update FreeBSD system calls for 13.0-CURRENT John Baldwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).