[gdb/tdep] Add gdb/syscalls/update-linux-from-src.sh
authorTom de Vries <tdevries@suse.de>
Wed, 18 May 2022 09:56:32 +0000 (11:56 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 18 May 2022 09:56:32 +0000 (11:56 +0200)
commit192257c998507f8a6ad9a85394b4fd4c627552cb
tree37fd38f08323f5f480392cbb333c1616cc51e32e
parente1e15284481896505eab0cbc556f2348ef8fffbf
[gdb/tdep] Add gdb/syscalls/update-linux-from-src.sh

Add a new script gdb/syscalls/update-linux-from-src.sh, that can be used to
generate *-linux.xml.in files from linux kernel sources, like so:
...
$ ./update-linux-from-src.sh ~/upstream/linux-stable.git
Skipping aarch64-linux.xml.in, no syscall.tbl
Generating amd64-linux.xml.in
Skipping arm-linux.xml.in, use arm-linux.py instead
Skipping bfin-linux.xml.in, no longer supported
Generating i386-linux.xml.in
Generating mips-n32-linux.xml.in
Generating mips-n64-linux.xml.in
Generating mips-o32-linux.xml.in
Generating ppc64-linux.xml.in
Generating ppc-linux.xml.in
Generating s390-linux.xml.in
Generating s390x-linux.xml.in
Generating sparc64-linux.xml.in
Generating sparc-linux.xml.in
...

Update *-linux.xml.in and *-linux.xml using linux kernel tag v5.18-rc6.
23 files changed:
gdb/syscalls/amd64-linux.xml
gdb/syscalls/amd64-linux.xml.in
gdb/syscalls/i386-linux.xml
gdb/syscalls/i386-linux.xml.in
gdb/syscalls/mips-n32-linux.xml
gdb/syscalls/mips-n32-linux.xml.in
gdb/syscalls/mips-n64-linux.xml
gdb/syscalls/mips-n64-linux.xml.in
gdb/syscalls/mips-o32-linux.xml
gdb/syscalls/mips-o32-linux.xml.in
gdb/syscalls/ppc-linux.xml
gdb/syscalls/ppc-linux.xml.in
gdb/syscalls/ppc64-linux.xml
gdb/syscalls/ppc64-linux.xml.in
gdb/syscalls/s390-linux.xml
gdb/syscalls/s390-linux.xml.in
gdb/syscalls/s390x-linux.xml
gdb/syscalls/s390x-linux.xml.in
gdb/syscalls/sparc-linux.xml
gdb/syscalls/sparc-linux.xml.in
gdb/syscalls/sparc64-linux.xml
gdb/syscalls/sparc64-linux.xml.in
gdb/syscalls/update-linux-from-src.sh [new file with mode: 0755]