diff options
author | Gabriel Krisman Bertazi <gabriel@krisman.be> | 2016-07-23 18:38:24 -0300 |
---|---|---|
committer | Gabriel Krisman Bertazi <gabriel@krisman.be> | 2016-07-23 18:38:24 -0300 |
commit | e34879080d8935792ef3942efa5f25b4c3169b5a (patch) | |
tree | daab863d91a6bb66ab2c10f1f4ef50b52dab66ea /gdb/syscalls | |
parent | 49ecef2a7da2ee9df4ae675f99b70518fbf1bb23 (diff) | |
download | gdb-e34879080d8935792ef3942efa5f25b4c3169b5a.zip gdb-e34879080d8935792ef3942efa5f25b4c3169b5a.tar.gz gdb-e34879080d8935792ef3942efa5f25b4c3169b5a.tar.bz2 |
Implement catch syscall group
Implement support to add catchpoints for a group of related syscalls
using the syntax:
(gdb) catch syscall group:<group>
or
(gdb) catch syscall g:<group>
Several groups are predefined in the xml files for all architectures
supported by GDB over Linux. They are based on the groups defined by
strace.
gdb/
* xml-syscall.c (get_syscalls_by_group): New.
(get_syscall_group_names): New.
(struct syscall_group_desc): New structure to store group data.
(struct syscalls_info): Include field to store the group list.
(sysinfo_free_syscall_group_desc): New.
(free_syscalls_info): Free group list.
(syscall_group_create_syscall_group_desc): New.
(syscall_group_add_syscall): New.
(syscall_create_syscall_desc): Add syscall to its groups.
(syscall_start_syscall): Load group attribute.
(syscall_group_get_group_by_name): New.
(xml_list_syscalls_by_group): New.
(xml_list_of_groups): New.
* xml-syscall.h (get_syscalls_by_group): Export function
to retrieve a list of syscalls filtered by the group name.
(get_syscall_group_names): Export function to retrieve the list
of syscall groups.
* break-catch-syscall.c (catch_syscall_split_args): Verify if
argument is a syscall group and expand it to a list of syscalls
when creating catchpoints.
(catch_syscall_completer): Add word completion for system call
groups.
* configure.ac: Include dependency for xsltproc when building
in maintainer-mode.
* break-catch-syscall.c (_initialize_breakpoint): Update catch
syscall command documentation.
* NEWS: Include section about catching groups of syscalls.
* configure: Regenerate.
* data-directory/Makefile.in: Generate syscall xml when building
in maintainer mode.
* syscalls/gdb-syscalls.dtd: Include group attribute to the
syscall element.
* syscalls/apply-defaults.xsl: New.
* syscalls/linux-defaults.xml.in: New.
* syscalls/aarch64-linux.xml: Rename to aarch64-linux.xml.in.
* syscalls/amd64-linux.xml: Rename to amd64-linux.xml.in.
* syscalls/arm-linux.xml: Rename to arm-linux.xml.in.
* syscalls/bfin-linux.xml: Rename to bfin-linux.xml.in.
* syscalls/i386-linux.xml: Rename to i386-linux.xml.in.
* syscalls/mips-n32-linux.xml: Rename to mips-n32-linux.xml.in.
* syscalls/mips-n64-linux.xml: Rename to mips-n64-linux.xml.in.
* syscalls/mips-o32-linux.xml: Rename to mips-o32-linux.xml.in.
* syscalls/ppc-linux.xml: Rename to ppc-linux.xml.in.
* syscalls/ppc64-linux.xml: Rename to ppc64-linux.xml.in.
* syscalls/s390-linux.xml: Rename to s390-linux.xml.in.
* syscalls/s390x-linux.xml: Rename to s390x-linux.xml.in.
* syscalls/sparc-linux.xml: Rename to sparc-linux.xml.in.
* syscalls/sparc64-linux.xml: Rename to sparc64-linux.xml.in.
* syscalls/aarch64-linux.xml: Regenerate.
* syscalls/amd64-linux.xml: Regenerate.
* syscalls/arm-linux.xml: Regenerate.
* syscalls/i386-linux.xml: Regenerate.
* syscalls/mips-n32-linux.xml: Regenerate.
* syscalls/mips-n64-linux.xml: Regenerate.
* syscalls/mips-o32-linux.xml: Regenerate.
* syscalls/ppc-linux.xml: Regenerate.
* syscalls/ppc64-linux.xml: Regenerate.
* syscalls/s390-linux.xml: Regenerate.
* syscalls/s390x-linux.xml: Regenerate.
* syscalls/sparc-linux.xml: Regenerate.
* syscalls/sparc64-linux.xml: Regenerate.
gdb/testsuite/
* gdb.base/catch-syscall.exp (do_syscall_tests): Add call
to test_catch_syscall_group.
(test_catch_syscall_group): New.
gdb/doc/
* gdb.texinfo (Set Catchpoints): Add 'group' argument to catch
syscall.
Diffstat (limited to 'gdb/syscalls')
30 files changed, 6972 insertions, 2446 deletions
diff --git a/gdb/syscalls/aarch64-linux.xml b/gdb/syscalls/aarch64-linux.xml index e1fa0da..aa83a0b 100644 --- a/gdb/syscalls/aarch64-linux.xml +++ b/gdb/syscalls/aarch64-linux.xml @@ -1,112 +1,110 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2015-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <syscalls_info> <syscall name="io_setup" number="0"/> <syscall name="io_destroy" number="1"/> <syscall name="io_submit" number="2"/> <syscall name="io_cancel" number="3"/> <syscall name="io_getevents" number="4"/> - <syscall name="setxattr" number="5"/> - <syscall name="lsetxattr" number="6"/> - <syscall name="fsetxattr" number="7"/> - <syscall name="getxattr" number="8"/> - <syscall name="lgetxattr" number="9"/> - <syscall name="fgetxattr" number="10"/> - <syscall name="listxattr" number="11"/> - <syscall name="llistxattr" number="12"/> - <syscall name="flistxattr" number="13"/> - <syscall name="removexattr" number="14"/> - <syscall name="lremovexattr" number="15"/> - <syscall name="fremovexattr" number="16"/> - <syscall name="getcwd" number="17"/> + <syscall name="setxattr" number="5" groups="file"/> + <syscall name="lsetxattr" number="6" groups="file"/> + <syscall name="fsetxattr" number="7" groups="descriptor"/> + <syscall name="getxattr" number="8" groups="file"/> + <syscall name="lgetxattr" number="9" groups="file"/> + <syscall name="fgetxattr" number="10" groups="descriptor"/> + <syscall name="listxattr" number="11" groups="file"/> + <syscall name="llistxattr" number="12" groups="file"/> + <syscall name="flistxattr" number="13" groups="descriptor"/> + <syscall name="removexattr" number="14" groups="file"/> + <syscall name="lremovexattr" number="15" groups="file"/> + <syscall name="fremovexattr" number="16" groups="descriptor"/> + <syscall name="getcwd" number="17" groups="file"/> <syscall name="lookup_dcookie" number="18"/> - <syscall name="eventfd2" number="19"/> - <syscall name="epoll_create1" number="20"/> - <syscall name="epoll_ctl" number="21"/> - <syscall name="epoll_pwait" number="22"/> - <syscall name="dup" number="23"/> - <syscall name="dup3" number="24"/> - <syscall name="fcntl" number="25"/> - <syscall name="inotify_init1" number="26"/> - <syscall name="inotify_add_watch" number="27"/> - <syscall name="inotify_rm_watch" number="28"/> - <syscall name="ioctl" number="29"/> + <syscall name="eventfd2" number="19" groups="descriptor"/> + <syscall name="epoll_create1" number="20" groups="descriptor"/> + <syscall name="epoll_ctl" number="21" groups="descriptor"/> + <syscall name="epoll_pwait" number="22" groups="descriptor"/> + <syscall name="dup" number="23" groups="descriptor"/> + <syscall name="dup3" number="24" groups="descriptor"/> + <syscall name="fcntl" number="25" groups="descriptor"/> + <syscall name="inotify_init1" number="26" groups="descriptor"/> + <syscall name="inotify_add_watch" number="27" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="28" groups="descriptor"/> + <syscall name="ioctl" number="29" groups="descriptor"/> <syscall name="ioprio_set" number="30"/> <syscall name="ioprio_get" number="31"/> - <syscall name="flock" number="32"/> - <syscall name="mknodat" number="33"/> - <syscall name="mkdirat" number="34"/> - <syscall name="unlinkat" number="35"/> - <syscall name="symlinkat" number="36"/> - <syscall name="linkat" number="37"/> - <syscall name="renameat" number="38"/> - <syscall name="umount2" number="39"/> - <syscall name="mount" number="40"/> - <syscall name="pivot_root" number="41"/> + <syscall name="flock" number="32" groups="descriptor"/> + <syscall name="mknodat" number="33" groups="descriptor,file"/> + <syscall name="mkdirat" number="34" groups="descriptor,file"/> + <syscall name="unlinkat" number="35" groups="descriptor,file"/> + <syscall name="symlinkat" number="36" groups="descriptor,file"/> + <syscall name="linkat" number="37" groups="descriptor,file"/> + <syscall name="renameat" number="38" groups="descriptor,file"/> + <syscall name="umount2" number="39" groups="file"/> + <syscall name="mount" number="40" groups="file"/> + <syscall name="pivot_root" number="41" groups="file"/> <syscall name="nfsservctl" number="42"/> - <syscall name="statfs" number="43"/> - <syscall name="fstatfs" number="44"/> - <syscall name="truncate" number="45"/> - <syscall name="ftruncate" number="46"/> - <syscall name="fallocate" number="47"/> - <syscall name="faccessat" number="48"/> - <syscall name="chdir" number="49"/> - <syscall name="fchdir" number="50"/> - <syscall name="chroot" number="51"/> - <syscall name="fchmod" number="52"/> - <syscall name="fchmodat" number="53"/> - <syscall name="fchownat" number="54"/> - <syscall name="fchown" number="55"/> - <syscall name="openat" number="56"/> - <syscall name="close" number="57"/> + <syscall name="statfs" number="43" groups="file"/> + <syscall name="fstatfs" number="44" groups="descriptor"/> + <syscall name="truncate" number="45" groups="file"/> + <syscall name="ftruncate" number="46" groups="descriptor"/> + <syscall name="fallocate" number="47" groups="descriptor"/> + <syscall name="faccessat" number="48" groups="descriptor,file"/> + <syscall name="chdir" number="49" groups="file"/> + <syscall name="fchdir" number="50" groups="descriptor"/> + <syscall name="chroot" number="51" groups="file"/> + <syscall name="fchmod" number="52" groups="descriptor"/> + <syscall name="fchmodat" number="53" groups="descriptor,file"/> + <syscall name="fchownat" number="54" groups="descriptor,file"/> + <syscall name="fchown" number="55" groups="descriptor"/> + <syscall name="openat" number="56" groups="descriptor,file"/> + <syscall name="close" number="57" groups="descriptor"/> <syscall name="vhangup" number="58"/> - <syscall name="pipe2" number="59"/> - <syscall name="quotactl" number="60"/> - <syscall name="getdents64" number="61"/> - <syscall name="lseek" number="62"/> - <syscall name="read" number="63"/> - <syscall name="write" number="64"/> - <syscall name="readv" number="65"/> - <syscall name="writev" number="66"/> - <syscall name="pread64" number="67"/> - <syscall name="pwrite64" number="68"/> - <syscall name="preadv" number="69"/> - <syscall name="pwritev" number="70"/> - <syscall name="sendfile" number="71"/> - <syscall name="pselect6" number="72"/> - <syscall name="ppoll" number="73"/> - <syscall name="signalfd4" number="74"/> - <syscall name="vmsplice" number="75"/> - <syscall name="splice" number="76"/> - <syscall name="tee" number="77"/> - <syscall name="readlinkat" number="78"/> - <syscall name="newfstatat" number="79"/> - <syscall name="fstat" number="80"/> + <syscall name="pipe2" number="59" groups="descriptor"/> + <syscall name="quotactl" number="60" groups="file"/> + <syscall name="getdents64" number="61" groups="descriptor"/> + <syscall name="lseek" number="62" groups="descriptor"/> + <syscall name="read" number="63" groups="descriptor"/> + <syscall name="write" number="64" groups="descriptor"/> + <syscall name="readv" number="65" groups="descriptor"/> + <syscall name="writev" number="66" groups="descriptor"/> + <syscall name="pread64" number="67" groups="descriptor"/> + <syscall name="pwrite64" number="68" groups="descriptor"/> + <syscall name="preadv" number="69" groups="descriptor"/> + <syscall name="pwritev" number="70" groups="descriptor"/> + <syscall name="sendfile" number="71" groups="descriptor,network"/> + <syscall name="pselect6" number="72" groups="descriptor"/> + <syscall name="ppoll" number="73" groups="descriptor"/> + <syscall name="signalfd4" number="74" groups="descriptor,signal"/> + <syscall name="vmsplice" number="75" groups="descriptor"/> + <syscall name="splice" number="76" groups="descriptor"/> + <syscall name="tee" number="77" groups="descriptor"/> + <syscall name="readlinkat" number="78" groups="descriptor,file"/> + <syscall name="newfstatat" number="79" groups="descriptor,file"/> + <syscall name="fstat" number="80" groups="descriptor"/> <syscall name="sync" number="81"/> - <syscall name="fsync" number="82"/> - <syscall name="fdatasync" number="83"/> - <syscall name="sync_file_range" number="84"/> - <syscall name="timerfd_create" number="85"/> - <syscall name="timerfd_settime" number="86"/> - <syscall name="timerfd_gettime" number="87"/> - <syscall name="utimensat" number="88"/> - <syscall name="acct" number="89"/> + <syscall name="fsync" number="82" groups="descriptor"/> + <syscall name="fdatasync" number="83" groups="descriptor"/> + <syscall name="sync_file_range" number="84" groups="descriptor"/> + <syscall name="timerfd_create" number="85" groups="descriptor"/> + <syscall name="timerfd_settime" number="86" groups="descriptor"/> + <syscall name="timerfd_gettime" number="87" groups="descriptor"/> + <syscall name="utimensat" number="88" groups="descriptor,file"/> + <syscall name="acct" number="89" groups="file"/> <syscall name="capget" number="90"/> <syscall name="capset" number="91"/> <syscall name="personality" number="92"/> - <syscall name="exit" number="93"/> - <syscall name="exit_group" number="94"/> - <syscall name="waitid" number="95"/> + <syscall name="exit" number="93" groups="process"/> + <syscall name="exit_group" number="94" groups="process"/> + <syscall name="waitid" number="95" groups="process"/> <syscall name="set_tid_address" number="96"/> - <syscall name="unshare" number="97"/> + <syscall name="unshare" number="97" groups="process"/> <syscall name="futex" number="98"/> <syscall name="set_robust_list" number="99"/> <syscall name="get_robust_list" number="100"/> @@ -138,17 +136,17 @@ <syscall name="sched_get_priority_min" number="126"/> <syscall name="sched_rr_get_interval" number="127"/> <syscall name="restart_syscall" number="128"/> - <syscall name="kill" number="129"/> - <syscall name="tkill" number="130"/> - <syscall name="tgkill" number="131"/> - <syscall name="sigaltstack" number="132"/> - <syscall name="rt_sigsuspend" number="133"/> - <syscall name="rt_sigaction" number="134"/> - <syscall name="rt_sigprocmask" number="135"/> - <syscall name="rt_sigpending" number="136"/> - <syscall name="rt_sigtimedwait" number="137"/> - <syscall name="rt_sigqueueinfo" number="138"/> - <syscall name="rt_sigreturn" number="139"/> + <syscall name="kill" number="129" groups="signal"/> + <syscall name="tkill" number="130" groups="signal"/> + <syscall name="tgkill" number="131" groups="signal"/> + <syscall name="sigaltstack" number="132" groups="signal"/> + <syscall name="rt_sigsuspend" number="133" groups="signal"/> + <syscall name="rt_sigaction" number="134" groups="signal"/> + <syscall name="rt_sigprocmask" number="135" groups="signal"/> + <syscall name="rt_sigpending" number="136" groups="signal"/> + <syscall name="rt_sigtimedwait" number="137" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="138" groups="signal"/> + <syscall name="rt_sigreturn" number="139" groups="signal"/> <syscall name="setpriority" number="140"/> <syscall name="getpriority" number="141"/> <syscall name="reboot" number="142"/> @@ -195,75 +193,75 @@ <syscall name="mq_timedreceive" number="183"/> <syscall name="mq_notify" number="184"/> <syscall name="mq_getsetattr" number="185"/> - <syscall name="msgget" number="186"/> - <syscall name="msgctl" number="187"/> - <syscall name="msgrcv" number="188"/> - <syscall name="msgsnd" number="189"/> - <syscall name="semget" number="190"/> - <syscall name="semctl" number="191"/> - <syscall name="semtimedop" number="192"/> - <syscall name="semop" number="193"/> - <syscall name="shmget" number="194"/> - <syscall name="shmctl" number="195"/> - <syscall name="shmat" number="196"/> - <syscall name="shmdt" number="197"/> - <syscall name="socket" number="198"/> - <syscall name="socketpair" number="199"/> - <syscall name="bind" number="200"/> - <syscall name="listen" number="201"/> - <syscall name="accept" number="202"/> - <syscall name="connect" number="203"/> - <syscall name="getsockname" number="204"/> - <syscall name="getpeername" number="205"/> - <syscall name="sendto" number="206"/> - <syscall name="recvfrom" number="207"/> - <syscall name="setsockopt" number="208"/> - <syscall name="getsockopt" number="209"/> - <syscall name="shutdown" number="210"/> - <syscall name="sendmsg" number="211"/> - <syscall name="recvmsg" number="212"/> - <syscall name="readahead" number="213"/> - <syscall name="brk" number="214"/> - <syscall name="munmap" number="215"/> - <syscall name="mremap" number="216"/> + <syscall name="msgget" number="186" groups="ipc"/> + <syscall name="msgctl" number="187" groups="ipc"/> + <syscall name="msgrcv" number="188" groups="ipc"/> + <syscall name="msgsnd" number="189" groups="ipc"/> + <syscall name="semget" number="190" groups="ipc"/> + <syscall name="semctl" number="191" groups="ipc"/> + <syscall name="semtimedop" number="192" groups="ipc"/> + <syscall name="semop" number="193" groups="ipc"/> + <syscall name="shmget" number="194" groups="ipc"/> + <syscall name="shmctl" number="195" groups="ipc"/> + <syscall name="shmat" number="196" groups="ipc,memory"/> + <syscall name="shmdt" number="197" groups="ipc,memory"/> + <syscall name="socket" number="198" groups="network"/> + <syscall name="socketpair" number="199" groups="network"/> + <syscall name="bind" number="200" groups="network"/> + <syscall name="listen" number="201" groups="network"/> + <syscall name="accept" number="202" groups="network"/> + <syscall name="connect" number="203" groups="network"/> + <syscall name="getsockname" number="204" groups="network"/> + <syscall name="getpeername" number="205" groups="network"/> + <syscall name="sendto" number="206" groups="network"/> + <syscall name="recvfrom" number="207" groups="network"/> + <syscall name="setsockopt" number="208" groups="network"/> + <syscall name="getsockopt" number="209" groups="network"/> + <syscall name="shutdown" number="210" groups="network"/> + <syscall name="sendmsg" number="211" groups="network"/> + <syscall name="recvmsg" number="212" groups="network"/> + <syscall name="readahead" number="213" groups="descriptor"/> + <syscall name="brk" number="214" groups="memory"/> + <syscall name="munmap" number="215" groups="memory"/> + <syscall name="mremap" number="216" groups="memory"/> <syscall name="add_key" number="217"/> <syscall name="request_key" number="218"/> <syscall name="keyctl" number="219"/> - <syscall name="clone" number="220"/> - <syscall name="execve" number="221"/> - <syscall name="mmap" number="222"/> - <syscall name="fadvise64" number="223"/> - <syscall name="swapon" number="224"/> - <syscall name="swapoff" number="225"/> - <syscall name="mprotect" number="226"/> - <syscall name="msync" number="227"/> - <syscall name="mlock" number="228"/> - <syscall name="munlock" number="229"/> - <syscall name="mlockall" number="230"/> - <syscall name="munlockall" number="231"/> - <syscall name="mincore" number="232"/> - <syscall name="madvise" number="233"/> - <syscall name="remap_file_pages" number="234"/> - <syscall name="mbind" number="235"/> - <syscall name="get_mempolicy" number="236"/> - <syscall name="set_mempolicy" number="237"/> - <syscall name="migrate_pages" number="238"/> - <syscall name="move_pages" number="239"/> - <syscall name="rt_tgsigqueueinfo" number="240"/> - <syscall name="perf_event_open" number="241"/> - <syscall name="accept4" number="242"/> - <syscall name="recvmmsg" number="243"/> + <syscall name="clone" number="220" groups="process"/> + <syscall name="execve" number="221" groups="file,process"/> + <syscall name="mmap" number="222" groups="descriptor,memory"/> + <syscall name="fadvise64" number="223" groups="descriptor"/> + <syscall name="swapon" number="224" groups="file"/> + <syscall name="swapoff" number="225" groups="file"/> + <syscall name="mprotect" number="226" groups="memory"/> + <syscall name="msync" number="227" groups="memory"/> + <syscall name="mlock" number="228" groups="memory"/> + <syscall name="munlock" number="229" groups="memory"/> + <syscall name="mlockall" number="230" groups="memory"/> + <syscall name="munlockall" number="231" groups="memory"/> + <syscall name="mincore" number="232" groups="memory"/> + <syscall name="madvise" number="233" groups="memory"/> + <syscall name="remap_file_pages" number="234" groups="memory"/> + <syscall name="mbind" number="235" groups="memory"/> + <syscall name="get_mempolicy" number="236" groups="memory"/> + <syscall name="set_mempolicy" number="237" groups="memory"/> + <syscall name="migrate_pages" number="238" groups="memory"/> + <syscall name="move_pages" number="239" groups="memory"/> + <syscall name="rt_tgsigqueueinfo" number="240" groups="process,signal"/> + <syscall name="perf_event_open" number="241" groups="descriptor"/> + <syscall name="accept4" number="242" groups="network"/> + <syscall name="recvmmsg" number="243" groups="network"/> <syscall name="arch_specific_syscall" number="244"/> - <syscall name="wait4" number="260"/> + <syscall name="wait4" number="260" groups="process"/> <syscall name="prlimit64" number="261"/> - <syscall name="fanotify_init" number="262"/> - <syscall name="fanotify_mark" number="263"/> - <syscall name="name_to_handle_at" number="264"/> - <syscall name="open_by_handle_at" number="265"/> + <syscall name="fanotify_init" number="262" groups="descriptor"/> + <syscall name="fanotify_mark" number="263" groups="descriptor,file"/> + <syscall name="name_to_handle_at" number="264" groups="descriptor,file"/> + <syscall name="open_by_handle_at" number="265" groups="descriptor"/> <syscall name="clock_adjtime" number="266"/> - <syscall name="syncfs" number="267"/> - <syscall name="setns" number="268"/> - <syscall name="sendmmsg" number="269"/> + <syscall name="syncfs" number="267" groups="descriptor"/> + <syscall name="setns" number="268" groups="descriptor"/> + <syscall name="sendmmsg" number="269" groups="network"/> <syscall name="process_vm_readv" number="270"/> <syscall name="process_vm_writev" number="271"/> <syscall name="kcmp" number="272"/> diff --git a/gdb/syscalls/aarch64-linux.xml.in b/gdb/syscalls/aarch64-linux.xml.in new file mode 100644 index 0000000..e1fa0da --- /dev/null +++ b/gdb/syscalls/aarch64-linux.xml.in @@ -0,0 +1,271 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2015-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without any warranty. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<syscalls_info> + <syscall name="io_setup" number="0"/> + <syscall name="io_destroy" number="1"/> + <syscall name="io_submit" number="2"/> + <syscall name="io_cancel" number="3"/> + <syscall name="io_getevents" number="4"/> + <syscall name="setxattr" number="5"/> + <syscall name="lsetxattr" number="6"/> + <syscall name="fsetxattr" number="7"/> + <syscall name="getxattr" number="8"/> + <syscall name="lgetxattr" number="9"/> + <syscall name="fgetxattr" number="10"/> + <syscall name="listxattr" number="11"/> + <syscall name="llistxattr" number="12"/> + <syscall name="flistxattr" number="13"/> + <syscall name="removexattr" number="14"/> + <syscall name="lremovexattr" number="15"/> + <syscall name="fremovexattr" number="16"/> + <syscall name="getcwd" number="17"/> + <syscall name="lookup_dcookie" number="18"/> + <syscall name="eventfd2" number="19"/> + <syscall name="epoll_create1" number="20"/> + <syscall name="epoll_ctl" number="21"/> + <syscall name="epoll_pwait" number="22"/> + <syscall name="dup" number="23"/> + <syscall name="dup3" number="24"/> + <syscall name="fcntl" number="25"/> + <syscall name="inotify_init1" number="26"/> + <syscall name="inotify_add_watch" number="27"/> + <syscall name="inotify_rm_watch" number="28"/> + <syscall name="ioctl" number="29"/> + <syscall name="ioprio_set" number="30"/> + <syscall name="ioprio_get" number="31"/> + <syscall name="flock" number="32"/> + <syscall name="mknodat" number="33"/> + <syscall name="mkdirat" number="34"/> + <syscall name="unlinkat" number="35"/> + <syscall name="symlinkat" number="36"/> + <syscall name="linkat" number="37"/> + <syscall name="renameat" number="38"/> + <syscall name="umount2" number="39"/> + <syscall name="mount" number="40"/> + <syscall name="pivot_root" number="41"/> + <syscall name="nfsservctl" number="42"/> + <syscall name="statfs" number="43"/> + <syscall name="fstatfs" number="44"/> + <syscall name="truncate" number="45"/> + <syscall name="ftruncate" number="46"/> + <syscall name="fallocate" number="47"/> + <syscall name="faccessat" number="48"/> + <syscall name="chdir" number="49"/> + <syscall name="fchdir" number="50"/> + <syscall name="chroot" number="51"/> + <syscall name="fchmod" number="52"/> + <syscall name="fchmodat" number="53"/> + <syscall name="fchownat" number="54"/> + <syscall name="fchown" number="55"/> + <syscall name="openat" number="56"/> + <syscall name="close" number="57"/> + <syscall name="vhangup" number="58"/> + <syscall name="pipe2" number="59"/> + <syscall name="quotactl" number="60"/> + <syscall name="getdents64" number="61"/> + <syscall name="lseek" number="62"/> + <syscall name="read" number="63"/> + <syscall name="write" number="64"/> + <syscall name="readv" number="65"/> + <syscall name="writev" number="66"/> + <syscall name="pread64" number="67"/> + <syscall name="pwrite64" number="68"/> + <syscall name="preadv" number="69"/> + <syscall name="pwritev" number="70"/> + <syscall name="sendfile" number="71"/> + <syscall name="pselect6" number="72"/> + <syscall name="ppoll" number="73"/> + <syscall name="signalfd4" number="74"/> + <syscall name="vmsplice" number="75"/> + <syscall name="splice" number="76"/> + <syscall name="tee" number="77"/> + <syscall name="readlinkat" number="78"/> + <syscall name="newfstatat" number="79"/> + <syscall name="fstat" number="80"/> + <syscall name="sync" number="81"/> + <syscall name="fsync" number="82"/> + <syscall name="fdatasync" number="83"/> + <syscall name="sync_file_range" number="84"/> + <syscall name="timerfd_create" number="85"/> + <syscall name="timerfd_settime" number="86"/> + <syscall name="timerfd_gettime" number="87"/> + <syscall name="utimensat" number="88"/> + <syscall name="acct" number="89"/> + <syscall name="capget" number="90"/> + <syscall name="capset" number="91"/> + <syscall name="personality" number="92"/> + <syscall name="exit" number="93"/> + <syscall name="exit_group" number="94"/> + <syscall name="waitid" number="95"/> + <syscall name="set_tid_address" number="96"/> + <syscall name="unshare" number="97"/> + <syscall name="futex" number="98"/> + <syscall name="set_robust_list" number="99"/> + <syscall name="get_robust_list" number="100"/> + <syscall name="nanosleep" number="101"/> + <syscall name="getitimer" number="102"/> + <syscall name="setitimer" number="103"/> + <syscall name="kexec_load" number="104"/> + <syscall name="init_module" number="105"/> + <syscall name="delete_module" number="106"/> + <syscall name="timer_create" number="107"/> + <syscall name="timer_gettime" number="108"/> + <syscall name="timer_getoverrun" number="109"/> + <syscall name="timer_settime" number="110"/> + <syscall name="timer_delete" number="111"/> + <syscall name="clock_settime" number="112"/> + <syscall name="clock_gettime" number="113"/> + <syscall name="clock_getres" number="114"/> + <syscall name="clock_nanosleep" number="115"/> + <syscall name="syslog" number="116"/> + <syscall name="ptrace" number="117"/> + <syscall name="sched_setparam" number="118"/> + <syscall name="sched_setscheduler" number="119"/> + <syscall name="sched_getscheduler" number="120"/> + <syscall name="sched_getparam" number="121"/> + <syscall name="sched_setaffinity" number="122"/> + <syscall name="sched_getaffinity" number="123"/> + <syscall name="sched_yield" number="124"/> + <syscall name="sched_get_priority_max" number="125"/> + <syscall name="sched_get_priority_min" number="126"/> + <syscall name="sched_rr_get_interval" number="127"/> + <syscall name="restart_syscall" number="128"/> + <syscall name="kill" number="129"/> + <syscall name="tkill" number="130"/> + <syscall name="tgkill" number="131"/> + <syscall name="sigaltstack" number="132"/> + <syscall name="rt_sigsuspend" number="133"/> + <syscall name="rt_sigaction" number="134"/> + <syscall name="rt_sigprocmask" number="135"/> + <syscall name="rt_sigpending" number="136"/> + <syscall name="rt_sigtimedwait" number="137"/> + <syscall name="rt_sigqueueinfo" number="138"/> + <syscall name="rt_sigreturn" number="139"/> + <syscall name="setpriority" number="140"/> + <syscall name="getpriority" number="141"/> + <syscall name="reboot" number="142"/> + <syscall name="setregid" number="143"/> + <syscall name="setgid" number="144"/> + <syscall name="setreuid" number="145"/> + <syscall name="setuid" number="146"/> + <syscall name="setresuid" number="147"/> + <syscall name="getresuid" number="148"/> + <syscall name="setresgid" number="149"/> + <syscall name="getresgid" number="150"/> + <syscall name="setfsuid" number="151"/> + <syscall name="setfsgid" number="152"/> + <syscall name="times" number="153"/> + <syscall name="setpgid" number="154"/> + <syscall name="getpgid" number="155"/> + <syscall name="getsid" number="156"/> + <syscall name="setsid" number="157"/> + <syscall name="getgroups" number="158"/> + <syscall name="setgroups" number="159"/> + <syscall name="uname" number="160"/> + <syscall name="sethostname" number="161"/> + <syscall name="setdomainname" number="162"/> + <syscall name="getrlimit" number="163"/> + <syscall name="setrlimit" number="164"/> + <syscall name="getrusage" number="165"/> + <syscall name="umask" number="166"/> + <syscall name="prctl" number="167"/> + <syscall name="getcpu" number="168"/> + <syscall name="gettimeofday" number="169"/> + <syscall name="settimeofday" number="170"/> + <syscall name="adjtimex" number="171"/> + <syscall name="getpid" number="172"/> + <syscall name="getppid" number="173"/> + <syscall name="getuid" number="174"/> + <syscall name="geteuid" number="175"/> + <syscall name="getgid" number="176"/> + <syscall name="getegid" number="177"/> + <syscall name="gettid" number="178"/> + <syscall name="sysinfo" number="179"/> + <syscall name="mq_open" number="180"/> + <syscall name="mq_unlink" number="181"/> + <syscall name="mq_timedsend" number="182"/> + <syscall name="mq_timedreceive" number="183"/> + <syscall name="mq_notify" number="184"/> + <syscall name="mq_getsetattr" number="185"/> + <syscall name="msgget" number="186"/> + <syscall name="msgctl" number="187"/> + <syscall name="msgrcv" number="188"/> + <syscall name="msgsnd" number="189"/> + <syscall name="semget" number="190"/> + <syscall name="semctl" number="191"/> + <syscall name="semtimedop" number="192"/> + <syscall name="semop" number="193"/> + <syscall name="shmget" number="194"/> + <syscall name="shmctl" number="195"/> + <syscall name="shmat" number="196"/> + <syscall name="shmdt" number="197"/> + <syscall name="socket" number="198"/> + <syscall name="socketpair" number="199"/> + <syscall name="bind" number="200"/> + <syscall name="listen" number="201"/> + <syscall name="accept" number="202"/> + <syscall name="connect" number="203"/> + <syscall name="getsockname" number="204"/> + <syscall name="getpeername" number="205"/> + <syscall name="sendto" number="206"/> + <syscall name="recvfrom" number="207"/> + <syscall name="setsockopt" number="208"/> + <syscall name="getsockopt" number="209"/> + <syscall name="shutdown" number="210"/> + <syscall name="sendmsg" number="211"/> + <syscall name="recvmsg" number="212"/> + <syscall name="readahead" number="213"/> + <syscall name="brk" number="214"/> + <syscall name="munmap" number="215"/> + <syscall name="mremap" number="216"/> + <syscall name="add_key" number="217"/> + <syscall name="request_key" number="218"/> + <syscall name="keyctl" number="219"/> + <syscall name="clone" number="220"/> + <syscall name="execve" number="221"/> + <syscall name="mmap" number="222"/> + <syscall name="fadvise64" number="223"/> + <syscall name="swapon" number="224"/> + <syscall name="swapoff" number="225"/> + <syscall name="mprotect" number="226"/> + <syscall name="msync" number="227"/> + <syscall name="mlock" number="228"/> + <syscall name="munlock" number="229"/> + <syscall name="mlockall" number="230"/> + <syscall name="munlockall" number="231"/> + <syscall name="mincore" number="232"/> + <syscall name="madvise" number="233"/> + <syscall name="remap_file_pages" number="234"/> + <syscall name="mbind" number="235"/> + <syscall name="get_mempolicy" number="236"/> + <syscall name="set_mempolicy" number="237"/> + <syscall name="migrate_pages" number="238"/> + <syscall name="move_pages" number="239"/> + <syscall name="rt_tgsigqueueinfo" number="240"/> + <syscall name="perf_event_open" number="241"/> + <syscall name="accept4" number="242"/> + <syscall name="recvmmsg" number="243"/> + <syscall name="arch_specific_syscall" number="244"/> + <syscall name="wait4" number="260"/> + <syscall name="prlimit64" number="261"/> + <syscall name="fanotify_init" number="262"/> + <syscall name="fanotify_mark" number="263"/> + <syscall name="name_to_handle_at" number="264"/> + <syscall name="open_by_handle_at" number="265"/> + <syscall name="clock_adjtime" number="266"/> + <syscall name="syncfs" number="267"/> + <syscall name="setns" number="268"/> + <syscall name="sendmmsg" number="269"/> + <syscall name="process_vm_readv" number="270"/> + <syscall name="process_vm_writev" number="271"/> + <syscall name="kcmp" number="272"/> + <syscall name="syscalls" number="273"/> +</syscalls_info> diff --git a/gdb/syscalls/amd64-linux.xml b/gdb/syscalls/amd64-linux.xml index 074b5870e..9778258 100644 --- a/gdb/syscalls/amd64-linux.xml +++ b/gdb/syscalls/amd64-linux.xml @@ -1,114 +1,111 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: /usr/src/linux/arch/x86/include/asm/unistd_64.h The file mentioned above belongs to the Linux Kernel. --> - <syscalls_info> - <syscall name="read" number="0"/> - <syscall name="write" number="1"/> - <syscall name="open" number="2"/> - <syscall name="close" number="3"/> - <syscall name="stat" number="4"/> - <syscall name="fstat" number="5"/> - <syscall name="lstat" number="6"/> - <syscall name="poll" number="7"/> - <syscall name="lseek" number="8"/> - <syscall name="mmap" number="9"/> - <syscall name="mprotect" number="10"/> - <syscall name="munmap" number="11"/> - <syscall name="brk" number="12"/> - <syscall name="rt_sigaction" number="13"/> - <syscall name="rt_sigprocmask" number="14"/> - <syscall name="rt_sigreturn" number="15"/> - <syscall name="ioctl" number="16"/> - <syscall name="pread64" number="17"/> - <syscall name="pwrite64" number="18"/> - <syscall name="readv" number="19"/> - <syscall name="writev" number="20"/> - <syscall name="access" number="21"/> - <syscall name="pipe" number="22"/> - <syscall name="select" number="23"/> + <syscall name="read" number="0" groups="descriptor"/> + <syscall name="write" number="1" groups="descriptor"/> + <syscall name="open" number="2" groups="descriptor,file"/> + <syscall name="close" number="3" groups="descriptor"/> + <syscall name="stat" number="4" groups="file"/> + <syscall name="fstat" number="5" groups="descriptor"/> + <syscall name="lstat" number="6" groups="file"/> + <syscall name="poll" number="7" groups="descriptor"/> + <syscall name="lseek" number="8" groups="descriptor"/> + <syscall name="mmap" number="9" groups="descriptor,memory"/> + <syscall name="mprotect" number="10" groups="memory"/> + <syscall name="munmap" number="11" groups="memory"/> + <syscall name="brk" number="12" groups="memory"/> + <syscall name="rt_sigaction" number="13" groups="signal"/> + <syscall name="rt_sigprocmask" number="14" groups="signal"/> + <syscall name="rt_sigreturn" number="15" groups="signal"/> + <syscall name="ioctl" number="16" groups="descriptor"/> + <syscall name="pread64" number="17" groups="descriptor"/> + <syscall name="pwrite64" number="18" groups="descriptor"/> + <syscall name="readv" number="19" groups="descriptor"/> + <syscall name="writev" number="20" groups="descriptor"/> + <syscall name="access" number="21" groups="file"/> + <syscall name="pipe" number="22" groups="descriptor"/> + <syscall name="select" number="23" groups="descriptor"/> <syscall name="sched_yield" number="24"/> - <syscall name="mremap" number="25"/> - <syscall name="msync" number="26"/> - <syscall name="mincore" number="27"/> - <syscall name="madvise" number="28"/> - <syscall name="shmget" number="29"/> - <syscall name="shmat" number="30"/> - <syscall name="shmctl" number="31"/> - <syscall name="dup" number="32"/> - <syscall name="dup2" number="33"/> - <syscall name="pause" number="34"/> + <syscall name="mremap" number="25" groups="memory"/> + <syscall name="msync" number="26" groups="memory"/> + <syscall name="mincore" number="27" groups="memory"/> + <syscall name="madvise" number="28" groups="memory"/> + <syscall name="shmget" number="29" groups="ipc"/> + <syscall name="shmat" number="30" groups="ipc,memory"/> + <syscall name="shmctl" number="31" groups="ipc"/> + <syscall name="dup" number="32" groups="descriptor"/> + <syscall name="dup2" number="33" groups="descriptor"/> + <syscall name="pause" number="34" groups="signal"/> <syscall name="nanosleep" number="35"/> <syscall name="getitimer" number="36"/> <syscall name="alarm" number="37"/> <syscall name="setitimer" number="38"/> <syscall name="getpid" number="39"/> - <syscall name="sendfile" number="40"/> - <syscall name="socket" number="41"/> - <syscall name="connect" number="42"/> - <syscall name="accept" number="43"/> - <syscall name="sendto" number="44"/> - <syscall name="recvfrom" number="45"/> - <syscall name="sendmsg" number="46"/> - <syscall name="recvmsg" number="47"/> - <syscall name="shutdown" number="48"/> - <syscall name="bind" number="49"/> - <syscall name="listen" number="50"/> - <syscall name="getsockname" number="51"/> - <syscall name="getpeername" number="52"/> - <syscall name="socketpair" number="53"/> - <syscall name="setsockopt" number="54"/> - <syscall name="getsockopt" number="55"/> - <syscall name="clone" number="56"/> - <syscall name="fork" number="57"/> - <syscall name="vfork" number="58"/> - <syscall name="execve" number="59"/> - <syscall name="exit" number="60"/> - <syscall name="wait4" number="61"/> - <syscall name="kill" number="62"/> + <syscall name="sendfile" number="40" groups="descriptor,network"/> + <syscall name="socket" number="41" groups="network"/> + <syscall name="connect" number="42" groups="network"/> + <syscall name="accept" number="43" groups="network"/> + <syscall name="sendto" number="44" groups="network"/> + <syscall name="recvfrom" number="45" groups="network"/> + <syscall name="sendmsg" number="46" groups="network"/> + <syscall name="recvmsg" number="47" groups="network"/> + <syscall name="shutdown" number="48" groups="network"/> + <syscall name="bind" number="49" groups="network"/> + <syscall name="listen" number="50" groups="network"/> + <syscall name="getsockname" number="51" groups="network"/> + <syscall name="getpeername" number="52" groups="network"/> + <syscall name="socketpair" number="53" groups="network"/> + <syscall name="setsockopt" number="54" groups="network"/> + <syscall name="getsockopt" number="55" groups="network"/> + <syscall name="clone" number="56" groups="process"/> + <syscall name="fork" number="57" groups="process"/> + <syscall name="vfork" number="58" groups="process"/> + <syscall name="execve" number="59" groups="file,process"/> + <syscall name="exit" number="60" groups="process"/> + <syscall name="wait4" number="61" groups="process"/> + <syscall name="kill" number="62" groups="signal"/> <syscall name="uname" number="63"/> - <syscall name="semget" number="64"/> - <syscall name="semop" number="65"/> - <syscall name="semctl" number="66"/> - <syscall name="shmdt" number="67"/> - <syscall name="msgget" number="68"/> - <syscall name="msgsnd" number="69"/> - <syscall name="msgrcv" number="70"/> - <syscall name="msgctl" number="71"/> - <syscall name="fcntl" number="72"/> - <syscall name="flock" number="73"/> - <syscall name="fsync" number="74"/> - <syscall name="fdatasync" number="75"/> - <syscall name="truncate" number="76"/> - <syscall name="ftruncate" number="77"/> - <syscall name="getdents" number="78"/> - <syscall name="getcwd" number="79"/> - <syscall name="chdir" number="80"/> - <syscall name="fchdir" number="81"/> - <syscall name="rename" number="82"/> - <syscall name="mkdir" number="83"/> - <syscall name="rmdir" number="84"/> - <syscall name="creat" number="85"/> - <syscall name="link" number="86"/> - <syscall name="unlink" number="87"/> - <syscall name="symlink" number="88"/> - <syscall name="readlink" number="89"/> - <syscall name="chmod" number="90"/> - <syscall name="fchmod" number="91"/> - <syscall name="chown" number="92"/> - <syscall name="fchown" number="93"/> - <syscall name="lchown" number="94"/> + <syscall name="semget" number="64" groups="ipc"/> + <syscall name="semop" number="65" groups="ipc"/> + <syscall name="semctl" number="66" groups="ipc"/> + <syscall name="shmdt" number="67" groups="ipc,memory"/> + <syscall name="msgget" number="68" groups="ipc"/> + <syscall name="msgsnd" number="69" groups="ipc"/> + <syscall name="msgrcv" number="70" groups="ipc"/> + <syscall name="msgctl" number="71" groups="ipc"/> + <syscall name="fcntl" number="72" groups="descriptor"/> + <syscall name="flock" number="73" groups="descriptor"/> + <syscall name="fsync" number="74" groups="descriptor"/> + <syscall name="fdatasync" number="75" groups="descriptor"/> + <syscall name="truncate" number="76" groups="file"/> + <syscall name="ftruncate" number="77" groups="descriptor"/> + <syscall name="getdents" number="78" groups="descriptor"/> + <syscall name="getcwd" number="79" groups="file"/> + <syscall name="chdir" number="80" groups="file"/> + <syscall name="fchdir" number="81" groups="descriptor"/> + <syscall name="rename" number="82" groups="file"/> + <syscall name="mkdir" number="83" groups="file"/> + <syscall name="rmdir" number="84" groups="file"/> + <syscall name="creat" number="85" groups="descriptor,file"/> + <syscall name="link" number="86" groups="file"/> + <syscall name="unlink" number="87" groups="file"/> + <syscall name="symlink" number="88" groups="file"/> + <syscall name="readlink" number="89" groups="file"/> + <syscall name="chmod" number="90" groups="file"/> + <syscall name="fchmod" number="91" groups="descriptor"/> + <syscall name="chown" number="92" groups="file"/> + <syscall name="fchown" number="93" groups="descriptor"/> + <syscall name="lchown" number="94" groups="file"/> <syscall name="umask" number="95"/> <syscall name="gettimeofday" number="96"/> <syscall name="getrlimit" number="97"/> @@ -141,18 +138,18 @@ <syscall name="getsid" number="124"/> <syscall name="capget" number="125"/> <syscall name="capset" number="126"/> - <syscall name="rt_sigpending" number="127"/> - <syscall name="rt_sigtimedwait" number="128"/> - <syscall name="rt_sigqueueinfo" number="129"/> - <syscall name="rt_sigsuspend" number="130"/> - <syscall name="sigaltstack" number="131"/> - <syscall name="utime" number="132"/> - <syscall name="mknod" number="133"/> - <syscall name="uselib" number="134"/> + <syscall name="rt_sigpending" number="127" groups="signal"/> + <syscall name="rt_sigtimedwait" number="128" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="129" groups="signal"/> + <syscall name="rt_sigsuspend" number="130" groups="signal"/> + <syscall name="sigaltstack" number="131" groups="signal"/> + <syscall name="utime" number="132" groups="file"/> + <syscall name="mknod" number="133" groups="file"/> + <syscall name="uselib" number="134" groups="file"/> <syscall name="personality" number="135"/> <syscall name="ustat" number="136"/> - <syscall name="statfs" number="137"/> - <syscall name="fstatfs" number="138"/> + <syscall name="statfs" number="137" groups="file"/> + <syscall name="fstatfs" number="138" groups="descriptor"/> <syscall name="sysfs" number="139"/> <syscall name="getpriority" number="140"/> <syscall name="setpriority" number="141"/> @@ -163,26 +160,26 @@ <syscall name="sched_get_priority_max" number="146"/> <syscall name="sched_get_priority_min" number="147"/> <syscall name="sched_rr_get_interval" number="148"/> - <syscall name="mlock" number="149"/> - <syscall name="munlock" number="150"/> - <syscall name="mlockall" number="151"/> - <syscall name="munlockall" number="152"/> + <syscall name="mlock" number="149" groups="memory"/> + <syscall name="munlock" number="150" groups="memory"/> + <syscall name="mlockall" number="151" groups="memory"/> + <syscall name="munlockall" number="152" groups="memory"/> <syscall name="vhangup" number="153"/> <syscall name="modify_ldt" number="154"/> - <syscall name="pivot_root" number="155"/> + <syscall name="pivot_root" number="155" groups="file"/> <syscall name="_sysctl" number="156"/> <syscall name="prctl" number="157"/> - <syscall name="arch_prctl" number="158"/> + <syscall name="arch_prctl" number="158" groups="process"/> <syscall name="adjtimex" number="159"/> <syscall name="setrlimit" number="160"/> - <syscall name="chroot" number="161"/> + <syscall name="chroot" number="161" groups="file"/> <syscall name="sync" number="162"/> - <syscall name="acct" number="163"/> + <syscall name="acct" number="163" groups="file"/> <syscall name="settimeofday" number="164"/> - <syscall name="mount" number="165"/> - <syscall name="umount2" number="166"/> - <syscall name="swapon" number="167"/> - <syscall name="swapoff" number="168"/> + <syscall name="mount" number="165" groups="file"/> + <syscall name="umount2" number="166" groups="file"/> + <syscall name="swapon" number="167" groups="file"/> + <syscall name="swapoff" number="168" groups="file"/> <syscall name="reboot" number="169"/> <syscall name="sethostname" number="170"/> <syscall name="setdomainname" number="171"/> @@ -193,7 +190,7 @@ <syscall name="delete_module" number="176"/> <syscall name="get_kernel_syms" number="177"/> <syscall name="query_module" number="178"/> - <syscall name="quotactl" number="179"/> + <syscall name="quotactl" number="179" groups="file"/> <syscall name="nfsservctl" number="180"/> <syscall name="getpmsg" number="181"/> <syscall name="putpmsg" number="182"/> @@ -201,20 +198,20 @@ <syscall name="tuxcall" number="184"/> <syscall name="security" number="185"/> <syscall name="gettid" number="186"/> - <syscall name="readahead" number="187"/> - <syscall name="setxattr" number="188"/> - <syscall name="lsetxattr" number="189"/> - <syscall name="fsetxattr" number="190"/> - <syscall name="getxattr" number="191"/> - <syscall name="lgetxattr" number="192"/> - <syscall name="fgetxattr" number="193"/> - <syscall name="listxattr" number="194"/> - <syscall name="llistxattr" number="195"/> - <syscall name="flistxattr" number="196"/> - <syscall name="removexattr" number="197"/> - <syscall name="lremovexattr" number="198"/> - <syscall name="fremovexattr" number="199"/> - <syscall name="tkill" number="200"/> + <syscall name="readahead" number="187" groups="descriptor"/> + <syscall name="setxattr" number="188" groups="file"/> + <syscall name="lsetxattr" number="189" groups="file"/> + <syscall name="fsetxattr" number="190" groups="descriptor"/> + <syscall name="getxattr" number="191" groups="file"/> + <syscall name="lgetxattr" number="192" groups="file"/> + <syscall name="fgetxattr" number="193" groups="descriptor"/> + <syscall name="listxattr" number="194" groups="file"/> + <syscall name="llistxattr" number="195" groups="file"/> + <syscall name="flistxattr" number="196" groups="descriptor"/> + <syscall name="removexattr" number="197" groups="file"/> + <syscall name="lremovexattr" number="198" groups="file"/> + <syscall name="fremovexattr" number="199" groups="descriptor"/> + <syscall name="tkill" number="200" groups="signal"/> <syscall name="time" number="201"/> <syscall name="futex" number="202"/> <syscall name="sched_setaffinity" number="203"/> @@ -227,15 +224,15 @@ <syscall name="io_cancel" number="210"/> <syscall name="get_thread_area" number="211"/> <syscall name="lookup_dcookie" number="212"/> - <syscall name="epoll_create" number="213"/> + <syscall name="epoll_create" number="213" groups="descriptor"/> <syscall name="epoll_ctl_old" number="214"/> <syscall name="epoll_wait_old" number="215"/> - <syscall name="remap_file_pages" number="216"/> - <syscall name="getdents64" number="217"/> + <syscall name="remap_file_pages" number="216" groups="memory"/> + <syscall name="getdents64" number="217" groups="descriptor"/> <syscall name="set_tid_address" number="218"/> <syscall name="restart_syscall" number="219"/> - <syscall name="semtimedop" number="220"/> - <syscall name="fadvise64" number="221"/> + <syscall name="semtimedop" number="220" groups="ipc"/> + <syscall name="fadvise64" number="221" groups="descriptor"/> <syscall name="timer_create" number="222"/> <syscall name="timer_settime" number="223"/> <syscall name="timer_gettime" number="224"/> @@ -245,15 +242,15 @@ <syscall name="clock_gettime" number="228"/> <syscall name="clock_getres" number="229"/> <syscall name="clock_nanosleep" number="230"/> - <syscall name="exit_group" number="231"/> - <syscall name="epoll_wait" number="232"/> - <syscall name="epoll_ctl" number="233"/> - <syscall name="tgkill" number="234"/> - <syscall name="utimes" number="235"/> + <syscall name="exit_group" number="231" groups="process"/> + <syscall name="epoll_wait" number="232" groups="descriptor"/> + <syscall name="epoll_ctl" number="233" groups="descriptor"/> + <syscall name="tgkill" number="234" groups="signal"/> + <syscall name="utimes" number="235" groups="file"/> <syscall name="vserver" number="236"/> - <syscall name="mbind" number="237"/> - <syscall name="set_mempolicy" number="238"/> - <syscall name="get_mempolicy" number="239"/> + <syscall name="mbind" number="237" groups="memory"/> + <syscall name="set_mempolicy" number="238" groups="memory"/> + <syscall name="get_mempolicy" number="239" groups="memory"/> <syscall name="mq_open" number="240"/> <syscall name="mq_unlink" number="241"/> <syscall name="mq_timedsend" number="242"/> @@ -261,54 +258,54 @@ <syscall name="mq_notify" number="244"/> <syscall name="mq_getsetattr" number="245"/> <syscall name="kexec_load" number="246"/> - <syscall name="waitid" number="247"/> + <syscall name="waitid" number="247" groups="process"/> <syscall name="add_key" number="248"/> <syscall name="request_key" number="249"/> <syscall name="keyctl" number="250"/> <syscall name="ioprio_set" number="251"/> <syscall name="ioprio_get" number="252"/> - <syscall name="inotify_init" number="253"/> - <syscall name="inotify_add_watch" number="254"/> - <syscall name="inotify_rm_watch" number="255"/> - <syscall name="migrate_pages" number="256"/> - <syscall name="openat" number="257"/> - <syscall name="mkdirat" number="258"/> - <syscall name="mknodat" number="259"/> - <syscall name="fchownat" number="260"/> - <syscall name="futimesat" number="261"/> - <syscall name="newfstatat" number="262"/> - <syscall name="unlinkat" number="263"/> - <syscall name="renameat" number="264"/> - <syscall name="linkat" number="265"/> - <syscall name="symlinkat" number="266"/> - <syscall name="readlinkat" number="267"/> - <syscall name="fchmodat" number="268"/> - <syscall name="faccessat" number="269"/> - <syscall name="pselect6" number="270"/> - <syscall name="ppoll" number="271"/> - <syscall name="unshare" number="272"/> + <syscall name="inotify_init" number="253" groups="descriptor"/> + <syscall name="inotify_add_watch" number="254" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="255" groups="descriptor"/> + <syscall name="migrate_pages" number="256" groups="memory"/> + <syscall name="openat" number="257" groups="descriptor,file"/> + <syscall name="mkdirat" number="258" groups="descriptor,file"/> + <syscall name="mknodat" number="259" groups="descriptor,file"/> + <syscall name="fchownat" number="260" groups="descriptor,file"/> + <syscall name="futimesat" number="261" groups="descriptor,file"/> + <syscall name="newfstatat" number="262" groups="descriptor,file"/> + <syscall name="unlinkat" number="263" groups="descriptor,file"/> + <syscall name="renameat" number="264" groups="descriptor,file"/> + <syscall name="linkat" number="265" groups="descriptor,file"/> + <syscall name="symlinkat" number="266" groups="descriptor,file"/> + <syscall name="readlinkat" number="267" groups="descriptor,file"/> + <syscall name="fchmodat" number="268" groups="descriptor,file"/> + <syscall name="faccessat" number="269" groups="descriptor,file"/> + <syscall name="pselect6" number="270" groups="descriptor"/> + <syscall name="ppoll" number="271" groups="descriptor"/> + <syscall name="unshare" number="272" groups="process"/> <syscall name="set_robust_list" number="273"/> <syscall name="get_robust_list" number="274"/> - <syscall name="splice" number="275"/> - <syscall name="tee" number="276"/> - <syscall name="sync_file_range" number="277"/> - <syscall name="vmsplice" number="278"/> - <syscall name="move_pages" number="279"/> - <syscall name="utimensat" number="280"/> - <syscall name="epoll_pwait" number="281"/> - <syscall name="signalfd" number="282"/> - <syscall name="timerfd_create" number="283"/> - <syscall name="eventfd" number="284"/> - <syscall name="fallocate" number="285"/> - <syscall name="timerfd_settime" number="286"/> - <syscall name="timerfd_gettime" number="287"/> - <syscall name="accept4" number="288"/> - <syscall name="signalfd4" number="289"/> - <syscall name="eventfd2" number="290"/> - <syscall name="epoll_create1" number="291"/> - <syscall name="dup3" number="292"/> - <syscall name="pipe2" number="293"/> - <syscall name="inotify_init1" number="294"/> - <syscall name="preadv" number="295"/> - <syscall name="pwritev" number="296"/> + <syscall name="splice" number="275" groups="descriptor"/> + <syscall name="tee" number="276" groups="descriptor"/> + <syscall name="sync_file_range" number="277" groups="descriptor"/> + <syscall name="vmsplice" number="278" groups="descriptor"/> + <syscall name="move_pages" number="279" groups="memory"/> + <syscall name="utimensat" number="280" groups="descriptor,file"/> + <syscall name="epoll_pwait" number="281" groups="descriptor"/> + <syscall name="signalfd" number="282" groups="descriptor,signal"/> + <syscall name="timerfd_create" number="283" groups="descriptor"/> + <syscall name="eventfd" number="284" groups="descriptor"/> + <syscall name="fallocate" number="285" groups="descriptor"/> + <syscall name="timerfd_settime" number="286" groups="descriptor"/> + <syscall name="timerfd_gettime" number="287" groups="descriptor"/> + <syscall name="accept4" number="288" groups="network"/> + <syscall name="signalfd4" number="289" groups="descriptor,signal"/> + <syscall name="eventfd2" number="290" groups="descriptor"/> + <syscall name="epoll_create1" number="291" groups="descriptor"/> + <syscall name="dup3" number="292" groups="descriptor"/> + <syscall name="pipe2" number="293" groups="descriptor"/> + <syscall name="inotify_init1" number="294" groups="descriptor"/> + <syscall name="preadv" number="295" groups="descriptor"/> + <syscall name="pwritev" number="296" groups="descriptor"/> </syscalls_info> diff --git a/gdb/syscalls/amd64-linux.xml.in b/gdb/syscalls/amd64-linux.xml.in new file mode 100644 index 0000000..074b5870e --- /dev/null +++ b/gdb/syscalls/amd64-linux.xml.in @@ -0,0 +1,314 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + /usr/src/linux/arch/x86/include/asm/unistd_64.h + + The file mentioned above belongs to the Linux Kernel. --> + +<syscalls_info> + <syscall name="read" number="0"/> + <syscall name="write" number="1"/> + <syscall name="open" number="2"/> + <syscall name="close" number="3"/> + <syscall name="stat" number="4"/> + <syscall name="fstat" number="5"/> + <syscall name="lstat" number="6"/> + <syscall name="poll" number="7"/> + <syscall name="lseek" number="8"/> + <syscall name="mmap" number="9"/> + <syscall name="mprotect" number="10"/> + <syscall name="munmap" number="11"/> + <syscall name="brk" number="12"/> + <syscall name="rt_sigaction" number="13"/> + <syscall name="rt_sigprocmask" number="14"/> + <syscall name="rt_sigreturn" number="15"/> + <syscall name="ioctl" number="16"/> + <syscall name="pread64" number="17"/> + <syscall name="pwrite64" number="18"/> + <syscall name="readv" number="19"/> + <syscall name="writev" number="20"/> + <syscall name="access" number="21"/> + <syscall name="pipe" number="22"/> + <syscall name="select" number="23"/> + <syscall name="sched_yield" number="24"/> + <syscall name="mremap" number="25"/> + <syscall name="msync" number="26"/> + <syscall name="mincore" number="27"/> + <syscall name="madvise" number="28"/> + <syscall name="shmget" number="29"/> + <syscall name="shmat" number="30"/> + <syscall name="shmctl" number="31"/> + <syscall name="dup" number="32"/> + <syscall name="dup2" number="33"/> + <syscall name="pause" number="34"/> + <syscall name="nanosleep" number="35"/> + <syscall name="getitimer" number="36"/> + <syscall name="alarm" number="37"/> + <syscall name="setitimer" number="38"/> + <syscall name="getpid" number="39"/> + <syscall name="sendfile" number="40"/> + <syscall name="socket" number="41"/> + <syscall name="connect" number="42"/> + <syscall name="accept" number="43"/> + <syscall name="sendto" number="44"/> + <syscall name="recvfrom" number="45"/> + <syscall name="sendmsg" number="46"/> + <syscall name="recvmsg" number="47"/> + <syscall name="shutdown" number="48"/> + <syscall name="bind" number="49"/> + <syscall name="listen" number="50"/> + <syscall name="getsockname" number="51"/> + <syscall name="getpeername" number="52"/> + <syscall name="socketpair" number="53"/> + <syscall name="setsockopt" number="54"/> + <syscall name="getsockopt" number="55"/> + <syscall name="clone" number="56"/> + <syscall name="fork" number="57"/> + <syscall name="vfork" number="58"/> + <syscall name="execve" number="59"/> + <syscall name="exit" number="60"/> + <syscall name="wait4" number="61"/> + <syscall name="kill" number="62"/> + <syscall name="uname" number="63"/> + <syscall name="semget" number="64"/> + <syscall name="semop" number="65"/> + <syscall name="semctl" number="66"/> + <syscall name="shmdt" number="67"/> + <syscall name="msgget" number="68"/> + <syscall name="msgsnd" number="69"/> + <syscall name="msgrcv" number="70"/> + <syscall name="msgctl" number="71"/> + <syscall name="fcntl" number="72"/> + <syscall name="flock" number="73"/> + <syscall name="fsync" number="74"/> + <syscall name="fdatasync" number="75"/> + <syscall name="truncate" number="76"/> + <syscall name="ftruncate" number="77"/> + <syscall name="getdents" number="78"/> + <syscall name="getcwd" number="79"/> + <syscall name="chdir" number="80"/> + <syscall name="fchdir" number="81"/> + <syscall name="rename" number="82"/> + <syscall name="mkdir" number="83"/> + <syscall name="rmdir" number="84"/> + <syscall name="creat" number="85"/> + <syscall name="link" number="86"/> + <syscall name="unlink" number="87"/> + <syscall name="symlink" number="88"/> + <syscall name="readlink" number="89"/> + <syscall name="chmod" number="90"/> + <syscall name="fchmod" number="91"/> + <syscall name="chown" number="92"/> + <syscall name="fchown" number="93"/> + <syscall name="lchown" number="94"/> + <syscall name="umask" number="95"/> + <syscall name="gettimeofday" number="96"/> + <syscall name="getrlimit" number="97"/> + <syscall name="getrusage" number="98"/> + <syscall name="sysinfo" number="99"/> + <syscall name="times" number="100"/> + <syscall name="ptrace" number="101"/> + <syscall name="getuid" number="102"/> + <syscall name="syslog" number="103"/> + <syscall name="getgid" number="104"/> + <syscall name="setuid" number="105"/> + <syscall name="setgid" number="106"/> + <syscall name="geteuid" number="107"/> + <syscall name="getegid" number="108"/> + <syscall name="setpgid" number="109"/> + <syscall name="getppid" number="110"/> + <syscall name="getpgrp" number="111"/> + <syscall name="setsid" number="112"/> + <syscall name="setreuid" number="113"/> + <syscall name="setregid" number="114"/> + <syscall name="getgroups" number="115"/> + <syscall name="setgroups" number="116"/> + <syscall name="setresuid" number="117"/> + <syscall name="getresuid" number="118"/> + <syscall name="setresgid" number="119"/> + <syscall name="getresgid" number="120"/> + <syscall name="getpgid" number="121"/> + <syscall name="setfsuid" number="122"/> + <syscall name="setfsgid" number="123"/> + <syscall name="getsid" number="124"/> + <syscall name="capget" number="125"/> + <syscall name="capset" number="126"/> + <syscall name="rt_sigpending" number="127"/> + <syscall name="rt_sigtimedwait" number="128"/> + <syscall name="rt_sigqueueinfo" number="129"/> + <syscall name="rt_sigsuspend" number="130"/> + <syscall name="sigaltstack" number="131"/> + <syscall name="utime" number="132"/> + <syscall name="mknod" number="133"/> + <syscall name="uselib" number="134"/> + <syscall name="personality" number="135"/> + <syscall name="ustat" number="136"/> + <syscall name="statfs" number="137"/> + <syscall name="fstatfs" number="138"/> + <syscall name="sysfs" number="139"/> + <syscall name="getpriority" number="140"/> + <syscall name="setpriority" number="141"/> + <syscall name="sched_setparam" number="142"/> + <syscall name="sched_getparam" number="143"/> + <syscall name="sched_setscheduler" number="144"/> + <syscall name="sched_getscheduler" number="145"/> + <syscall name="sched_get_priority_max" number="146"/> + <syscall name="sched_get_priority_min" number="147"/> + <syscall name="sched_rr_get_interval" number="148"/> + <syscall name="mlock" number="149"/> + <syscall name="munlock" number="150"/> + <syscall name="mlockall" number="151"/> + <syscall name="munlockall" number="152"/> + <syscall name="vhangup" number="153"/> + <syscall name="modify_ldt" number="154"/> + <syscall name="pivot_root" number="155"/> + <syscall name="_sysctl" number="156"/> + <syscall name="prctl" number="157"/> + <syscall name="arch_prctl" number="158"/> + <syscall name="adjtimex" number="159"/> + <syscall name="setrlimit" number="160"/> + <syscall name="chroot" number="161"/> + <syscall name="sync" number="162"/> + <syscall name="acct" number="163"/> + <syscall name="settimeofday" number="164"/> + <syscall name="mount" number="165"/> + <syscall name="umount2" number="166"/> + <syscall name="swapon" number="167"/> + <syscall name="swapoff" number="168"/> + <syscall name="reboot" number="169"/> + <syscall name="sethostname" number="170"/> + <syscall name="setdomainname" number="171"/> + <syscall name="iopl" number="172"/> + <syscall name="ioperm" number="173"/> + <syscall name="create_module" number="174"/> + <syscall name="init_module" number="175"/> + <syscall name="delete_module" number="176"/> + <syscall name="get_kernel_syms" number="177"/> + <syscall name="query_module" number="178"/> + <syscall name="quotactl" number="179"/> + <syscall name="nfsservctl" number="180"/> + <syscall name="getpmsg" number="181"/> + <syscall name="putpmsg" number="182"/> + <syscall name="afs_syscall" number="183"/> + <syscall name="tuxcall" number="184"/> + <syscall name="security" number="185"/> + <syscall name="gettid" number="186"/> + <syscall name="readahead" number="187"/> + <syscall name="setxattr" number="188"/> + <syscall name="lsetxattr" number="189"/> + <syscall name="fsetxattr" number="190"/> + <syscall name="getxattr" number="191"/> + <syscall name="lgetxattr" number="192"/> + <syscall name="fgetxattr" number="193"/> + <syscall name="listxattr" number="194"/> + <syscall name="llistxattr" number="195"/> + <syscall name="flistxattr" number="196"/> + <syscall name="removexattr" number="197"/> + <syscall name="lremovexattr" number="198"/> + <syscall name="fremovexattr" number="199"/> + <syscall name="tkill" number="200"/> + <syscall name="time" number="201"/> + <syscall name="futex" number="202"/> + <syscall name="sched_setaffinity" number="203"/> + <syscall name="sched_getaffinity" number="204"/> + <syscall name="set_thread_area" number="205"/> + <syscall name="io_setup" number="206"/> + <syscall name="io_destroy" number="207"/> + <syscall name="io_getevents" number="208"/> + <syscall name="io_submit" number="209"/> + <syscall name="io_cancel" number="210"/> + <syscall name="get_thread_area" number="211"/> + <syscall name="lookup_dcookie" number="212"/> + <syscall name="epoll_create" number="213"/> + <syscall name="epoll_ctl_old" number="214"/> + <syscall name="epoll_wait_old" number="215"/> + <syscall name="remap_file_pages" number="216"/> + <syscall name="getdents64" number="217"/> + <syscall name="set_tid_address" number="218"/> + <syscall name="restart_syscall" number="219"/> + <syscall name="semtimedop" number="220"/> + <syscall name="fadvise64" number="221"/> + <syscall name="timer_create" number="222"/> + <syscall name="timer_settime" number="223"/> + <syscall name="timer_gettime" number="224"/> + <syscall name="timer_getoverrun" number="225"/> + <syscall name="timer_delete" number="226"/> + <syscall name="clock_settime" number="227"/> + <syscall name="clock_gettime" number="228"/> + <syscall name="clock_getres" number="229"/> + <syscall name="clock_nanosleep" number="230"/> + <syscall name="exit_group" number="231"/> + <syscall name="epoll_wait" number="232"/> + <syscall name="epoll_ctl" number="233"/> + <syscall name="tgkill" number="234"/> + <syscall name="utimes" number="235"/> + <syscall name="vserver" number="236"/> + <syscall name="mbind" number="237"/> + <syscall name="set_mempolicy" number="238"/> + <syscall name="get_mempolicy" number="239"/> + <syscall name="mq_open" number="240"/> + <syscall name="mq_unlink" number="241"/> + <syscall name="mq_timedsend" number="242"/> + <syscall name="mq_timedreceive" number="243"/> + <syscall name="mq_notify" number="244"/> + <syscall name="mq_getsetattr" number="245"/> + <syscall name="kexec_load" number="246"/> + <syscall name="waitid" number="247"/> + <syscall name="add_key" number="248"/> + <syscall name="request_key" number="249"/> + <syscall name="keyctl" number="250"/> + <syscall name="ioprio_set" number="251"/> + <syscall name="ioprio_get" number="252"/> + <syscall name="inotify_init" number="253"/> + <syscall name="inotify_add_watch" number="254"/> + <syscall name="inotify_rm_watch" number="255"/> + <syscall name="migrate_pages" number="256"/> + <syscall name="openat" number="257"/> + <syscall name="mkdirat" number="258"/> + <syscall name="mknodat" number="259"/> + <syscall name="fchownat" number="260"/> + <syscall name="futimesat" number="261"/> + <syscall name="newfstatat" number="262"/> + <syscall name="unlinkat" number="263"/> + <syscall name="renameat" number="264"/> + <syscall name="linkat" number="265"/> + <syscall name="symlinkat" number="266"/> + <syscall name="readlinkat" number="267"/> + <syscall name="fchmodat" number="268"/> + <syscall name="faccessat" number="269"/> + <syscall name="pselect6" number="270"/> + <syscall name="ppoll" number="271"/> + <syscall name="unshare" number="272"/> + <syscall name="set_robust_list" number="273"/> + <syscall name="get_robust_list" number="274"/> + <syscall name="splice" number="275"/> + <syscall name="tee" number="276"/> + <syscall name="sync_file_range" number="277"/> + <syscall name="vmsplice" number="278"/> + <syscall name="move_pages" number="279"/> + <syscall name="utimensat" number="280"/> + <syscall name="epoll_pwait" number="281"/> + <syscall name="signalfd" number="282"/> + <syscall name="timerfd_create" number="283"/> + <syscall name="eventfd" number="284"/> + <syscall name="fallocate" number="285"/> + <syscall name="timerfd_settime" number="286"/> + <syscall name="timerfd_gettime" number="287"/> + <syscall name="accept4" number="288"/> + <syscall name="signalfd4" number="289"/> + <syscall name="eventfd2" number="290"/> + <syscall name="epoll_create1" number="291"/> + <syscall name="dup3" number="292"/> + <syscall name="pipe2" number="293"/> + <syscall name="inotify_init1" number="294"/> + <syscall name="preadv" number="295"/> + <syscall name="pwritev" number="296"/> +</syscalls_info> diff --git a/gdb/syscalls/apply-defaults.xsl b/gdb/syscalls/apply-defaults.xsl new file mode 100644 index 0000000..5ab2b67 --- /dev/null +++ b/gdb/syscalls/apply-defaults.xsl @@ -0,0 +1,43 @@ +<!-- Generate syscall XML files based on defaults template. + Copyright (C) 2016 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. --> + +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + <xsl:output method="xml" doctype-system="gdb-syscalls.dtd"/> + + <xsl:template match="node()|@*" name="identity"> + <xsl:copy> + <xsl:apply-templates select="node()|@*"/> + </xsl:copy> + </xsl:template> + + <xsl:template match="/syscalls_info/syscall"> + <xsl:copy> + <xsl:apply-templates select="@*|node()"/> + <xsl:variable name="syscall"><xsl:value-of select="@name"/></xsl:variable> + <xsl:variable name="tgroups"><xsl:value-of select="@groups"/></xsl:variable> + <xsl:for-each select="document('linux-defaults.xml.in')/syscalls_defaults/child::*[@name=$syscall]"> + <xsl:attribute name="groups"> + <xsl:value-of select="@groups"/> + <xsl:if test="$tgroups != '' ">,<xsl:value-of select="$tgroups"/></xsl:if> + </xsl:attribute> + </xsl:for-each> + </xsl:copy> + </xsl:template> + +</xsl:stylesheet> diff --git a/gdb/syscalls/arm-linux.xml b/gdb/syscalls/arm-linux.xml index c0a456b..0777c64 100644 --- a/gdb/syscalls/arm-linux.xml +++ b/gdb/syscalls/arm-linux.xml @@ -1,95 +1,92 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: linux/arch/arm/include/uapi/asm/unistd.h The file mentioned above belongs to the Linux Kernel. Some small hand-edits were made. --> - <syscalls_info> <syscall name="restart_syscall" number="0"/> - <syscall name="exit" number="1"/> - <syscall name="fork" number="2"/> - <syscall name="read" number="3"/> - <syscall name="write" number="4"/> - <syscall name="open" number="5"/> - <syscall name="close" number="6"/> - <syscall name="waitpid" number="7"/> <!-- removed --> - <syscall name="creat" number="8"/> - <syscall name="link" number="9"/> - <syscall name="unlink" number="10"/> - <syscall name="execve" number="11"/> - <syscall name="chdir" number="12"/> + <syscall name="exit" number="1" groups="process"/> + <syscall name="fork" number="2" groups="process"/> + <syscall name="read" number="3" groups="descriptor"/> + <syscall name="write" number="4" groups="descriptor"/> + <syscall name="open" number="5" groups="descriptor,file"/> + <syscall name="close" number="6" groups="descriptor"/> + <syscall name="waitpid" number="7" groups="process"/> <!-- removed --> + <syscall name="creat" number="8" groups="descriptor,file"/> + <syscall name="link" number="9" groups="file"/> + <syscall name="unlink" number="10" groups="file"/> + <syscall name="execve" number="11" groups="file,process"/> + <syscall name="chdir" number="12" groups="file"/> <syscall name="time" number="13"/> - <syscall name="mknod" number="14"/> - <syscall name="chmod" number="15"/> - <syscall name="lchown" number="16"/> - <syscall name="break" number="17"/> <!-- removed --> - <syscall name="oldstat" number="18"/> <!-- removed --> - <syscall name="lseek" number="19"/> + <syscall name="mknod" number="14" groups="file"/> + <syscall name="chmod" number="15" groups="file"/> + <syscall name="lchown" number="16" groups="file"/> + <syscall name="break" number="17" groups="memory"/> <!-- removed --> + <syscall name="oldstat" number="18" groups="file"/> <!-- removed --> + <syscall name="lseek" number="19" groups="descriptor"/> <syscall name="getpid" number="20"/> - <syscall name="mount" number="21"/> - <syscall name="umount" number="22"/> + <syscall name="mount" number="21" groups="file"/> + <syscall name="umount" number="22" groups="file"/> <syscall name="setuid" number="23"/> <syscall name="getuid" number="24"/> <syscall name="stime" number="25"/> <syscall name="ptrace" number="26"/> <syscall name="alarm" number="27"/> - <syscall name="oldfstat" number="28"/> <!-- removed --> - <syscall name="pause" number="29"/> - <syscall name="utime" number="30"/> + <syscall name="oldfstat" number="28" groups="descriptor"/> <!-- removed --> + <syscall name="pause" number="29" groups="signal"/> + <syscall name="utime" number="30" groups="file"/> <syscall name="stty" number="31"/> <!-- removed --> <syscall name="gtty" number="32"/> <!-- removed --> - <syscall name="access" number="33"/> + <syscall name="access" number="33" groups="file"/> <syscall name="nice" number="34"/> <syscall name="ftime" number="35"/> <!-- removed --> <syscall name="sync" number="36"/> - <syscall name="kill" number="37"/> - <syscall name="rename" number="38"/> - <syscall name="mkdir" number="39"/> - <syscall name="rmdir" number="40"/> - <syscall name="dup" number="41"/> - <syscall name="pipe" number="42"/> + <syscall name="kill" number="37" groups="signal"/> + <syscall name="rename" number="38" groups="file"/> + <syscall name="mkdir" number="39" groups="file"/> + <syscall name="rmdir" number="40" groups="file"/> + <syscall name="dup" number="41" groups="descriptor"/> + <syscall name="pipe" number="42" groups="descriptor"/> <syscall name="times" number="43"/> <syscall name="prof" number="44"/> <!-- removed --> - <syscall name="brk" number="45"/> + <syscall name="brk" number="45" groups="memory"/> <syscall name="setgid" number="46"/> <syscall name="getgid" number="47"/> - <syscall name="signal" number="48"/> <!-- removed --> + <syscall name="signal" number="48" groups="signal"/> <!-- removed --> <syscall name="geteuid" number="49"/> <syscall name="getegid" number="50"/> - <syscall name="acct" number="51"/> - <syscall name="umount2" number="52"/> + <syscall name="acct" number="51" groups="file"/> + <syscall name="umount2" number="52" groups="file"/> <syscall name="lock" number="53"/> <!-- removed --> - <syscall name="ioctl" number="54"/> - <syscall name="fcntl" number="55"/> + <syscall name="ioctl" number="54" groups="descriptor"/> + <syscall name="fcntl" number="55" groups="descriptor"/> <syscall name="mpx" number="56"/> <!-- removed --> <syscall name="setpgid" number="57"/> <syscall name="ulimit" number="58"/> <!-- removed --> <syscall name="oldolduname" number="59"/> <!-- removed --> <syscall name="umask" number="60"/> - <syscall name="chroot" number="61"/> + <syscall name="chroot" number="61" groups="file"/> <syscall name="ustat" number="62"/> - <syscall name="dup2" number="63"/> + <syscall name="dup2" number="63" groups="descriptor"/> <syscall name="getppid" number="64"/> <syscall name="getpgrp" number="65"/> <syscall name="setsid" number="66"/> - <syscall name="sigaction" number="67"/> - <syscall name="sgetmask" number="68"/> <!-- removed --> - <syscall name="ssetmask" number="69"/> <!-- removed --> + <syscall name="sigaction" number="67" groups="signal"/> + <syscall name="sgetmask" number="68" groups="signal"/> <!-- removed --> + <syscall name="ssetmask" number="69" groups="signal"/> <!-- removed --> <syscall name="setreuid" number="70"/> <syscall name="setregid" number="71"/> - <syscall name="sigsuspend" number="72"/> - <syscall name="sigpending" number="73"/> + <syscall name="sigsuspend" number="72" groups="signal"/> + <syscall name="sigpending" number="73" groups="signal"/> <syscall name="sethostname" number="74"/> <syscall name="setrlimit" number="75"/> <syscall name="getrlimit" number="76"/> @@ -98,78 +95,78 @@ <syscall name="settimeofday" number="79"/> <syscall name="getgroups" number="80"/> <syscall name="setgroups" number="81"/> - <syscall name="select" number="82"/> - <syscall name="symlink" number="83"/> - <syscall name="oldlstat" number="84"/> <!-- removed --> - <syscall name="readlink" number="85"/> - <syscall name="uselib" number="86"/> - <syscall name="swapon" number="87"/> + <syscall name="select" number="82" groups="descriptor"/> + <syscall name="symlink" number="83" groups="file"/> + <syscall name="oldlstat" number="84" groups="file"/> <!-- removed --> + <syscall name="readlink" number="85" groups="file"/> + <syscall name="uselib" number="86" groups="file"/> + <syscall name="swapon" number="87" groups="file"/> <syscall name="reboot" number="88"/> - <syscall name="readdir" number="89"/> - <syscall name="mmap" number="90"/> - <syscall name="munmap" number="91"/> - <syscall name="truncate" number="92"/> - <syscall name="ftruncate" number="93"/> - <syscall name="fchmod" number="94"/> - <syscall name="fchown" number="95"/> + <syscall name="readdir" number="89" groups="descriptor"/> + <syscall name="mmap" number="90" groups="descriptor,memory"/> + <syscall name="munmap" number="91" groups="memory"/> + <syscall name="truncate" number="92" groups="file"/> + <syscall name="ftruncate" number="93" groups="descriptor"/> + <syscall name="fchmod" number="94" groups="descriptor"/> + <syscall name="fchown" number="95" groups="descriptor"/> <syscall name="getpriority" number="96"/> <syscall name="setpriority" number="97"/> <syscall name="profil" number="98"/> <!-- removed --> - <syscall name="statfs" number="99"/> - <syscall name="fstatfs" number="100"/> + <syscall name="statfs" number="99" groups="file"/> + <syscall name="fstatfs" number="100" groups="descriptor"/> <syscall name="ioperm" number="101"/> <!-- removed --> - <syscall name="socketcall" number="102"/> + <syscall name="socketcall" number="102" groups="descriptor"/> <syscall name="syslog" number="103"/> <syscall name="setitimer" number="104"/> <syscall name="getitimer" number="105"/> - <syscall name="stat" number="106"/> - <syscall name="lstat" number="107"/> - <syscall name="fstat" number="108"/> + <syscall name="stat" number="106" groups="file"/> + <syscall name="lstat" number="107" groups="file"/> + <syscall name="fstat" number="108" groups="descriptor"/> <syscall name="olduname" number="109"/> <!-- removed --> <syscall name="iopl" number="110"/> <!-- removed --> <syscall name="vhangup" number="111"/> <syscall name="idle" number="112"/> <!-- removed --> <syscall name="syscall" number="113"/> - <syscall name="wait4" number="114"/> - <syscall name="swapoff" number="115"/> + <syscall name="wait4" number="114" groups="process"/> + <syscall name="swapoff" number="115" groups="file"/> <syscall name="sysinfo" number="116"/> - <syscall name="ipc" number="117"/> - <syscall name="fsync" number="118"/> - <syscall name="sigreturn" number="119"/> - <syscall name="clone" number="120"/> + <syscall name="ipc" number="117" groups="ipc"/> + <syscall name="fsync" number="118" groups="descriptor"/> + <syscall name="sigreturn" number="119" groups="signal"/> + <syscall name="clone" number="120" groups="process"/> <syscall name="setdomainname" number="121"/> <syscall name="uname" number="122"/> <syscall name="modify_ldt" number="123"/> <!-- removed --> <syscall name="adjtimex" number="124"/> - <syscall name="mprotect" number="125"/> - <syscall name="sigprocmask" number="126"/> + <syscall name="mprotect" number="125" groups="memory"/> + <syscall name="sigprocmask" number="126" groups="signal"/> <syscall name="create_module" number="127"/> <!-- removed --> <syscall name="init_module" number="128"/> <syscall name="delete_module" number="129"/> <syscall name="get_kernel_syms" number="130"/> <!-- removed --> - <syscall name="quotactl" number="131"/> + <syscall name="quotactl" number="131" groups="file"/> <syscall name="getpgid" number="132"/> - <syscall name="fchdir" number="133"/> + <syscall name="fchdir" number="133" groups="descriptor"/> <syscall name="bdflush" number="134"/> <syscall name="sysfs" number="135"/> <syscall name="personality" number="136"/> <syscall name="afs_syscall" number="137"/> <!-- removed --> <syscall name="setfsuid" number="138"/> <syscall name="setfsgid" number="139"/> - <syscall name="_llseek" number="140"/> - <syscall name="getdents" number="141"/> - <syscall name="_newselect" number="142"/> - <syscall name="flock" number="143"/> - <syscall name="msync" number="144"/> - <syscall name="readv" number="145"/> - <syscall name="writev" number="146"/> + <syscall name="_llseek" number="140" groups="descriptor"/> + <syscall name="getdents" number="141" groups="descriptor"/> + <syscall name="_newselect" number="142" groups="descriptor"/> + <syscall name="flock" number="143" groups="descriptor"/> + <syscall name="msync" number="144" groups="memory"/> + <syscall name="readv" number="145" groups="descriptor"/> + <syscall name="writev" number="146" groups="descriptor"/> <syscall name="getsid" number="147"/> - <syscall name="fdatasync" number="148"/> + <syscall name="fdatasync" number="148" groups="descriptor"/> <syscall name="_sysctl" number="149"/> - <syscall name="mlock" number="150"/> - <syscall name="munlock" number="151"/> - <syscall name="mlockall" number="152"/> - <syscall name="munlockall" number="153"/> + <syscall name="mlock" number="150" groups="memory"/> + <syscall name="munlock" number="151" groups="memory"/> + <syscall name="mlockall" number="152" groups="memory"/> + <syscall name="munlockall" number="153" groups="memory"/> <syscall name="sched_setparam" number="154"/> <syscall name="sched_getparam" number="155"/> <syscall name="sched_setscheduler" number="156"/> @@ -179,40 +176,40 @@ <syscall name="sched_get_priority_min" number="160"/> <syscall name="sched_rr_get_interval" number="161"/> <syscall name="nanosleep" number="162"/> - <syscall name="mremap" number="163"/> + <syscall name="mremap" number="163" groups="memory"/> <syscall name="setresuid" number="164"/> <syscall name="getresuid" number="165"/> <syscall name="vm86" number="166"/> <!-- removed --> <syscall name="query_module" number="167"/> <!-- removed --> - <syscall name="poll" number="168"/> + <syscall name="poll" number="168" groups="descriptor"/> <syscall name="nfsservctl" number="169"/> <syscall name="setresgid" number="170"/> <syscall name="getresgid" number="171"/> <syscall name="prctl" number="172"/> - <syscall name="rt_sigreturn" number="173"/> - <syscall name="rt_sigaction" number="174"/> - <syscall name="rt_sigprocmask" number="175"/> - <syscall name="rt_sigpending" number="176"/> - <syscall name="rt_sigtimedwait" number="177"/> - <syscall name="rt_sigqueueinfo" number="178"/> - <syscall name="rt_sigsuspend" number="179"/> - <syscall name="pread64" number="180"/> - <syscall name="pwrite64" number="181"/> - <syscall name="chown" number="182"/> - <syscall name="getcwd" number="183"/> + <syscall name="rt_sigreturn" number="173" groups="signal"/> + <syscall name="rt_sigaction" number="174" groups="signal"/> + <syscall name="rt_sigprocmask" number="175" groups="signal"/> + <syscall name="rt_sigpending" number="176" groups="signal"/> + <syscall name="rt_sigtimedwait" number="177" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="178" groups="signal"/> + <syscall name="rt_sigsuspend" number="179" groups="signal"/> + <syscall name="pread64" number="180" groups="descriptor"/> + <syscall name="pwrite64" number="181" groups="descriptor"/> + <syscall name="chown" number="182" groups="file"/> + <syscall name="getcwd" number="183" groups="file"/> <syscall name="capget" number="184"/> <syscall name="capset" number="185"/> - <syscall name="sigaltstack" number="186"/> - <syscall name="sendfile" number="187"/> - <syscall name="vfork" number="190"/> + <syscall name="sigaltstack" number="186" groups="signal"/> + <syscall name="sendfile" number="187" groups="descriptor,network"/> + <syscall name="vfork" number="190" groups="process"/> <syscall name="ugetrlimit" number="191"/> - <syscall name="mmap2" number="192"/> - <syscall name="truncate64" number="193"/> - <syscall name="ftruncate64" number="194"/> - <syscall name="stat64" number="195"/> - <syscall name="lstat64" number="196"/> - <syscall name="fstat64" number="197"/> - <syscall name="lchown32" number="198"/> + <syscall name="mmap2" number="192" groups="descriptor,memory"/> + <syscall name="truncate64" number="193" groups="file"/> + <syscall name="ftruncate64" number="194" groups="descriptor"/> + <syscall name="stat64" number="195" groups="file"/> + <syscall name="lstat64" number="196" groups="file"/> + <syscall name="fstat64" number="197" groups="descriptor"/> + <syscall name="lchown32" number="198" groups="file"/> <syscall name="getuid32" number="199"/> <syscall name="getgid32" number="200"/> <syscall name="geteuid32" number="201"/> @@ -221,37 +218,37 @@ <syscall name="setregid32" number="204"/> <syscall name="getgroups32" number="205"/> <syscall name="setgroups32" number="206"/> - <syscall name="fchown32" number="207"/> + <syscall name="fchown32" number="207" groups="descriptor"/> <syscall name="setresuid32" number="208"/> <syscall name="getresuid32" number="209"/> <syscall name="setresgid32" number="210"/> <syscall name="getresgid32" number="211"/> - <syscall name="chown32" number="212"/> + <syscall name="chown32" number="212" groups="file"/> <syscall name="setuid32" number="213"/> <syscall name="setgid32" number="214"/> <syscall name="setfsuid32" number="215"/> <syscall name="setfsgid32" number="216"/> - <syscall name="getdents64" number="217"/> - <syscall name="pivot_root" number="218"/> - <syscall name="mincore" number="219"/> - <syscall name="madvise" number="220"/> - <syscall name="fcntl64" number="221"/> + <syscall name="getdents64" number="217" groups="descriptor"/> + <syscall name="pivot_root" number="218" groups="file"/> + <syscall name="mincore" number="219" groups="memory"/> + <syscall name="madvise" number="220" groups="memory"/> + <syscall name="fcntl64" number="221" groups="descriptor"/> <syscall name="gettid" number="224"/> - <syscall name="readahead" number="225"/> - <syscall name="setxattr" number="226"/> - <syscall name="lsetxattr" number="227"/> - <syscall name="fsetxattr" number="228"/> - <syscall name="getxattr" number="229"/> - <syscall name="lgetxattr" number="230"/> - <syscall name="fgetxattr" number="231"/> - <syscall name="listxattr" number="232"/> - <syscall name="llistxattr" number="233"/> - <syscall name="flistxattr" number="234"/> - <syscall name="removexattr" number="235"/> - <syscall name="lremovexattr" number="236"/> - <syscall name="fremovexattr" number="237"/> - <syscall name="tkill" number="238"/> - <syscall name="sendfile64" number="239"/> + <syscall name="readahead" number="225" groups="descriptor"/> + <syscall name="setxattr" number="226" groups="file"/> + <syscall name="lsetxattr" number="227" groups="file"/> + <syscall name="fsetxattr" number="228" groups="descriptor"/> + <syscall name="getxattr" number="229" groups="file"/> + <syscall name="lgetxattr" number="230" groups="file"/> + <syscall name="fgetxattr" number="231" groups="descriptor"/> + <syscall name="listxattr" number="232" groups="file"/> + <syscall name="llistxattr" number="233" groups="file"/> + <syscall name="flistxattr" number="234" groups="descriptor"/> + <syscall name="removexattr" number="235" groups="file"/> + <syscall name="lremovexattr" number="236" groups="file"/> + <syscall name="fremovexattr" number="237" groups="descriptor"/> + <syscall name="tkill" number="238" groups="signal"/> + <syscall name="sendfile64" number="239" groups="descriptor,network"/> <syscall name="futex" number="240"/> <syscall name="sched_setaffinity" number="241"/> <syscall name="sched_getaffinity" number="242"/> @@ -260,12 +257,12 @@ <syscall name="io_getevents" number="245"/> <syscall name="io_submit" number="246"/> <syscall name="io_cancel" number="247"/> - <syscall name="exit_group" number="248"/> + <syscall name="exit_group" number="248" groups="process"/> <syscall name="lookup_dcookie" number="249"/> - <syscall name="epoll_create" number="250"/> - <syscall name="epoll_ctl" number="251"/> - <syscall name="epoll_wait" number="252"/> - <syscall name="remap_file_pages" number="253"/> + <syscall name="epoll_create" number="250" groups="descriptor"/> + <syscall name="epoll_ctl" number="251" groups="descriptor"/> + <syscall name="epoll_wait" number="252" groups="descriptor"/> + <syscall name="remap_file_pages" number="253" groups="memory"/> <syscall name="set_tid_address" number="256"/> <syscall name="timer_create" number="257"/> <syscall name="timer_settime" number="258"/> @@ -276,10 +273,10 @@ <syscall name="clock_gettime" number="263"/> <syscall name="clock_getres" number="264"/> <syscall name="clock_nanosleep" number="265"/> - <syscall name="statfs64" number="266"/> - <syscall name="fstatfs64" number="267"/> - <syscall name="tgkill" number="268"/> - <syscall name="utimes" number="269"/> + <syscall name="statfs64" number="266" groups="file"/> + <syscall name="fstatfs64" number="267" groups="descriptor"/> + <syscall name="tgkill" number="268" groups="signal"/> + <syscall name="utimes" number="269" groups="file"/> <syscall name="arm_fadvise64_64" number="270"/> <syscall name="pciconfig_iobase" number="271"/> <syscall name="pciconfig_read" number="272"/> @@ -290,106 +287,106 @@ <syscall name="mq_timedreceive" number="277"/> <syscall name="mq_notify" number="278"/> <syscall name="mq_getsetattr" number="279"/> - <syscall name="waitid" number="280"/> - <syscall name="socket" number="281"/> - <syscall name="bind" number="282"/> - <syscall name="connect" number="283"/> - <syscall name="listen" number="284"/> - <syscall name="accept" number="285"/> - <syscall name="getsockname" number="286"/> - <syscall name="getpeername" number="287"/> - <syscall name="socketpair" number="288"/> - <syscall name="send" number="289"/> - <syscall name="sendto" number="290"/> - <syscall name="recv" number="291"/> - <syscall name="recvfrom" number="292"/> - <syscall name="shutdown" number="293"/> - <syscall name="setsockopt" number="294"/> - <syscall name="getsockopt" number="295"/> - <syscall name="sendmsg" number="296"/> - <syscall name="recvmsg" number="297"/> - <syscall name="semop" number="298"/> - <syscall name="semget" number="299"/> - <syscall name="semctl" number="300"/> - <syscall name="msgsnd" number="301"/> - <syscall name="msgrcv" number="302"/> - <syscall name="msgget" number="303"/> - <syscall name="msgctl" number="304"/> - <syscall name="shmat" number="305"/> - <syscall name="shmdt" number="306"/> - <syscall name="shmget" number="307"/> - <syscall name="shmctl" number="308"/> + <syscall name="waitid" number="280" groups="process"/> + <syscall name="socket" number="281" groups="network"/> + <syscall name="bind" number="282" groups="network"/> + <syscall name="connect" number="283" groups="network"/> + <syscall name="listen" number="284" groups="network"/> + <syscall name="accept" number="285" groups="network"/> + <syscall name="getsockname" number="286" groups="network"/> + <syscall name="getpeername" number="287" groups="network"/> + <syscall name="socketpair" number="288" groups="network"/> + <syscall name="send" number="289" groups="network"/> + <syscall name="sendto" number="290" groups="network"/> + <syscall name="recv" number="291" groups="network"/> + <syscall name="recvfrom" number="292" groups="network"/> + <syscall name="shutdown" number="293" groups="network"/> + <syscall name="setsockopt" number="294" groups="network"/> + <syscall name="getsockopt" number="295" groups="network"/> + <syscall name="sendmsg" number="296" groups="network"/> + <syscall name="recvmsg" number="297" groups="network"/> + <syscall name="semop" number="298" groups="ipc"/> + <syscall name="semget" number="299" groups="ipc"/> + <syscall name="semctl" number="300" groups="ipc"/> + <syscall name="msgsnd" number="301" groups="ipc"/> + <syscall name="msgrcv" number="302" groups="ipc"/> + <syscall name="msgget" number="303" groups="ipc"/> + <syscall name="msgctl" number="304" groups="ipc"/> + <syscall name="shmat" number="305" groups="ipc,memory"/> + <syscall name="shmdt" number="306" groups="ipc,memory"/> + <syscall name="shmget" number="307" groups="ipc"/> + <syscall name="shmctl" number="308" groups="ipc"/> <syscall name="add_key" number="309"/> <syscall name="request_key" number="310"/> <syscall name="keyctl" number="311"/> - <syscall name="semtimedop" number="312"/> + <syscall name="semtimedop" number="312" groups="ipc"/> <syscall name="vserver" number="313"/> <syscall name="ioprio_set" number="314"/> <syscall name="ioprio_get" number="315"/> - <syscall name="inotify_init" number="316"/> - <syscall name="inotify_add_watch" number="317"/> - <syscall name="inotify_rm_watch" number="318"/> - <syscall name="mbind" number="319"/> - <syscall name="get_mempolicy" number="320"/> - <syscall name="set_mempolicy" number="321"/> - <syscall name="openat" number="322"/> - <syscall name="mkdirat" number="323"/> - <syscall name="mknodat" number="324"/> - <syscall name="fchownat" number="325"/> - <syscall name="futimesat" number="326"/> - <syscall name="fstatat64" number="327"/> - <syscall name="unlinkat" number="328"/> - <syscall name="renameat" number="329"/> - <syscall name="linkat" number="330"/> - <syscall name="symlinkat" number="331"/> - <syscall name="readlinkat" number="332"/> - <syscall name="fchmodat" number="333"/> - <syscall name="faccessat" number="334"/> - <syscall name="pselect6" number="335"/> - <syscall name="ppoll" number="336"/> - <syscall name="unshare" number="337"/> + <syscall name="inotify_init" number="316" groups="descriptor"/> + <syscall name="inotify_add_watch" number="317" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="318" groups="descriptor"/> + <syscall name="mbind" number="319" groups="memory"/> + <syscall name="get_mempolicy" number="320" groups="memory"/> + <syscall name="set_mempolicy" number="321" groups="memory"/> + <syscall name="openat" number="322" groups="descriptor,file"/> + <syscall name="mkdirat" number="323" groups="descriptor,file"/> + <syscall name="mknodat" number="324" groups="descriptor,file"/> + <syscall name="fchownat" number="325" groups="descriptor,file"/> + <syscall name="futimesat" number="326" groups="descriptor,file"/> + <syscall name="fstatat64" number="327" groups="descriptor,file"/> + <syscall name="unlinkat" number="328" groups="descriptor,file"/> + <syscall name="renameat" number="329" groups="descriptor,file"/> + <syscall name="linkat" number="330" groups="descriptor,file"/> + <syscall name="symlinkat" number="331" groups="descriptor,file"/> + <syscall name="readlinkat" number="332" groups="descriptor,file"/> + <syscall name="fchmodat" number="333" groups="descriptor,file"/> + <syscall name="faccessat" number="334" groups="descriptor,file"/> + <syscall name="pselect6" number="335" groups="descriptor"/> + <syscall name="ppoll" number="336" groups="descriptor"/> + <syscall name="unshare" number="337" groups="process"/> <syscall name="set_robust_list" number="338"/> <syscall name="get_robust_list" number="339"/> - <syscall name="splice" number="340"/> + <syscall name="splice" number="340" groups="descriptor"/> <syscall name="arm_sync_file_range" number="341"/> - <syscall name="tee" number="342"/> - <syscall name="vmsplice" number="343"/> - <syscall name="move_pages" number="344"/> + <syscall name="tee" number="342" groups="descriptor"/> + <syscall name="vmsplice" number="343" groups="descriptor"/> + <syscall name="move_pages" number="344" groups="memory"/> <syscall name="getcpu" number="345"/> - <syscall name="epoll_pwait" number="346"/> + <syscall name="epoll_pwait" number="346" groups="descriptor"/> <syscall name="kexec_load" number="347"/> - <syscall name="utimensat" number="348"/> - <syscall name="signalfd" number="349"/> - <syscall name="timerfd_create" number="350"/> - <syscall name="eventfd" number="351"/> - <syscall name="fallocate" number="352"/> - <syscall name="timerfd_settime" number="353"/> - <syscall name="timerfd_gettime" number="354"/> - <syscall name="signalfd4" number="355"/> - <syscall name="eventfd2" number="356"/> - <syscall name="epoll_create1" number="357"/> - <syscall name="dup3" number="358"/> - <syscall name="pipe2" number="359"/> - <syscall name="inotify_init1" number="360"/> - <syscall name="preadv" number="361"/> - <syscall name="pwritev" number="362"/> - <syscall name="rt_tgsigqueueinfo" number="363"/> - <syscall name="perf_event_open" number="364"/> - <syscall name="recvmmsg" number="365"/> - <syscall name="accept4" number="366"/> - <syscall name="fanotify_init" number="367"/> - <syscall name="fanotify_mark" number="368"/> + <syscall name="utimensat" number="348" groups="descriptor,file"/> + <syscall name="signalfd" number="349" groups="descriptor,signal"/> + <syscall name="timerfd_create" number="350" groups="descriptor"/> + <syscall name="eventfd" number="351" groups="descriptor"/> + <syscall name="fallocate" number="352" groups="descriptor"/> + <syscall name="timerfd_settime" number="353" groups="descriptor"/> + <syscall name="timerfd_gettime" number="354" groups="descriptor"/> + <syscall name="signalfd4" number="355" groups="descriptor,signal"/> + <syscall name="eventfd2" number="356" groups="descriptor"/> + <syscall name="epoll_create1" number="357" groups="descriptor"/> + <syscall name="dup3" number="358" groups="descriptor"/> + <syscall name="pipe2" number="359" groups="descriptor"/> + <syscall name="inotify_init1" number="360" groups="descriptor"/> + <syscall name="preadv" number="361" groups="descriptor"/> + <syscall name="pwritev" number="362" groups="descriptor"/> + <syscall name="rt_tgsigqueueinfo" number="363" groups="process,signal"/> + <syscall name="perf_event_open" number="364" groups="descriptor"/> + <syscall name="recvmmsg" number="365" groups="network"/> + <syscall name="accept4" number="366" groups="network"/> + <syscall name="fanotify_init" number="367" groups="descriptor"/> + <syscall name="fanotify_mark" number="368" groups="descriptor,file"/> <syscall name="prlimit64" number="369"/> - <syscall name="name_to_handle_at" number="370"/> - <syscall name="open_by_handle_at" number="371"/> + <syscall name="name_to_handle_at" number="370" groups="descriptor,file"/> + <syscall name="open_by_handle_at" number="371" groups="descriptor"/> <syscall name="clock_adjtime" number="372"/> - <syscall name="syncfs" number="373"/> - <syscall name="sendmmsg" number="374"/> - <syscall name="setns" number="375"/> + <syscall name="syncfs" number="373" groups="descriptor"/> + <syscall name="sendmmsg" number="374" groups="network"/> + <syscall name="setns" number="375" groups="descriptor"/> <syscall name="process_vm_readv" number="376"/> <syscall name="process_vm_writev" number="377"/> <syscall name="kcmp" number="378"/> - <syscall name="finit_module" number="379"/> + <syscall name="finit_module" number="379" groups="descriptor"/> <syscall name="ARM_breakpoint" number="983041"/> <syscall name="ARM_cacheflush" number="983042"/> <syscall name="ARM_usr26" number="983043"/> diff --git a/gdb/syscalls/arm-linux.xml.in b/gdb/syscalls/arm-linux.xml.in new file mode 100644 index 0000000..c0a456b --- /dev/null +++ b/gdb/syscalls/arm-linux.xml.in @@ -0,0 +1,398 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. This file is offered as-is, + without any warranty. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + linux/arch/arm/include/uapi/asm/unistd.h + + The file mentioned above belongs to the Linux Kernel. + Some small hand-edits were made. --> + +<syscalls_info> + <syscall name="restart_syscall" number="0"/> + <syscall name="exit" number="1"/> + <syscall name="fork" number="2"/> + <syscall name="read" number="3"/> + <syscall name="write" number="4"/> + <syscall name="open" number="5"/> + <syscall name="close" number="6"/> + <syscall name="waitpid" number="7"/> <!-- removed --> + <syscall name="creat" number="8"/> + <syscall name="link" number="9"/> + <syscall name="unlink" number="10"/> + <syscall name="execve" number="11"/> + <syscall name="chdir" number="12"/> + <syscall name="time" number="13"/> + <syscall name="mknod" number="14"/> + <syscall name="chmod" number="15"/> + <syscall name="lchown" number="16"/> + <syscall name="break" number="17"/> <!-- removed --> + <syscall name="oldstat" number="18"/> <!-- removed --> + <syscall name="lseek" number="19"/> + <syscall name="getpid" number="20"/> + <syscall name="mount" number="21"/> + <syscall name="umount" number="22"/> + <syscall name="setuid" number="23"/> + <syscall name="getuid" number="24"/> + <syscall name="stime" number="25"/> + <syscall name="ptrace" number="26"/> + <syscall name="alarm" number="27"/> + <syscall name="oldfstat" number="28"/> <!-- removed --> + <syscall name="pause" number="29"/> + <syscall name="utime" number="30"/> + <syscall name="stty" number="31"/> <!-- removed --> + <syscall name="gtty" number="32"/> <!-- removed --> + <syscall name="access" number="33"/> + <syscall name="nice" number="34"/> + <syscall name="ftime" number="35"/> <!-- removed --> + <syscall name="sync" number="36"/> + <syscall name="kill" number="37"/> + <syscall name="rename" number="38"/> + <syscall name="mkdir" number="39"/> + <syscall name="rmdir" number="40"/> + <syscall name="dup" number="41"/> + <syscall name="pipe" number="42"/> + <syscall name="times" number="43"/> + <syscall name="prof" number="44"/> <!-- removed --> + <syscall name="brk" number="45"/> + <syscall name="setgid" number="46"/> + <syscall name="getgid" number="47"/> + <syscall name="signal" number="48"/> <!-- removed --> + <syscall name="geteuid" number="49"/> + <syscall name="getegid" number="50"/> + <syscall name="acct" number="51"/> + <syscall name="umount2" number="52"/> + <syscall name="lock" number="53"/> <!-- removed --> + <syscall name="ioctl" number="54"/> + <syscall name="fcntl" number="55"/> + <syscall name="mpx" number="56"/> <!-- removed --> + <syscall name="setpgid" number="57"/> + <syscall name="ulimit" number="58"/> <!-- removed --> + <syscall name="oldolduname" number="59"/> <!-- removed --> + <syscall name="umask" number="60"/> + <syscall name="chroot" number="61"/> + <syscall name="ustat" number="62"/> + <syscall name="dup2" number="63"/> + <syscall name="getppid" number="64"/> + <syscall name="getpgrp" number="65"/> + <syscall name="setsid" number="66"/> + <syscall name="sigaction" number="67"/> + <syscall name="sgetmask" number="68"/> <!-- removed --> + <syscall name="ssetmask" number="69"/> <!-- removed --> + <syscall name="setreuid" number="70"/> + <syscall name="setregid" number="71"/> + <syscall name="sigsuspend" number="72"/> + <syscall name="sigpending" number="73"/> + <syscall name="sethostname" number="74"/> + <syscall name="setrlimit" number="75"/> + <syscall name="getrlimit" number="76"/> + <syscall name="getrusage" number="77"/> + <syscall name="gettimeofday" number="78"/> + <syscall name="settimeofday" number="79"/> + <syscall name="getgroups" number="80"/> + <syscall name="setgroups" number="81"/> + <syscall name="select" number="82"/> + <syscall name="symlink" number="83"/> + <syscall name="oldlstat" number="84"/> <!-- removed --> + <syscall name="readlink" number="85"/> + <syscall name="uselib" number="86"/> + <syscall name="swapon" number="87"/> + <syscall name="reboot" number="88"/> + <syscall name="readdir" number="89"/> + <syscall name="mmap" number="90"/> + <syscall name="munmap" number="91"/> + <syscall name="truncate" number="92"/> + <syscall name="ftruncate" number="93"/> + <syscall name="fchmod" number="94"/> + <syscall name="fchown" number="95"/> + <syscall name="getpriority" number="96"/> + <syscall name="setpriority" number="97"/> + <syscall name="profil" number="98"/> <!-- removed --> + <syscall name="statfs" number="99"/> + <syscall name="fstatfs" number="100"/> + <syscall name="ioperm" number="101"/> <!-- removed --> + <syscall name="socketcall" number="102"/> + <syscall name="syslog" number="103"/> + <syscall name="setitimer" number="104"/> + <syscall name="getitimer" number="105"/> + <syscall name="stat" number="106"/> + <syscall name="lstat" number="107"/> + <syscall name="fstat" number="108"/> + <syscall name="olduname" number="109"/> <!-- removed --> + <syscall name="iopl" number="110"/> <!-- removed --> + <syscall name="vhangup" number="111"/> + <syscall name="idle" number="112"/> <!-- removed --> + <syscall name="syscall" number="113"/> + <syscall name="wait4" number="114"/> + <syscall name="swapoff" number="115"/> + <syscall name="sysinfo" number="116"/> + <syscall name="ipc" number="117"/> + <syscall name="fsync" number="118"/> + <syscall name="sigreturn" number="119"/> + <syscall name="clone" number="120"/> + <syscall name="setdomainname" number="121"/> + <syscall name="uname" number="122"/> + <syscall name="modify_ldt" number="123"/> <!-- removed --> + <syscall name="adjtimex" number="124"/> + <syscall name="mprotect" number="125"/> + <syscall name="sigprocmask" number="126"/> + <syscall name="create_module" number="127"/> <!-- removed --> + <syscall name="init_module" number="128"/> + <syscall name="delete_module" number="129"/> + <syscall name="get_kernel_syms" number="130"/> <!-- removed --> + <syscall name="quotactl" number="131"/> + <syscall name="getpgid" number="132"/> + <syscall name="fchdir" number="133"/> + <syscall name="bdflush" number="134"/> + <syscall name="sysfs" number="135"/> + <syscall name="personality" number="136"/> + <syscall name="afs_syscall" number="137"/> <!-- removed --> + <syscall name="setfsuid" number="138"/> + <syscall name="setfsgid" number="139"/> + <syscall name="_llseek" number="140"/> + <syscall name="getdents" number="141"/> + <syscall name="_newselect" number="142"/> + <syscall name="flock" number="143"/> + <syscall name="msync" number="144"/> + <syscall name="readv" number="145"/> + <syscall name="writev" number="146"/> + <syscall name="getsid" number="147"/> + <syscall name="fdatasync" number="148"/> + <syscall name="_sysctl" number="149"/> + <syscall name="mlock" number="150"/> + <syscall name="munlock" number="151"/> + <syscall name="mlockall" number="152"/> + <syscall name="munlockall" number="153"/> + <syscall name="sched_setparam" number="154"/> + <syscall name="sched_getparam" number="155"/> + <syscall name="sched_setscheduler" number="156"/> + <syscall name="sched_getscheduler" number="157"/> + <syscall name="sched_yield" number="158"/> + <syscall name="sched_get_priority_max" number="159"/> + <syscall name="sched_get_priority_min" number="160"/> + <syscall name="sched_rr_get_interval" number="161"/> + <syscall name="nanosleep" number="162"/> + <syscall name="mremap" number="163"/> + <syscall name="setresuid" number="164"/> + <syscall name="getresuid" number="165"/> + <syscall name="vm86" number="166"/> <!-- removed --> + <syscall name="query_module" number="167"/> <!-- removed --> + <syscall name="poll" number="168"/> + <syscall name="nfsservctl" number="169"/> + <syscall name="setresgid" number="170"/> + <syscall name="getresgid" number="171"/> + <syscall name="prctl" number="172"/> + <syscall name="rt_sigreturn" number="173"/> + <syscall name="rt_sigaction" number="174"/> + <syscall name="rt_sigprocmask" number="175"/> + <syscall name="rt_sigpending" number="176"/> + <syscall name="rt_sigtimedwait" number="177"/> + <syscall name="rt_sigqueueinfo" number="178"/> + <syscall name="rt_sigsuspend" number="179"/> + <syscall name="pread64" number="180"/> + <syscall name="pwrite64" number="181"/> + <syscall name="chown" number="182"/> + <syscall name="getcwd" number="183"/> + <syscall name="capget" number="184"/> + <syscall name="capset" number="185"/> + <syscall name="sigaltstack" number="186"/> + <syscall name="sendfile" number="187"/> + <syscall name="vfork" number="190"/> + <syscall name="ugetrlimit" number="191"/> + <syscall name="mmap2" number="192"/> + <syscall name="truncate64" number="193"/> + <syscall name="ftruncate64" number="194"/> + <syscall name="stat64" number="195"/> + <syscall name="lstat64" number="196"/> + <syscall name="fstat64" number="197"/> + <syscall name="lchown32" number="198"/> + <syscall name="getuid32" number="199"/> + <syscall name="getgid32" number="200"/> + <syscall name="geteuid32" number="201"/> + <syscall name="getegid32" number="202"/> + <syscall name="setreuid32" number="203"/> + <syscall name="setregid32" number="204"/> + <syscall name="getgroups32" number="205"/> + <syscall name="setgroups32" number="206"/> + <syscall name="fchown32" number="207"/> + <syscall name="setresuid32" number="208"/> + <syscall name="getresuid32" number="209"/> + <syscall name="setresgid32" number="210"/> + <syscall name="getresgid32" number="211"/> + <syscall name="chown32" number="212"/> + <syscall name="setuid32" number="213"/> + <syscall name="setgid32" number="214"/> + <syscall name="setfsuid32" number="215"/> + <syscall name="setfsgid32" number="216"/> + <syscall name="getdents64" number="217"/> + <syscall name="pivot_root" number="218"/> + <syscall name="mincore" number="219"/> + <syscall name="madvise" number="220"/> + <syscall name="fcntl64" number="221"/> + <syscall name="gettid" number="224"/> + <syscall name="readahead" number="225"/> + <syscall name="setxattr" number="226"/> + <syscall name="lsetxattr" number="227"/> + <syscall name="fsetxattr" number="228"/> + <syscall name="getxattr" number="229"/> + <syscall name="lgetxattr" number="230"/> + <syscall name="fgetxattr" number="231"/> + <syscall name="listxattr" number="232"/> + <syscall name="llistxattr" number="233"/> + <syscall name="flistxattr" number="234"/> + <syscall name="removexattr" number="235"/> + <syscall name="lremovexattr" number="236"/> + <syscall name="fremovexattr" number="237"/> + <syscall name="tkill" number="238"/> + <syscall name="sendfile64" number="239"/> + <syscall name="futex" number="240"/> + <syscall name="sched_setaffinity" number="241"/> + <syscall name="sched_getaffinity" number="242"/> + <syscall name="io_setup" number="243"/> + <syscall name="io_destroy" number="244"/> + <syscall name="io_getevents" number="245"/> + <syscall name="io_submit" number="246"/> + <syscall name="io_cancel" number="247"/> + <syscall name="exit_group" number="248"/> + <syscall name="lookup_dcookie" number="249"/> + <syscall name="epoll_create" number="250"/> + <syscall name="epoll_ctl" number="251"/> + <syscall name="epoll_wait" number="252"/> + <syscall name="remap_file_pages" number="253"/> + <syscall name="set_tid_address" number="256"/> + <syscall name="timer_create" number="257"/> + <syscall name="timer_settime" number="258"/> + <syscall name="timer_gettime" number="259"/> + <syscall name="timer_getoverrun" number="260"/> + <syscall name="timer_delete" number="261"/> + <syscall name="clock_settime" number="262"/> + <syscall name="clock_gettime" number="263"/> + <syscall name="clock_getres" number="264"/> + <syscall name="clock_nanosleep" number="265"/> + <syscall name="statfs64" number="266"/> + <syscall name="fstatfs64" number="267"/> + <syscall name="tgkill" number="268"/> + <syscall name="utimes" number="269"/> + <syscall name="arm_fadvise64_64" number="270"/> + <syscall name="pciconfig_iobase" number="271"/> + <syscall name="pciconfig_read" number="272"/> + <syscall name="pciconfig_write" number="273"/> + <syscall name="mq_open" number="274"/> + <syscall name="mq_unlink" number="275"/> + <syscall name="mq_timedsend" number="276"/> + <syscall name="mq_timedreceive" number="277"/> + <syscall name="mq_notify" number="278"/> + <syscall name="mq_getsetattr" number="279"/> + <syscall name="waitid" number="280"/> + <syscall name="socket" number="281"/> + <syscall name="bind" number="282"/> + <syscall name="connect" number="283"/> + <syscall name="listen" number="284"/> + <syscall name="accept" number="285"/> + <syscall name="getsockname" number="286"/> + <syscall name="getpeername" number="287"/> + <syscall name="socketpair" number="288"/> + <syscall name="send" number="289"/> + <syscall name="sendto" number="290"/> + <syscall name="recv" number="291"/> + <syscall name="recvfrom" number="292"/> + <syscall name="shutdown" number="293"/> + <syscall name="setsockopt" number="294"/> + <syscall name="getsockopt" number="295"/> + <syscall name="sendmsg" number="296"/> + <syscall name="recvmsg" number="297"/> + <syscall name="semop" number="298"/> + <syscall name="semget" number="299"/> + <syscall name="semctl" number="300"/> + <syscall name="msgsnd" number="301"/> + <syscall name="msgrcv" number="302"/> + <syscall name="msgget" number="303"/> + <syscall name="msgctl" number="304"/> + <syscall name="shmat" number="305"/> + <syscall name="shmdt" number="306"/> + <syscall name="shmget" number="307"/> + <syscall name="shmctl" number="308"/> + <syscall name="add_key" number="309"/> + <syscall name="request_key" number="310"/> + <syscall name="keyctl" number="311"/> + <syscall name="semtimedop" number="312"/> + <syscall name="vserver" number="313"/> + <syscall name="ioprio_set" number="314"/> + <syscall name="ioprio_get" number="315"/> + <syscall name="inotify_init" number="316"/> + <syscall name="inotify_add_watch" number="317"/> + <syscall name="inotify_rm_watch" number="318"/> + <syscall name="mbind" number="319"/> + <syscall name="get_mempolicy" number="320"/> + <syscall name="set_mempolicy" number="321"/> + <syscall name="openat" number="322"/> + <syscall name="mkdirat" number="323"/> + <syscall name="mknodat" number="324"/> + <syscall name="fchownat" number="325"/> + <syscall name="futimesat" number="326"/> + <syscall name="fstatat64" number="327"/> + <syscall name="unlinkat" number="328"/> + <syscall name="renameat" number="329"/> + <syscall name="linkat" number="330"/> + <syscall name="symlinkat" number="331"/> + <syscall name="readlinkat" number="332"/> + <syscall name="fchmodat" number="333"/> + <syscall name="faccessat" number="334"/> + <syscall name="pselect6" number="335"/> + <syscall name="ppoll" number="336"/> + <syscall name="unshare" number="337"/> + <syscall name="set_robust_list" number="338"/> + <syscall name="get_robust_list" number="339"/> + <syscall name="splice" number="340"/> + <syscall name="arm_sync_file_range" number="341"/> + <syscall name="tee" number="342"/> + <syscall name="vmsplice" number="343"/> + <syscall name="move_pages" number="344"/> + <syscall name="getcpu" number="345"/> + <syscall name="epoll_pwait" number="346"/> + <syscall name="kexec_load" number="347"/> + <syscall name="utimensat" number="348"/> + <syscall name="signalfd" number="349"/> + <syscall name="timerfd_create" number="350"/> + <syscall name="eventfd" number="351"/> + <syscall name="fallocate" number="352"/> + <syscall name="timerfd_settime" number="353"/> + <syscall name="timerfd_gettime" number="354"/> + <syscall name="signalfd4" number="355"/> + <syscall name="eventfd2" number="356"/> + <syscall name="epoll_create1" number="357"/> + <syscall name="dup3" number="358"/> + <syscall name="pipe2" number="359"/> + <syscall name="inotify_init1" number="360"/> + <syscall name="preadv" number="361"/> + <syscall name="pwritev" number="362"/> + <syscall name="rt_tgsigqueueinfo" number="363"/> + <syscall name="perf_event_open" number="364"/> + <syscall name="recvmmsg" number="365"/> + <syscall name="accept4" number="366"/> + <syscall name="fanotify_init" number="367"/> + <syscall name="fanotify_mark" number="368"/> + <syscall name="prlimit64" number="369"/> + <syscall name="name_to_handle_at" number="370"/> + <syscall name="open_by_handle_at" number="371"/> + <syscall name="clock_adjtime" number="372"/> + <syscall name="syncfs" number="373"/> + <syscall name="sendmmsg" number="374"/> + <syscall name="setns" number="375"/> + <syscall name="process_vm_readv" number="376"/> + <syscall name="process_vm_writev" number="377"/> + <syscall name="kcmp" number="378"/> + <syscall name="finit_module" number="379"/> + <syscall name="ARM_breakpoint" number="983041"/> + <syscall name="ARM_cacheflush" number="983042"/> + <syscall name="ARM_usr26" number="983043"/> + <syscall name="ARM_usr32" number="983044"/> + <syscall name="ARM_set_tls" number="983045"/> +</syscalls_info> diff --git a/gdb/syscalls/bfin-linux.xml b/gdb/syscalls/bfin-linux.xml.in index 448c696..448c696 100644 --- a/gdb/syscalls/bfin-linux.xml +++ b/gdb/syscalls/bfin-linux.xml.in diff --git a/gdb/syscalls/gdb-syscalls.dtd b/gdb/syscalls/gdb-syscalls.dtd index 3deda12..de47d4d 100644 --- a/gdb/syscalls/gdb-syscalls.dtd +++ b/gdb/syscalls/gdb-syscalls.dtd @@ -11,4 +11,5 @@ <!ELEMENT syscall EMPTY> <!ATTLIST syscall name CDATA #REQUIRED - number CDATA #REQUIRED> + number CDATA #REQUIRED + groups CDATA #IMPLIED> diff --git a/gdb/syscalls/i386-linux.xml b/gdb/syscalls/i386-linux.xml index aab03ec..51330c4 100644 --- a/gdb/syscalls/i386-linux.xml +++ b/gdb/syscalls/i386-linux.xml @@ -1,93 +1,90 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: /usr/src/linux/arch/x86/include/asm/unistd_32.h The file mentioned above belongs to the Linux Kernel. --> - <syscalls_info> <syscall name="restart_syscall" number="0"/> - <syscall name="exit" number="1"/> - <syscall name="fork" number="2"/> - <syscall name="read" number="3"/> - <syscall name="write" number="4"/> - <syscall name="open" number="5"/> - <syscall name="close" number="6"/> - <syscall name="waitpid" number="7"/> - <syscall name="creat" number="8"/> - <syscall name="link" number="9"/> - <syscall name="unlink" number="10"/> - <syscall name="execve" number="11"/> - <syscall name="chdir" number="12"/> + <syscall name="exit" number="1" groups="process"/> + <syscall name="fork" number="2" groups="process"/> + <syscall name="read" number="3" groups="descriptor"/> + <syscall name="write" number="4" groups="descriptor"/> + <syscall name="open" number="5" groups="descriptor,file"/> + <syscall name="close" number="6" groups="descriptor"/> + <syscall name="waitpid" number="7" groups="process"/> + <syscall name="creat" number="8" groups="descriptor,file"/> + <syscall name="link" number="9" groups="file"/> + <syscall name="unlink" number="10" groups="file"/> + <syscall name="execve" number="11" groups="file,process"/> + <syscall name="chdir" number="12" groups="file"/> <syscall name="time" number="13"/> - <syscall name="mknod" number="14"/> - <syscall name="chmod" number="15"/> - <syscall name="lchown" number="16"/> - <syscall name="break" number="17"/> - <syscall name="oldstat" number="18"/> - <syscall name="lseek" number="19"/> + <syscall name="mknod" number="14" groups="file"/> + <syscall name="chmod" number="15" groups="file"/> + <syscall name="lchown" number="16" groups="file"/> + <syscall name="break" number="17" groups="memory"/> + <syscall name="oldstat" number="18" groups="file"/> + <syscall name="lseek" number="19" groups="descriptor"/> <syscall name="getpid" number="20"/> - <syscall name="mount" number="21"/> - <syscall name="umount" number="22"/> + <syscall name="mount" number="21" groups="file"/> + <syscall name="umount" number="22" groups="file"/> <syscall name="setuid" number="23"/> <syscall name="getuid" number="24"/> <syscall name="stime" number="25"/> <syscall name="ptrace" number="26"/> <syscall name="alarm" number="27"/> - <syscall name="oldfstat" number="28"/> - <syscall name="pause" number="29"/> - <syscall name="utime" number="30"/> + <syscall name="oldfstat" number="28" groups="descriptor"/> + <syscall name="pause" number="29" groups="signal"/> + <syscall name="utime" number="30" groups="file"/> <syscall name="stty" number="31"/> <syscall name="gtty" number="32"/> - <syscall name="access" number="33"/> + <syscall name="access" number="33" groups="file"/> <syscall name="nice" number="34"/> <syscall name="ftime" number="35"/> <syscall name="sync" number="36"/> - <syscall name="kill" number="37"/> - <syscall name="rename" number="38"/> - <syscall name="mkdir" number="39"/> - <syscall name="rmdir" number="40"/> - <syscall name="dup" number="41"/> - <syscall name="pipe" number="42"/> + <syscall name="kill" number="37" groups="signal"/> + <syscall name="rename" number="38" groups="file"/> + <syscall name="mkdir" number="39" groups="file"/> + <syscall name="rmdir" number="40" groups="file"/> + <syscall name="dup" number="41" groups="descriptor"/> + <syscall name="pipe" number="42" groups="descriptor"/> <syscall name="times" number="43"/> <syscall name="prof" number="44"/> - <syscall name="brk" number="45"/> + <syscall name="brk" number="45" groups="memory"/> <syscall name="setgid" number="46"/> <syscall name="getgid" number="47"/> - <syscall name="signal" number="48"/> + <syscall name="signal" number="48" groups="signal"/> <syscall name="geteuid" number="49"/> <syscall name="getegid" number="50"/> - <syscall name="acct" number="51"/> - <syscall name="umount2" number="52"/> + <syscall name="acct" number="51" groups="file"/> + <syscall name="umount2" number="52" groups="file"/> <syscall name="lock" number="53"/> - <syscall name="ioctl" number="54"/> - <syscall name="fcntl" number="55"/> + <syscall name="ioctl" number="54" groups="descriptor"/> + <syscall name="fcntl" number="55" groups="descriptor"/> <syscall name="mpx" number="56"/> <syscall name="setpgid" number="57"/> <syscall name="ulimit" number="58"/> <syscall name="oldolduname" number="59"/> <syscall name="umask" number="60"/> - <syscall name="chroot" number="61"/> + <syscall name="chroot" number="61" groups="file"/> <syscall name="ustat" number="62"/> - <syscall name="dup2" number="63"/> + <syscall name="dup2" number="63" groups="descriptor"/> <syscall name="getppid" number="64"/> <syscall name="getpgrp" number="65"/> <syscall name="setsid" number="66"/> - <syscall name="sigaction" number="67"/> - <syscall name="sgetmask" number="68"/> - <syscall name="ssetmask" number="69"/> + <syscall name="sigaction" number="67" groups="signal"/> + <syscall name="sgetmask" number="68" groups="signal"/> + <syscall name="ssetmask" number="69" groups="signal"/> <syscall name="setreuid" number="70"/> <syscall name="setregid" number="71"/> - <syscall name="sigsuspend" number="72"/> - <syscall name="sigpending" number="73"/> + <syscall name="sigsuspend" number="72" groups="signal"/> + <syscall name="sigpending" number="73" groups="signal"/> <syscall name="sethostname" number="74"/> <syscall name="setrlimit" number="75"/> <syscall name="getrlimit" number="76"/> @@ -96,78 +93,78 @@ <syscall name="settimeofday" number="79"/> <syscall name="getgroups" number="80"/> <syscall name="setgroups" number="81"/> - <syscall name="select" number="82"/> - <syscall name="symlink" number="83"/> - <syscall name="oldlstat" number="84"/> - <syscall name="readlink" number="85"/> - <syscall name="uselib" number="86"/> - <syscall name="swapon" number="87"/> + <syscall name="select" number="82" groups="descriptor"/> + <syscall name="symlink" number="83" groups="file"/> + <syscall name="oldlstat" number="84" groups="file"/> + <syscall name="readlink" number="85" groups="file"/> + <syscall name="uselib" number="86" groups="file"/> + <syscall name="swapon" number="87" groups="file"/> <syscall name="reboot" number="88"/> - <syscall name="readdir" number="89"/> - <syscall name="mmap" number="90"/> - <syscall name="munmap" number="91"/> - <syscall name="truncate" number="92"/> - <syscall name="ftruncate" number="93"/> - <syscall name="fchmod" number="94"/> - <syscall name="fchown" number="95"/> + <syscall name="readdir" number="89" groups="descriptor"/> + <syscall name="mmap" number="90" groups="descriptor,memory"/> + <syscall name="munmap" number="91" groups="memory"/> + <syscall name="truncate" number="92" groups="file"/> + <syscall name="ftruncate" number="93" groups="descriptor"/> + <syscall name="fchmod" number="94" groups="descriptor"/> + <syscall name="fchown" number="95" groups="descriptor"/> <syscall name="getpriority" number="96"/> <syscall name="setpriority" number="97"/> <syscall name="profil" number="98"/> - <syscall name="statfs" number="99"/> - <syscall name="fstatfs" number="100"/> + <syscall name="statfs" number="99" groups="file"/> + <syscall name="fstatfs" number="100" groups="descriptor"/> <syscall name="ioperm" number="101"/> - <syscall name="socketcall" number="102"/> + <syscall name="socketcall" number="102" groups="descriptor"/> <syscall name="syslog" number="103"/> <syscall name="setitimer" number="104"/> <syscall name="getitimer" number="105"/> - <syscall name="stat" number="106"/> - <syscall name="lstat" number="107"/> - <syscall name="fstat" number="108"/> + <syscall name="stat" number="106" groups="file"/> + <syscall name="lstat" number="107" groups="file"/> + <syscall name="fstat" number="108" groups="descriptor"/> <syscall name="olduname" number="109"/> <syscall name="iopl" number="110"/> <syscall name="vhangup" number="111"/> <syscall name="idle" number="112"/> <syscall name="vm86old" number="113"/> - <syscall name="wait4" number="114"/> - <syscall name="swapoff" number="115"/> + <syscall name="wait4" number="114" groups="process"/> + <syscall name="swapoff" number="115" groups="file"/> <syscall name="sysinfo" number="116"/> - <syscall name="ipc" number="117"/> - <syscall name="fsync" number="118"/> - <syscall name="sigreturn" number="119"/> - <syscall name="clone" number="120"/> + <syscall name="ipc" number="117" groups="ipc"/> + <syscall name="fsync" number="118" groups="descriptor"/> + <syscall name="sigreturn" number="119" groups="signal"/> + <syscall name="clone" number="120" groups="process"/> <syscall name="setdomainname" number="121"/> <syscall name="uname" number="122"/> <syscall name="modify_ldt" number="123"/> <syscall name="adjtimex" number="124"/> - <syscall name="mprotect" number="125"/> - <syscall name="sigprocmask" number="126"/> + <syscall name="mprotect" number="125" groups="memory"/> + <syscall name="sigprocmask" number="126" groups="signal"/> <syscall name="create_module" number="127"/> <syscall name="init_module" number="128"/> <syscall name="delete_module" number="129"/> <syscall name="get_kernel_syms" number="130"/> - <syscall name="quotactl" number="131"/> + <syscall name="quotactl" number="131" groups="file"/> <syscall name="getpgid" number="132"/> - <syscall name="fchdir" number="133"/> + <syscall name="fchdir" number="133" groups="descriptor"/> <syscall name="bdflush" number="134"/> <syscall name="sysfs" number="135"/> <syscall name="personality" number="136"/> <syscall name="afs_syscall" number="137"/> <syscall name="setfsuid" number="138"/> <syscall name="setfsgid" number="139"/> - <syscall name="_llseek" number="140"/> - <syscall name="getdents" number="141"/> - <syscall name="_newselect" number="142"/> - <syscall name="flock" number="143"/> - <syscall name="msync" number="144"/> - <syscall name="readv" number="145"/> - <syscall name="writev" number="146"/> + <syscall name="_llseek" number="140" groups="descriptor"/> + <syscall name="getdents" number="141" groups="descriptor"/> + <syscall name="_newselect" number="142" groups="descriptor"/> + <syscall name="flock" number="143" groups="descriptor"/> + <syscall name="msync" number="144" groups="memory"/> + <syscall name="readv" number="145" groups="descriptor"/> + <syscall name="writev" number="146" groups="descriptor"/> <syscall name="getsid" number="147"/> - <syscall name="fdatasync" number="148"/> + <syscall name="fdatasync" number="148" groups="descriptor"/> <syscall name="_sysctl" number="149"/> - <syscall name="mlock" number="150"/> - <syscall name="munlock" number="151"/> - <syscall name="mlockall" number="152"/> - <syscall name="munlockall" number="153"/> + <syscall name="mlock" number="150" groups="memory"/> + <syscall name="munlock" number="151" groups="memory"/> + <syscall name="mlockall" number="152" groups="memory"/> + <syscall name="munlockall" number="153" groups="memory"/> <syscall name="sched_setparam" number="154"/> <syscall name="sched_getparam" number="155"/> <syscall name="sched_setscheduler" number="156"/> @@ -177,42 +174,42 @@ <syscall name="sched_get_priority_min" number="160"/> <syscall name="sched_rr_get_interval" number="161"/> <syscall name="nanosleep" number="162"/> - <syscall name="mremap" number="163"/> + <syscall name="mremap" number="163" groups="memory"/> <syscall name="setresuid" number="164"/> <syscall name="getresuid" number="165"/> <syscall name="vm86" number="166"/> <syscall name="query_module" number="167"/> - <syscall name="poll" number="168"/> + <syscall name="poll" number="168" groups="descriptor"/> <syscall name="nfsservctl" number="169"/> <syscall name="setresgid" number="170"/> <syscall name="getresgid" number="171"/> <syscall name="prctl" number="172"/> - <syscall name="rt_sigreturn" number="173"/> - <syscall name="rt_sigaction" number="174"/> - <syscall name="rt_sigprocmask" number="175"/> - <syscall name="rt_sigpending" number="176"/> - <syscall name="rt_sigtimedwait" number="177"/> - <syscall name="rt_sigqueueinfo" number="178"/> - <syscall name="rt_sigsuspend" number="179"/> - <syscall name="pread64" number="180"/> - <syscall name="pwrite64" number="181"/> - <syscall name="chown" number="182"/> - <syscall name="getcwd" number="183"/> + <syscall name="rt_sigreturn" number="173" groups="signal"/> + <syscall name="rt_sigaction" number="174" groups="signal"/> + <syscall name="rt_sigprocmask" number="175" groups="signal"/> + <syscall name="rt_sigpending" number="176" groups="signal"/> + <syscall name="rt_sigtimedwait" number="177" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="178" groups="signal"/> + <syscall name="rt_sigsuspend" number="179" groups="signal"/> + <syscall name="pread64" number="180" groups="descriptor"/> + <syscall name="pwrite64" number="181" groups="descriptor"/> + <syscall name="chown" number="182" groups="file"/> + <syscall name="getcwd" number="183" groups="file"/> <syscall name="capget" number="184"/> <syscall name="capset" number="185"/> - <syscall name="sigaltstack" number="186"/> - <syscall name="sendfile" number="187"/> + <syscall name="sigaltstack" number="186" groups="signal"/> + <syscall name="sendfile" number="187" groups="descriptor,network"/> <syscall name="getpmsg" number="188"/> <syscall name="putpmsg" number="189"/> - <syscall name="vfork" number="190"/> + <syscall name="vfork" number="190" groups="process"/> <syscall name="ugetrlimit" number="191"/> - <syscall name="mmap2" number="192"/> - <syscall name="truncate64" number="193"/> - <syscall name="ftruncate64" number="194"/> - <syscall name="stat64" number="195"/> - <syscall name="lstat64" number="196"/> - <syscall name="fstat64" number="197"/> - <syscall name="lchown32" number="198"/> + <syscall name="mmap2" number="192" groups="descriptor,memory"/> + <syscall name="truncate64" number="193" groups="file"/> + <syscall name="ftruncate64" number="194" groups="descriptor"/> + <syscall name="stat64" number="195" groups="file"/> + <syscall name="lstat64" number="196" groups="file"/> + <syscall name="fstat64" number="197" groups="descriptor"/> + <syscall name="lchown32" number="198" groups="file"/> <syscall name="getuid32" number="199"/> <syscall name="getgid32" number="200"/> <syscall name="geteuid32" number="201"/> @@ -221,38 +218,38 @@ <syscall name="setregid32" number="204"/> <syscall name="getgroups32" number="205"/> <syscall name="setgroups32" number="206"/> - <syscall name="fchown32" number="207"/> + <syscall name="fchown32" number="207" groups="descriptor"/> <syscall name="setresuid32" number="208"/> <syscall name="getresuid32" number="209"/> <syscall name="setresgid32" number="210"/> <syscall name="getresgid32" number="211"/> - <syscall name="chown32" number="212"/> + <syscall name="chown32" number="212" groups="file"/> <syscall name="setuid32" number="213"/> <syscall name="setgid32" number="214"/> <syscall name="setfsuid32" number="215"/> <syscall name="setfsgid32" number="216"/> - <syscall name="pivot_root" number="217"/> - <syscall name="mincore" number="218"/> - <syscall name="madvise" number="219"/> + <syscall name="pivot_root" number="217" groups="file"/> + <syscall name="mincore" number="218" groups="memory"/> + <syscall name="madvise" number="219" groups="memory"/> <syscall name="madvise1" number="220"/> - <syscall name="getdents64" number="221"/> - <syscall name="fcntl64" number="222"/> + <syscall name="getdents64" number="221" groups="descriptor"/> + <syscall name="fcntl64" number="222" groups="descriptor"/> <syscall name="gettid" number="224"/> - <syscall name="readahead" number="225"/> - <syscall name="setxattr" number="226"/> - <syscall name="lsetxattr" number="227"/> - <syscall name="fsetxattr" number="228"/> - <syscall name="getxattr" number="229"/> - <syscall name="lgetxattr" number="230"/> - <syscall name="fgetxattr" number="231"/> - <syscall name="listxattr" number="232"/> - <syscall name="llistxattr" number="233"/> - <syscall name="flistxattr" number="234"/> - <syscall name="removexattr" number="235"/> - <syscall name="lremovexattr" number="236"/> - <syscall name="fremovexattr" number="237"/> - <syscall name="tkill" number="238"/> - <syscall name="sendfile64" number="239"/> + <syscall name="readahead" number="225" groups="descriptor"/> + <syscall name="setxattr" number="226" groups="file"/> + <syscall name="lsetxattr" number="227" groups="file"/> + <syscall name="fsetxattr" number="228" groups="descriptor"/> + <syscall name="getxattr" number="229" groups="file"/> + <syscall name="lgetxattr" number="230" groups="file"/> + <syscall name="fgetxattr" number="231" groups="descriptor"/> + <syscall name="listxattr" number="232" groups="file"/> + <syscall name="llistxattr" number="233" groups="file"/> + <syscall name="flistxattr" number="234" groups="descriptor"/> + <syscall name="removexattr" number="235" groups="file"/> + <syscall name="lremovexattr" number="236" groups="file"/> + <syscall name="fremovexattr" number="237" groups="descriptor"/> + <syscall name="tkill" number="238" groups="signal"/> + <syscall name="sendfile64" number="239" groups="descriptor,network"/> <syscall name="futex" number="240"/> <syscall name="sched_setaffinity" number="241"/> <syscall name="sched_getaffinity" number="242"/> @@ -263,13 +260,13 @@ <syscall name="io_getevents" number="247"/> <syscall name="io_submit" number="248"/> <syscall name="io_cancel" number="249"/> - <syscall name="fadvise64" number="250"/> - <syscall name="exit_group" number="252"/> + <syscall name="fadvise64" number="250" groups="descriptor"/> + <syscall name="exit_group" number="252" groups="process"/> <syscall name="lookup_dcookie" number="253"/> - <syscall name="epoll_create" number="254"/> - <syscall name="epoll_ctl" number="255"/> - <syscall name="epoll_wait" number="256"/> - <syscall name="remap_file_pages" number="257"/> + <syscall name="epoll_create" number="254" groups="descriptor"/> + <syscall name="epoll_ctl" number="255" groups="descriptor"/> + <syscall name="epoll_wait" number="256" groups="descriptor"/> + <syscall name="remap_file_pages" number="257" groups="memory"/> <syscall name="set_tid_address" number="258"/> <syscall name="timer_create" number="259"/> <syscall name="timer_settime" number="260"/> @@ -280,15 +277,15 @@ <syscall name="clock_gettime" number="265"/> <syscall name="clock_getres" number="266"/> <syscall name="clock_nanosleep" number="267"/> - <syscall name="statfs64" number="268"/> - <syscall name="fstatfs64" number="269"/> - <syscall name="tgkill" number="270"/> - <syscall name="utimes" number="271"/> - <syscall name="fadvise64_64" number="272"/> + <syscall name="statfs64" number="268" groups="file"/> + <syscall name="fstatfs64" number="269" groups="descriptor"/> + <syscall name="tgkill" number="270" groups="signal"/> + <syscall name="utimes" number="271" groups="file"/> + <syscall name="fadvise64_64" number="272" groups="descriptor"/> <syscall name="vserver" number="273"/> - <syscall name="mbind" number="274"/> - <syscall name="get_mempolicy" number="275"/> - <syscall name="set_mempolicy" number="276"/> + <syscall name="mbind" number="274" groups="memory"/> + <syscall name="get_mempolicy" number="275" groups="memory"/> + <syscall name="set_mempolicy" number="276" groups="memory"/> <syscall name="mq_open" number="277"/> <syscall name="mq_unlink" number="278"/> <syscall name="mq_timedsend" number="279"/> @@ -296,45 +293,45 @@ <syscall name="mq_notify" number="281"/> <syscall name="mq_getsetattr" number="282"/> <syscall name="kexec_load" number="283"/> - <syscall name="waitid" number="284"/> + <syscall name="waitid" number="284" groups="process"/> <syscall name="add_key" number="286"/> <syscall name="request_key" number="287"/> <syscall name="keyctl" number="288"/> <syscall name="ioprio_set" number="289"/> <syscall name="ioprio_get" number="290"/> - <syscall name="inotify_init" number="291"/> - <syscall name="inotify_add_watch" number="292"/> - <syscall name="inotify_rm_watch" number="293"/> - <syscall name="migrate_pages" number="294"/> - <syscall name="openat" number="295"/> - <syscall name="mkdirat" number="296"/> - <syscall name="mknodat" number="297"/> - <syscall name="fchownat" number="298"/> - <syscall name="futimesat" number="299"/> - <syscall name="fstatat64" number="300"/> - <syscall name="unlinkat" number="301"/> - <syscall name="renameat" number="302"/> - <syscall name="linkat" number="303"/> - <syscall name="symlinkat" number="304"/> - <syscall name="readlinkat" number="305"/> - <syscall name="fchmodat" number="306"/> - <syscall name="faccessat" number="307"/> - <syscall name="pselect6" number="308"/> - <syscall name="ppoll" number="309"/> - <syscall name="unshare" number="310"/> + <syscall name="inotify_init" number="291" groups="descriptor"/> + <syscall name="inotify_add_watch" number="292" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="293" groups="descriptor"/> + <syscall name="migrate_pages" number="294" groups="memory"/> + <syscall name="openat" number="295" groups="descriptor,file"/> + <syscall name="mkdirat" number="296" groups="descriptor,file"/> + <syscall name="mknodat" number="297" groups="descriptor,file"/> + <syscall name="fchownat" number="298" groups="descriptor,file"/> + <syscall name="futimesat" number="299" groups="descriptor,file"/> + <syscall name="fstatat64" number="300" groups="descriptor,file"/> + <syscall name="unlinkat" number="301" groups="descriptor,file"/> + <syscall name="renameat" number="302" groups="descriptor,file"/> + <syscall name="linkat" number="303" groups="descriptor,file"/> + <syscall name="symlinkat" number="304" groups="descriptor,file"/> + <syscall name="readlinkat" number="305" groups="descriptor,file"/> + <syscall name="fchmodat" number="306" groups="descriptor,file"/> + <syscall name="faccessat" number="307" groups="descriptor,file"/> + <syscall name="pselect6" number="308" groups="descriptor"/> + <syscall name="ppoll" number="309" groups="descriptor"/> + <syscall name="unshare" number="310" groups="process"/> <syscall name="set_robust_list" number="311"/> <syscall name="get_robust_list" number="312"/> - <syscall name="splice" number="313"/> - <syscall name="sync_file_range" number="314"/> - <syscall name="tee" number="315"/> - <syscall name="vmsplice" number="316"/> - <syscall name="move_pages" number="317"/> + <syscall name="splice" number="313" groups="descriptor"/> + <syscall name="sync_file_range" number="314" groups="descriptor"/> + <syscall name="tee" number="315" groups="descriptor"/> + <syscall name="vmsplice" number="316" groups="descriptor"/> + <syscall name="move_pages" number="317" groups="memory"/> <syscall name="getcpu" number="318"/> - <syscall name="epoll_pwait" number="319"/> - <syscall name="utimensat" number="320"/> - <syscall name="signalfd" number="321"/> - <syscall name="timerfd_create" number="322"/> - <syscall name="eventfd" number="323"/> - <syscall name="fallocate" number="324"/> - <syscall name="timerfd_settime" number="325"/> + <syscall name="epoll_pwait" number="319" groups="descriptor"/> + <syscall name="utimensat" number="320" groups="descriptor,file"/> + <syscall name="signalfd" number="321" groups="descriptor,signal"/> + <syscall name="timerfd_create" number="322" groups="descriptor"/> + <syscall name="eventfd" number="323" groups="descriptor"/> + <syscall name="fallocate" number="324" groups="descriptor"/> + <syscall name="timerfd_settime" number="325" groups="descriptor"/> </syscalls_info> diff --git a/gdb/syscalls/i386-linux.xml.in b/gdb/syscalls/i386-linux.xml.in new file mode 100644 index 0000000..aab03ec --- /dev/null +++ b/gdb/syscalls/i386-linux.xml.in @@ -0,0 +1,340 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + /usr/src/linux/arch/x86/include/asm/unistd_32.h + + The file mentioned above belongs to the Linux Kernel. --> + +<syscalls_info> + <syscall name="restart_syscall" number="0"/> + <syscall name="exit" number="1"/> + <syscall name="fork" number="2"/> + <syscall name="read" number="3"/> + <syscall name="write" number="4"/> + <syscall name="open" number="5"/> + <syscall name="close" number="6"/> + <syscall name="waitpid" number="7"/> + <syscall name="creat" number="8"/> + <syscall name="link" number="9"/> + <syscall name="unlink" number="10"/> + <syscall name="execve" number="11"/> + <syscall name="chdir" number="12"/> + <syscall name="time" number="13"/> + <syscall name="mknod" number="14"/> + <syscall name="chmod" number="15"/> + <syscall name="lchown" number="16"/> + <syscall name="break" number="17"/> + <syscall name="oldstat" number="18"/> + <syscall name="lseek" number="19"/> + <syscall name="getpid" number="20"/> + <syscall name="mount" number="21"/> + <syscall name="umount" number="22"/> + <syscall name="setuid" number="23"/> + <syscall name="getuid" number="24"/> + <syscall name="stime" number="25"/> + <syscall name="ptrace" number="26"/> + <syscall name="alarm" number="27"/> + <syscall name="oldfstat" number="28"/> + <syscall name="pause" number="29"/> + <syscall name="utime" number="30"/> + <syscall name="stty" number="31"/> + <syscall name="gtty" number="32"/> + <syscall name="access" number="33"/> + <syscall name="nice" number="34"/> + <syscall name="ftime" number="35"/> + <syscall name="sync" number="36"/> + <syscall name="kill" number="37"/> + <syscall name="rename" number="38"/> + <syscall name="mkdir" number="39"/> + <syscall name="rmdir" number="40"/> + <syscall name="dup" number="41"/> + <syscall name="pipe" number="42"/> + <syscall name="times" number="43"/> + <syscall name="prof" number="44"/> + <syscall name="brk" number="45"/> + <syscall name="setgid" number="46"/> + <syscall name="getgid" number="47"/> + <syscall name="signal" number="48"/> + <syscall name="geteuid" number="49"/> + <syscall name="getegid" number="50"/> + <syscall name="acct" number="51"/> + <syscall name="umount2" number="52"/> + <syscall name="lock" number="53"/> + <syscall name="ioctl" number="54"/> + <syscall name="fcntl" number="55"/> + <syscall name="mpx" number="56"/> + <syscall name="setpgid" number="57"/> + <syscall name="ulimit" number="58"/> + <syscall name="oldolduname" number="59"/> + <syscall name="umask" number="60"/> + <syscall name="chroot" number="61"/> + <syscall name="ustat" number="62"/> + <syscall name="dup2" number="63"/> + <syscall name="getppid" number="64"/> + <syscall name="getpgrp" number="65"/> + <syscall name="setsid" number="66"/> + <syscall name="sigaction" number="67"/> + <syscall name="sgetmask" number="68"/> + <syscall name="ssetmask" number="69"/> + <syscall name="setreuid" number="70"/> + <syscall name="setregid" number="71"/> + <syscall name="sigsuspend" number="72"/> + <syscall name="sigpending" number="73"/> + <syscall name="sethostname" number="74"/> + <syscall name="setrlimit" number="75"/> + <syscall name="getrlimit" number="76"/> + <syscall name="getrusage" number="77"/> + <syscall name="gettimeofday" number="78"/> + <syscall name="settimeofday" number="79"/> + <syscall name="getgroups" number="80"/> + <syscall name="setgroups" number="81"/> + <syscall name="select" number="82"/> + <syscall name="symlink" number="83"/> + <syscall name="oldlstat" number="84"/> + <syscall name="readlink" number="85"/> + <syscall name="uselib" number="86"/> + <syscall name="swapon" number="87"/> + <syscall name="reboot" number="88"/> + <syscall name="readdir" number="89"/> + <syscall name="mmap" number="90"/> + <syscall name="munmap" number="91"/> + <syscall name="truncate" number="92"/> + <syscall name="ftruncate" number="93"/> + <syscall name="fchmod" number="94"/> + <syscall name="fchown" number="95"/> + <syscall name="getpriority" number="96"/> + <syscall name="setpriority" number="97"/> + <syscall name="profil" number="98"/> + <syscall name="statfs" number="99"/> + <syscall name="fstatfs" number="100"/> + <syscall name="ioperm" number="101"/> + <syscall name="socketcall" number="102"/> + <syscall name="syslog" number="103"/> + <syscall name="setitimer" number="104"/> + <syscall name="getitimer" number="105"/> + <syscall name="stat" number="106"/> + <syscall name="lstat" number="107"/> + <syscall name="fstat" number="108"/> + <syscall name="olduname" number="109"/> + <syscall name="iopl" number="110"/> + <syscall name="vhangup" number="111"/> + <syscall name="idle" number="112"/> + <syscall name="vm86old" number="113"/> + <syscall name="wait4" number="114"/> + <syscall name="swapoff" number="115"/> + <syscall name="sysinfo" number="116"/> + <syscall name="ipc" number="117"/> + <syscall name="fsync" number="118"/> + <syscall name="sigreturn" number="119"/> + <syscall name="clone" number="120"/> + <syscall name="setdomainname" number="121"/> + <syscall name="uname" number="122"/> + <syscall name="modify_ldt" number="123"/> + <syscall name="adjtimex" number="124"/> + <syscall name="mprotect" number="125"/> + <syscall name="sigprocmask" number="126"/> + <syscall name="create_module" number="127"/> + <syscall name="init_module" number="128"/> + <syscall name="delete_module" number="129"/> + <syscall name="get_kernel_syms" number="130"/> + <syscall name="quotactl" number="131"/> + <syscall name="getpgid" number="132"/> + <syscall name="fchdir" number="133"/> + <syscall name="bdflush" number="134"/> + <syscall name="sysfs" number="135"/> + <syscall name="personality" number="136"/> + <syscall name="afs_syscall" number="137"/> + <syscall name="setfsuid" number="138"/> + <syscall name="setfsgid" number="139"/> + <syscall name="_llseek" number="140"/> + <syscall name="getdents" number="141"/> + <syscall name="_newselect" number="142"/> + <syscall name="flock" number="143"/> + <syscall name="msync" number="144"/> + <syscall name="readv" number="145"/> + <syscall name="writev" number="146"/> + <syscall name="getsid" number="147"/> + <syscall name="fdatasync" number="148"/> + <syscall name="_sysctl" number="149"/> + <syscall name="mlock" number="150"/> + <syscall name="munlock" number="151"/> + <syscall name="mlockall" number="152"/> + <syscall name="munlockall" number="153"/> + <syscall name="sched_setparam" number="154"/> + <syscall name="sched_getparam" number="155"/> + <syscall name="sched_setscheduler" number="156"/> + <syscall name="sched_getscheduler" number="157"/> + <syscall name="sched_yield" number="158"/> + <syscall name="sched_get_priority_max" number="159"/> + <syscall name="sched_get_priority_min" number="160"/> + <syscall name="sched_rr_get_interval" number="161"/> + <syscall name="nanosleep" number="162"/> + <syscall name="mremap" number="163"/> + <syscall name="setresuid" number="164"/> + <syscall name="getresuid" number="165"/> + <syscall name="vm86" number="166"/> + <syscall name="query_module" number="167"/> + <syscall name="poll" number="168"/> + <syscall name="nfsservctl" number="169"/> + <syscall name="setresgid" number="170"/> + <syscall name="getresgid" number="171"/> + <syscall name="prctl" number="172"/> + <syscall name="rt_sigreturn" number="173"/> + <syscall name="rt_sigaction" number="174"/> + <syscall name="rt_sigprocmask" number="175"/> + <syscall name="rt_sigpending" number="176"/> + <syscall name="rt_sigtimedwait" number="177"/> + <syscall name="rt_sigqueueinfo" number="178"/> + <syscall name="rt_sigsuspend" number="179"/> + <syscall name="pread64" number="180"/> + <syscall name="pwrite64" number="181"/> + <syscall name="chown" number="182"/> + <syscall name="getcwd" number="183"/> + <syscall name="capget" number="184"/> + <syscall name="capset" number="185"/> + <syscall name="sigaltstack" number="186"/> + <syscall name="sendfile" number="187"/> + <syscall name="getpmsg" number="188"/> + <syscall name="putpmsg" number="189"/> + <syscall name="vfork" number="190"/> + <syscall name="ugetrlimit" number="191"/> + <syscall name="mmap2" number="192"/> + <syscall name="truncate64" number="193"/> + <syscall name="ftruncate64" number="194"/> + <syscall name="stat64" number="195"/> + <syscall name="lstat64" number="196"/> + <syscall name="fstat64" number="197"/> + <syscall name="lchown32" number="198"/> + <syscall name="getuid32" number="199"/> + <syscall name="getgid32" number="200"/> + <syscall name="geteuid32" number="201"/> + <syscall name="getegid32" number="202"/> + <syscall name="setreuid32" number="203"/> + <syscall name="setregid32" number="204"/> + <syscall name="getgroups32" number="205"/> + <syscall name="setgroups32" number="206"/> + <syscall name="fchown32" number="207"/> + <syscall name="setresuid32" number="208"/> + <syscall name="getresuid32" number="209"/> + <syscall name="setresgid32" number="210"/> + <syscall name="getresgid32" number="211"/> + <syscall name="chown32" number="212"/> + <syscall name="setuid32" number="213"/> + <syscall name="setgid32" number="214"/> + <syscall name="setfsuid32" number="215"/> + <syscall name="setfsgid32" number="216"/> + <syscall name="pivot_root" number="217"/> + <syscall name="mincore" number="218"/> + <syscall name="madvise" number="219"/> + <syscall name="madvise1" number="220"/> + <syscall name="getdents64" number="221"/> + <syscall name="fcntl64" number="222"/> + <syscall name="gettid" number="224"/> + <syscall name="readahead" number="225"/> + <syscall name="setxattr" number="226"/> + <syscall name="lsetxattr" number="227"/> + <syscall name="fsetxattr" number="228"/> + <syscall name="getxattr" number="229"/> + <syscall name="lgetxattr" number="230"/> + <syscall name="fgetxattr" number="231"/> + <syscall name="listxattr" number="232"/> + <syscall name="llistxattr" number="233"/> + <syscall name="flistxattr" number="234"/> + <syscall name="removexattr" number="235"/> + <syscall name="lremovexattr" number="236"/> + <syscall name="fremovexattr" number="237"/> + <syscall name="tkill" number="238"/> + <syscall name="sendfile64" number="239"/> + <syscall name="futex" number="240"/> + <syscall name="sched_setaffinity" number="241"/> + <syscall name="sched_getaffinity" number="242"/> + <syscall name="set_thread_area" number="243"/> + <syscall name="get_thread_area" number="244"/> + <syscall name="io_setup" number="245"/> + <syscall name="io_destroy" number="246"/> + <syscall name="io_getevents" number="247"/> + <syscall name="io_submit" number="248"/> + <syscall name="io_cancel" number="249"/> + <syscall name="fadvise64" number="250"/> + <syscall name="exit_group" number="252"/> + <syscall name="lookup_dcookie" number="253"/> + <syscall name="epoll_create" number="254"/> + <syscall name="epoll_ctl" number="255"/> + <syscall name="epoll_wait" number="256"/> + <syscall name="remap_file_pages" number="257"/> + <syscall name="set_tid_address" number="258"/> + <syscall name="timer_create" number="259"/> + <syscall name="timer_settime" number="260"/> + <syscall name="timer_gettime" number="261"/> + <syscall name="timer_getoverrun" number="262"/> + <syscall name="timer_delete" number="263"/> + <syscall name="clock_settime" number="264"/> + <syscall name="clock_gettime" number="265"/> + <syscall name="clock_getres" number="266"/> + <syscall name="clock_nanosleep" number="267"/> + <syscall name="statfs64" number="268"/> + <syscall name="fstatfs64" number="269"/> + <syscall name="tgkill" number="270"/> + <syscall name="utimes" number="271"/> + <syscall name="fadvise64_64" number="272"/> + <syscall name="vserver" number="273"/> + <syscall name="mbind" number="274"/> + <syscall name="get_mempolicy" number="275"/> + <syscall name="set_mempolicy" number="276"/> + <syscall name="mq_open" number="277"/> + <syscall name="mq_unlink" number="278"/> + <syscall name="mq_timedsend" number="279"/> + <syscall name="mq_timedreceive" number="280"/> + <syscall name="mq_notify" number="281"/> + <syscall name="mq_getsetattr" number="282"/> + <syscall name="kexec_load" number="283"/> + <syscall name="waitid" number="284"/> + <syscall name="add_key" number="286"/> + <syscall name="request_key" number="287"/> + <syscall name="keyctl" number="288"/> + <syscall name="ioprio_set" number="289"/> + <syscall name="ioprio_get" number="290"/> + <syscall name="inotify_init" number="291"/> + <syscall name="inotify_add_watch" number="292"/> + <syscall name="inotify_rm_watch" number="293"/> + <syscall name="migrate_pages" number="294"/> + <syscall name="openat" number="295"/> + <syscall name="mkdirat" number="296"/> + <syscall name="mknodat" number="297"/> + <syscall name="fchownat" number="298"/> + <syscall name="futimesat" number="299"/> + <syscall name="fstatat64" number="300"/> + <syscall name="unlinkat" number="301"/> + <syscall name="renameat" number="302"/> + <syscall name="linkat" number="303"/> + <syscall name="symlinkat" number="304"/> + <syscall name="readlinkat" number="305"/> + <syscall name="fchmodat" number="306"/> + <syscall name="faccessat" number="307"/> + <syscall name="pselect6" number="308"/> + <syscall name="ppoll" number="309"/> + <syscall name="unshare" number="310"/> + <syscall name="set_robust_list" number="311"/> + <syscall name="get_robust_list" number="312"/> + <syscall name="splice" number="313"/> + <syscall name="sync_file_range" number="314"/> + <syscall name="tee" number="315"/> + <syscall name="vmsplice" number="316"/> + <syscall name="move_pages" number="317"/> + <syscall name="getcpu" number="318"/> + <syscall name="epoll_pwait" number="319"/> + <syscall name="utimensat" number="320"/> + <syscall name="signalfd" number="321"/> + <syscall name="timerfd_create" number="322"/> + <syscall name="eventfd" number="323"/> + <syscall name="fallocate" number="324"/> + <syscall name="timerfd_settime" number="325"/> +</syscalls_info> diff --git a/gdb/syscalls/linux-defaults.xml.in b/gdb/syscalls/linux-defaults.xml.in new file mode 100644 index 0000000..1c4e187 --- /dev/null +++ b/gdb/syscalls/linux-defaults.xml.in @@ -0,0 +1,243 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!-- The group field information was based on strace. --> + +<syscalls_defaults> + <syscall name="read" groups="descriptor"/> + <syscall name="write" groups="descriptor"/> + <syscall name="open" groups="descriptor,file"/> + <syscall name="close" groups="descriptor"/> + <syscall name="stat" groups="file"/> + <syscall name="fstat" groups="descriptor"/> + <syscall name="lstat" groups="file"/> + <syscall name="poll" groups="descriptor"/> + <syscall name="lseek" groups="descriptor"/> + <syscall name="mmap" groups="descriptor,memory"/> + <syscall name="mprotect" groups="memory"/> + <syscall name="munmap" groups="memory"/> + <syscall name="brk" groups="memory"/> + <syscall name="rt_sigaction" groups="signal"/> + <syscall name="rt_sigprocmask" groups="signal"/> + <syscall name="rt_sigreturn" groups="signal"/> + <syscall name="ioctl" groups="descriptor"/> + <syscall name="pread64" groups="descriptor"/> + <syscall name="pwrite64" groups="descriptor"/> + <syscall name="readv" groups="descriptor"/> + <syscall name="writev" groups="descriptor"/> + <syscall name="access" groups="file"/> + <syscall name="pipe" groups="descriptor"/> + <syscall name="select" groups="descriptor"/> + <syscall name="mremap" groups="memory"/> + <syscall name="msync" groups="memory"/> + <syscall name="mincore" groups="memory"/> + <syscall name="madvise" groups="memory"/> + <syscall name="shmget" groups="ipc"/> + <syscall name="shmat" groups="ipc,memory"/> + <syscall name="shmctl" groups="ipc"/> + <syscall name="dup" groups="descriptor"/> + <syscall name="dup2" groups="descriptor"/> + <syscall name="pause" groups="signal"/> + <syscall name="sendfile" groups="descriptor,network"/> + <syscall name="socket" groups="network"/> + <syscall name="connect" groups="network"/> + <syscall name="accept" groups="network"/> + <syscall name="sendto" groups="network"/> + <syscall name="recvfrom" groups="network"/> + <syscall name="sendmsg" groups="network"/> + <syscall name="recvmsg" groups="network"/> + <syscall name="shutdown" groups="network"/> + <syscall name="bind" groups="network"/> + <syscall name="listen" groups="network"/> + <syscall name="getsockname" groups="network"/> + <syscall name="getpeername" groups="network"/> + <syscall name="socketpair" groups="network"/> + <syscall name="setsockopt" groups="network"/> + <syscall name="getsockopt" groups="network"/> + <syscall name="clone" groups="process"/> + <syscall name="fork" groups="process"/> + <syscall name="vfork" groups="process"/> + <syscall name="execve" groups="file,process"/> + <syscall name="execv" groups="file,process"/> + <syscall name="exit" groups="process"/> + <syscall name="wait4" groups="process"/> + <syscall name="kill" groups="signal"/> + <syscall name="semget" groups="ipc"/> + <syscall name="semop" groups="ipc"/> + <syscall name="semctl" groups="ipc"/> + <syscall name="shmdt" groups="ipc,memory"/> + <syscall name="msgget" groups="ipc"/> + <syscall name="msgsnd" groups="ipc"/> + <syscall name="msgrcv" groups="ipc"/> + <syscall name="msgctl" groups="ipc"/> + <syscall name="fcntl" groups="descriptor"/> + <syscall name="flock" groups="descriptor"/> + <syscall name="fsync" groups="descriptor"/> + <syscall name="fdatasync" groups="descriptor"/> + <syscall name="truncate" groups="file"/> + <syscall name="ftruncate" groups="descriptor"/> + <syscall name="getdents" groups="descriptor"/> + <syscall name="getcwd" groups="file"/> + <syscall name="chdir" groups="file"/> + <syscall name="fchdir" groups="descriptor"/> + <syscall name="rename" groups="file"/> + <syscall name="mkdir" groups="file"/> + <syscall name="rmdir" groups="file"/> + <syscall name="creat" groups="descriptor,file"/> + <syscall name="link" groups="file"/> + <syscall name="unlink" groups="file"/> + <syscall name="symlink" groups="file"/> + <syscall name="readlink" groups="file"/> + <syscall name="chmod" groups="file"/> + <syscall name="fchmod" groups="descriptor"/> + <syscall name="chown" groups="file"/> + <syscall name="fchown" groups="descriptor"/> + <syscall name="lchown" groups="file"/> + <syscall name="rt_sigpending" groups="signal"/> + <syscall name="rt_sigtimedwait" groups="signal"/> + <syscall name="rt_sigqueueinfo" groups="signal"/> + <syscall name="rt_sigsuspend" groups="signal"/> + <syscall name="sigaltstack" groups="signal"/> + <syscall name="utime" groups="file"/> + <syscall name="mknod" groups="file"/> + <syscall name="uselib" groups="file"/> + <syscall name="statfs" groups="file"/> + <syscall name="fstatfs" groups="descriptor"/> + <syscall name="mlock" groups="memory"/> + <syscall name="munlock" groups="memory"/> + <syscall name="mlockall" groups="memory"/> + <syscall name="munlockall" groups="memory"/> + <syscall name="pivot_root" groups="file"/> + <syscall name="arch_prctl" groups="process"/> + <syscall name="chroot" groups="file"/> + <syscall name="acct" groups="file"/> + <syscall name="mount" groups="file"/> + <syscall name="umount" groups="file"/> + <syscall name="umount2" groups="file"/> + <syscall name="swapon" groups="file"/> + <syscall name="swapoff" groups="file"/> + <syscall name="quotactl" groups="file"/> + <syscall name="readahead" groups="descriptor"/> + <syscall name="setxattr" groups="file"/> + <syscall name="lsetxattr" groups="file"/> + <syscall name="fsetxattr" groups="descriptor"/> + <syscall name="getxattr" groups="file"/> + <syscall name="lgetxattr" groups="file"/> + <syscall name="fgetxattr" groups="descriptor"/> + <syscall name="listxattr" groups="file"/> + <syscall name="llistxattr" groups="file"/> + <syscall name="flistxattr" groups="descriptor"/> + <syscall name="removexattr" groups="file"/> + <syscall name="lremovexattr" groups="file"/> + <syscall name="fremovexattr" groups="descriptor"/> + <syscall name="tkill" groups="signal"/> + <syscall name="epoll_create" groups="descriptor"/> + <syscall name="remap_file_pages" groups="memory"/> + <syscall name="getdents64" groups="descriptor"/> + <syscall name="semtimedop" groups="ipc"/> + <syscall name="fadvise64" groups="descriptor"/> + <syscall name="exit_group" groups="process"/> + <syscall name="epoll_wait" groups="descriptor"/> + <syscall name="epoll_ctl" groups="descriptor"/> + <syscall name="tgkill" groups="signal"/> + <syscall name="utimes" groups="file"/> + <syscall name="mbind" groups="memory"/> + <syscall name="set_mempolicy" groups="memory"/> + <syscall name="get_mempolicy" groups="memory"/> + <syscall name="waitid" groups="process"/> + <syscall name="inotify_init" groups="descriptor"/> + <syscall name="inotify_add_watch" groups="descriptor"/> + <syscall name="inotify_rm_watch" groups="descriptor"/> + <syscall name="migrate_pages" groups="memory"/> + <syscall name="openat" groups="descriptor,file"/> + <syscall name="mkdirat" groups="descriptor,file"/> + <syscall name="mknodat" groups="descriptor,file"/> + <syscall name="fchownat" groups="descriptor,file"/> + <syscall name="futimesat" groups="descriptor,file"/> + <syscall name="newfstatat" groups="descriptor,file"/> + <syscall name="unlinkat" groups="descriptor,file"/> + <syscall name="renameat" groups="descriptor,file"/> + <syscall name="linkat" groups="descriptor,file"/> + <syscall name="symlinkat" groups="descriptor,file"/> + <syscall name="readlinkat" groups="descriptor,file"/> + <syscall name="fchmodat" groups="descriptor,file"/> + <syscall name="faccessat" groups="descriptor,file"/> + <syscall name="pselect6" groups="descriptor"/> + <syscall name="ppoll" groups="descriptor"/> + <syscall name="unshare" groups="process"/> + <syscall name="splice" groups="descriptor"/> + <syscall name="tee" groups="descriptor"/> + <syscall name="sync_file_range" groups="descriptor"/> + <syscall name="vmsplice" groups="descriptor"/> + <syscall name="move_pages" groups="memory"/> + <syscall name="utimensat" groups="descriptor,file"/> + <syscall name="epoll_pwait" groups="descriptor"/> + <syscall name="signalfd" groups="descriptor,signal"/> + <syscall name="timerfd_create" groups="descriptor"/> + <syscall name="eventfd" groups="descriptor"/> + <syscall name="fallocate" groups="descriptor"/> + <syscall name="timerfd_settime" groups="descriptor"/> + <syscall name="timerfd_gettime" groups="descriptor"/> + <syscall name="accept4" groups="network"/> + <syscall name="signalfd4" groups="descriptor,signal"/> + <syscall name="eventfd2" groups="descriptor"/> + <syscall name="epoll_create1" groups="descriptor"/> + <syscall name="dup3" groups="descriptor"/> + <syscall name="pipe2" groups="descriptor"/> + <syscall name="inotify_init1" groups="descriptor"/> + <syscall name="preadv" groups="descriptor"/> + <syscall name="pwritev" groups="descriptor"/> + <syscall name="send" groups="network"/> + <syscall name="recv" groups="network"/> + <syscall name="statfs64" groups="file"/> + <syscall name="fstatfs64" groups="descriptor"/> + <syscall name="sendfile64" groups="descriptor,network"/> + <syscall name="rt_tgsigqueueinfo" groups="process,signal"/> + <syscall name="perf_event_open" groups="descriptor"/> + <syscall name="recvmmsg" groups="network"/> + <syscall name="fanotify_init" groups="descriptor"/> + <syscall name="fanotify_mark" groups="descriptor,file"/> + <syscall name="fchown32" groups="descriptor"/> + <syscall name="chown32" groups="file"/> + <syscall name="fcntl64" groups="descriptor"/> + <syscall name="mmap2" groups="descriptor,memory"/> + <syscall name="truncate64" groups="file"/> + <syscall name="ftruncate64" groups="descriptor"/> + <syscall name="stat64" groups="file"/> + <syscall name="lstat64" groups="file"/> + <syscall name="fstat64" groups="descriptor"/> + <syscall name="lchown32" groups="file"/> + <syscall name="name_to_handle_at" groups="descriptor,file"/> + <syscall name="open_by_handle_at" groups="descriptor"/> + <syscall name="_llseek" groups="descriptor"/> + <syscall name="syncfs" groups="descriptor"/> + <syscall name="sendmmsg" groups="network"/> + <syscall name="setns" groups="descriptor"/> + <syscall name="finit_module" groups="descriptor"/> + <syscall name="oldstat" groups="file"/> + <syscall name="sigaction" groups="signal"/> + <syscall name="sigreturn" groups="signal"/> + <syscall name="sigsuspend" groups="signal"/> + <syscall name="sigpending" groups="signal"/> + <syscall name="sigprocmask" groups="signal"/> + <syscall name="ipc" groups="ipc"/> + <syscall name="readdir" groups="descriptor"/> + <syscall name="socketcall" groups="descriptor"/> + <syscall name="break" groups="memory"/> + <syscall name="oldfstat" groups="descriptor"/> + <syscall name="signal" groups="signal"/> + <syscall name="sgetmask" groups="signal"/> + <syscall name="ssetmask" groups="signal"/> + <syscall name="oldlstat" groups="file"/> + <syscall name="waitpid" groups="process"/> + <syscall name="pread" groups="descriptor"/> + <syscall name="pwrite" groups="descriptor"/> + <syscall name="fadvise64_64" groups="descriptor"/> + <syscall name="fstatat64" groups="descriptor,file"/> + <syscall name="_newselect" groups="descriptor"/> + <syscall name="timerfd" groups="descriptor"/> +</syscalls_defaults> diff --git a/gdb/syscalls/mips-n32-linux.xml b/gdb/syscalls/mips-n32-linux.xml index 7318ae1..d2864aa 100644 --- a/gdb/syscalls/mips-n32-linux.xml +++ b/gdb/syscalls/mips-n32-linux.xml @@ -1,112 +1,109 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2011-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: /usr/src/linux/arch/mips/include/asm/unistd.h The file mentioned above belongs to the Linux Kernel. --> - <syscalls_info> - <syscall name="read" number="6000"/> - <syscall name="write" number="6001"/> - <syscall name="open" number="6002"/> - <syscall name="close" number="6003"/> - <syscall name="stat" number="6004"/> - <syscall name="fstat" number="6005"/> - <syscall name="lstat" number="6006"/> - <syscall name="poll" number="6007"/> - <syscall name="lseek" number="6008"/> - <syscall name="mmap" number="6009"/> - <syscall name="mprotect" number="6010"/> - <syscall name="munmap" number="6011"/> - <syscall name="brk" number="6012"/> - <syscall name="rt_sigaction" number="6013"/> - <syscall name="rt_sigprocmask" number="6014"/> - <syscall name="ioctl" number="6015"/> - <syscall name="pread64" number="6016"/> - <syscall name="pwrite64" number="6017"/> - <syscall name="readv" number="6018"/> - <syscall name="writev" number="6019"/> - <syscall name="access" number="6020"/> - <syscall name="pipe" number="6021"/> - <syscall name="_newselect" number="6022"/> + <syscall name="read" number="6000" groups="descriptor"/> + <syscall name="write" number="6001" groups="descriptor"/> + <syscall name="open" number="6002" groups="descriptor,file"/> + <syscall name="close" number="6003" groups="descriptor"/> + <syscall name="stat" number="6004" groups="file"/> + <syscall name="fstat" number="6005" groups="descriptor"/> + <syscall name="lstat" number="6006" groups="file"/> + <syscall name="poll" number="6007" groups="descriptor"/> + <syscall name="lseek" number="6008" groups="descriptor"/> + <syscall name="mmap" number="6009" groups="descriptor,memory"/> + <syscall name="mprotect" number="6010" groups="memory"/> + <syscall name="munmap" number="6011" groups="memory"/> + <syscall name="brk" number="6012" groups="memory"/> + <syscall name="rt_sigaction" number="6013" groups="signal"/> + <syscall name="rt_sigprocmask" number="6014" groups="signal"/> + <syscall name="ioctl" number="6015" groups="descriptor"/> + <syscall name="pread64" number="6016" groups="descriptor"/> + <syscall name="pwrite64" number="6017" groups="descriptor"/> + <syscall name="readv" number="6018" groups="descriptor"/> + <syscall name="writev" number="6019" groups="descriptor"/> + <syscall name="access" number="6020" groups="file"/> + <syscall name="pipe" number="6021" groups="descriptor"/> + <syscall name="_newselect" number="6022" groups="descriptor"/> <syscall name="sched_yield" number="6023"/> - <syscall name="mremap" number="6024"/> - <syscall name="msync" number="6025"/> - <syscall name="mincore" number="6026"/> - <syscall name="madvise" number="6027"/> - <syscall name="shmget" number="6028"/> - <syscall name="shmat" number="6029"/> - <syscall name="shmctl" number="6030"/> - <syscall name="dup" number="6031"/> - <syscall name="dup2" number="6032"/> - <syscall name="pause" number="6033"/> + <syscall name="mremap" number="6024" groups="memory"/> + <syscall name="msync" number="6025" groups="memory"/> + <syscall name="mincore" number="6026" groups="memory"/> + <syscall name="madvise" number="6027" groups="memory"/> + <syscall name="shmget" number="6028" groups="ipc"/> + <syscall name="shmat" number="6029" groups="ipc,memory"/> + <syscall name="shmctl" number="6030" groups="ipc"/> + <syscall name="dup" number="6031" groups="descriptor"/> + <syscall name="dup2" number="6032" groups="descriptor"/> + <syscall name="pause" number="6033" groups="signal"/> <syscall name="nanosleep" number="6034"/> <syscall name="getitimer" number="6035"/> <syscall name="setitimer" number="6036"/> <syscall name="alarm" number="6037"/> <syscall name="getpid" number="6038"/> - <syscall name="sendfile" number="6039"/> - <syscall name="socket" number="6040"/> - <syscall name="connect" number="6041"/> - <syscall name="accept" number="6042"/> - <syscall name="sendto" number="6043"/> - <syscall name="recvfrom" number="6044"/> - <syscall name="sendmsg" number="6045"/> - <syscall name="recvmsg" number="6046"/> - <syscall name="shutdown" number="6047"/> - <syscall name="bind" number="6048"/> - <syscall name="listen" number="6049"/> - <syscall name="getsockname" number="6050"/> - <syscall name="getpeername" number="6051"/> - <syscall name="socketpair" number="6052"/> - <syscall name="setsockopt" number="6053"/> - <syscall name="getsockopt" number="6054"/> - <syscall name="clone" number="6055"/> - <syscall name="fork" number="6056"/> - <syscall name="execve" number="6057"/> - <syscall name="exit" number="6058"/> - <syscall name="wait4" number="6059"/> - <syscall name="kill" number="6060"/> + <syscall name="sendfile" number="6039" groups="descriptor,network"/> + <syscall name="socket" number="6040" groups="network"/> + <syscall name="connect" number="6041" groups="network"/> + <syscall name="accept" number="6042" groups="network"/> + <syscall name="sendto" number="6043" groups="network"/> + <syscall name="recvfrom" number="6044" groups="network"/> + <syscall name="sendmsg" number="6045" groups="network"/> + <syscall name="recvmsg" number="6046" groups="network"/> + <syscall name="shutdown" number="6047" groups="network"/> + <syscall name="bind" number="6048" groups="network"/> + <syscall name="listen" number="6049" groups="network"/> + <syscall name="getsockname" number="6050" groups="network"/> + <syscall name="getpeername" number="6051" groups="network"/> + <syscall name="socketpair" number="6052" groups="network"/> + <syscall name="setsockopt" number="6053" groups="network"/> + <syscall name="getsockopt" number="6054" groups="network"/> + <syscall name="clone" number="6055" groups="process"/> + <syscall name="fork" number="6056" groups="process"/> + <syscall name="execve" number="6057" groups="file,process"/> + <syscall name="exit" number="6058" groups="process"/> + <syscall name="wait4" number="6059" groups="process"/> + <syscall name="kill" number="6060" groups="signal"/> <syscall name="uname" number="6061"/> - <syscall name="semget" number="6062"/> - <syscall name="semop" number="6063"/> - <syscall name="semctl" number="6064"/> - <syscall name="shmdt" number="6065"/> - <syscall name="msgget" number="6066"/> - <syscall name="msgsnd" number="6067"/> - <syscall name="msgrcv" number="6068"/> - <syscall name="msgctl" number="6069"/> - <syscall name="fcntl" number="6070"/> - <syscall name="flock" number="6071"/> - <syscall name="fsync" number="6072"/> - <syscall name="fdatasync" number="6073"/> - <syscall name="truncate" number="6074"/> - <syscall name="ftruncate" number="6075"/> - <syscall name="getdents" number="6076"/> - <syscall name="getcwd" number="6077"/> - <syscall name="chdir" number="6078"/> - <syscall name="fchdir" number="6079"/> - <syscall name="rename" number="6080"/> - <syscall name="mkdir" number="6081"/> - <syscall name="rmdir" number="6082"/> - <syscall name="creat" number="6083"/> - <syscall name="link" number="6084"/> - <syscall name="unlink" number="6085"/> - <syscall name="symlink" number="6086"/> - <syscall name="readlink" number="6087"/> - <syscall name="chmod" number="6088"/> - <syscall name="fchmod" number="6089"/> - <syscall name="chown" number="6090"/> - <syscall name="fchown" number="6091"/> - <syscall name="lchown" number="6092"/> + <syscall name="semget" number="6062" groups="ipc"/> + <syscall name="semop" number="6063" groups="ipc"/> + <syscall name="semctl" number="6064" groups="ipc"/> + <syscall name="shmdt" number="6065" groups="ipc,memory"/> + <syscall name="msgget" number="6066" groups="ipc"/> + <syscall name="msgsnd" number="6067" groups="ipc"/> + <syscall name="msgrcv" number="6068" groups="ipc"/> + <syscall name="msgctl" number="6069" groups="ipc"/> + <syscall name="fcntl" number="6070" groups="descriptor"/> + <syscall name="flock" number="6071" groups="descriptor"/> + <syscall name="fsync" number="6072" groups="descriptor"/> + <syscall name="fdatasync" number="6073" groups="descriptor"/> + <syscall name="truncate" number="6074" groups="file"/> + <syscall name="ftruncate" number="6075" groups="descriptor"/> + <syscall name="getdents" number="6076" groups="descriptor"/> + <syscall name="getcwd" number="6077" groups="file"/> + <syscall name="chdir" number="6078" groups="file"/> + <syscall name="fchdir" number="6079" groups="descriptor"/> + <syscall name="rename" number="6080" groups="file"/> + <syscall name="mkdir" number="6081" groups="file"/> + <syscall name="rmdir" number="6082" groups="file"/> + <syscall name="creat" number="6083" groups="descriptor,file"/> + <syscall name="link" number="6084" groups="file"/> + <syscall name="unlink" number="6085" groups="file"/> + <syscall name="symlink" number="6086" groups="file"/> + <syscall name="readlink" number="6087" groups="file"/> + <syscall name="chmod" number="6088" groups="file"/> + <syscall name="fchmod" number="6089" groups="descriptor"/> + <syscall name="chown" number="6090" groups="file"/> + <syscall name="fchown" number="6091" groups="descriptor"/> + <syscall name="lchown" number="6092" groups="file"/> <syscall name="umask" number="6093"/> <syscall name="gettimeofday" number="6094"/> <syscall name="getrlimit" number="6095"/> @@ -139,17 +136,17 @@ <syscall name="getsid" number="6122"/> <syscall name="capget" number="6123"/> <syscall name="capset" number="6124"/> - <syscall name="rt_sigpending" number="6125"/> - <syscall name="rt_sigtimedwait" number="6126"/> - <syscall name="rt_sigqueueinfo" number="6127"/> - <syscall name="rt_sigsuspend" number="6128"/> - <syscall name="sigaltstack" number="6129"/> - <syscall name="utime" number="6130"/> - <syscall name="mknod" number="6131"/> + <syscall name="rt_sigpending" number="6125" groups="signal"/> + <syscall name="rt_sigtimedwait" number="6126" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="6127" groups="signal"/> + <syscall name="rt_sigsuspend" number="6128" groups="signal"/> + <syscall name="sigaltstack" number="6129" groups="signal"/> + <syscall name="utime" number="6130" groups="file"/> + <syscall name="mknod" number="6131" groups="file"/> <syscall name="personality" number="6132"/> <syscall name="ustat" number="6133"/> - <syscall name="statfs" number="6134"/> - <syscall name="fstatfs" number="6135"/> + <syscall name="statfs" number="6134" groups="file"/> + <syscall name="fstatfs" number="6135" groups="descriptor"/> <syscall name="sysfs" number="6136"/> <syscall name="getpriority" number="6137"/> <syscall name="setpriority" number="6138"/> @@ -160,24 +157,24 @@ <syscall name="sched_get_priority_max" number="6143"/> <syscall name="sched_get_priority_min" number="6144"/> <syscall name="sched_rr_get_interval" number="6145"/> - <syscall name="mlock" number="6146"/> - <syscall name="munlock" number="6147"/> - <syscall name="mlockall" number="6148"/> - <syscall name="munlockall" number="6149"/> + <syscall name="mlock" number="6146" groups="memory"/> + <syscall name="munlock" number="6147" groups="memory"/> + <syscall name="mlockall" number="6148" groups="memory"/> + <syscall name="munlockall" number="6149" groups="memory"/> <syscall name="vhangup" number="6150"/> - <syscall name="pivot_root" number="6151"/> + <syscall name="pivot_root" number="6151" groups="file"/> <syscall name="_sysctl" number="6152"/> <syscall name="prctl" number="6153"/> <syscall name="adjtimex" number="6154"/> <syscall name="setrlimit" number="6155"/> - <syscall name="chroot" number="6156"/> + <syscall name="chroot" number="6156" groups="file"/> <syscall name="sync" number="6157"/> - <syscall name="acct" number="6158"/> + <syscall name="acct" number="6158" groups="file"/> <syscall name="settimeofday" number="6159"/> - <syscall name="mount" number="6160"/> - <syscall name="umount2" number="6161"/> - <syscall name="swapon" number="6162"/> - <syscall name="swapoff" number="6163"/> + <syscall name="mount" number="6160" groups="file"/> + <syscall name="umount2" number="6161" groups="file"/> + <syscall name="swapon" number="6162" groups="file"/> + <syscall name="swapoff" number="6163" groups="file"/> <syscall name="reboot" number="6164"/> <syscall name="sethostname" number="6165"/> <syscall name="setdomainname" number="6166"/> @@ -186,27 +183,27 @@ <syscall name="delete_module" number="6169"/> <syscall name="get_kernel_syms" number="6170"/> <syscall name="query_module" number="6171"/> - <syscall name="quotactl" number="6172"/> + <syscall name="quotactl" number="6172" groups="file"/> <syscall name="nfsservctl" number="6173"/> <syscall name="getpmsg" number="6174"/> <syscall name="putpmsg" number="6175"/> <syscall name="afs_syscall" number="6176"/> <syscall name="reserved177" number="6177"/> <syscall name="gettid" number="6178"/> - <syscall name="readahead" number="6179"/> - <syscall name="setxattr" number="6180"/> - <syscall name="lsetxattr" number="6181"/> - <syscall name="fsetxattr" number="6182"/> - <syscall name="getxattr" number="6183"/> - <syscall name="lgetxattr" number="6184"/> - <syscall name="fgetxattr" number="6185"/> - <syscall name="listxattr" number="6186"/> - <syscall name="llistxattr" number="6187"/> - <syscall name="flistxattr" number="6188"/> - <syscall name="removexattr" number="6189"/> - <syscall name="lremovexattr" number="6190"/> - <syscall name="fremovexattr" number="6191"/> - <syscall name="tkill" number="6192"/> + <syscall name="readahead" number="6179" groups="descriptor"/> + <syscall name="setxattr" number="6180" groups="file"/> + <syscall name="lsetxattr" number="6181" groups="file"/> + <syscall name="fsetxattr" number="6182" groups="descriptor"/> + <syscall name="getxattr" number="6183" groups="file"/> + <syscall name="lgetxattr" number="6184" groups="file"/> + <syscall name="fgetxattr" number="6185" groups="descriptor"/> + <syscall name="listxattr" number="6186" groups="file"/> + <syscall name="llistxattr" number="6187" groups="file"/> + <syscall name="flistxattr" number="6188" groups="descriptor"/> + <syscall name="removexattr" number="6189" groups="file"/> + <syscall name="lremovexattr" number="6190" groups="file"/> + <syscall name="fremovexattr" number="6191" groups="descriptor"/> + <syscall name="tkill" number="6192" groups="signal"/> <syscall name="reserved193" number="6193"/> <syscall name="futex" number="6194"/> <syscall name="sched_setaffinity" number="6195"/> @@ -219,21 +216,21 @@ <syscall name="io_getevents" number="6202"/> <syscall name="io_submit" number="6203"/> <syscall name="io_cancel" number="6204"/> - <syscall name="exit_group" number="6205"/> + <syscall name="exit_group" number="6205" groups="process"/> <syscall name="lookup_dcookie" number="6206"/> - <syscall name="epoll_create" number="6207"/> - <syscall name="epoll_ctl" number="6208"/> - <syscall name="epoll_wait" number="6209"/> - <syscall name="remap_file_pages" number="6210"/> - <syscall name="rt_sigreturn" number="6211"/> - <syscall name="fcntl64" number="6212"/> + <syscall name="epoll_create" number="6207" groups="descriptor"/> + <syscall name="epoll_ctl" number="6208" groups="descriptor"/> + <syscall name="epoll_wait" number="6209" groups="descriptor"/> + <syscall name="remap_file_pages" number="6210" groups="memory"/> + <syscall name="rt_sigreturn" number="6211" groups="signal"/> + <syscall name="fcntl64" number="6212" groups="descriptor"/> <syscall name="set_tid_address" number="6213"/> <syscall name="restart_syscall" number="6214"/> - <syscall name="semtimedop" number="6215"/> - <syscall name="fadvise64" number="6216"/> - <syscall name="statfs64" number="6217"/> - <syscall name="fstatfs64" number="6218"/> - <syscall name="sendfile64" number="6219"/> + <syscall name="semtimedop" number="6215" groups="ipc"/> + <syscall name="fadvise64" number="6216" groups="descriptor"/> + <syscall name="statfs64" number="6217" groups="file"/> + <syscall name="fstatfs64" number="6218" groups="descriptor"/> + <syscall name="sendfile64" number="6219" groups="descriptor,network"/> <syscall name="timer_create" number="6220"/> <syscall name="timer_settime" number="6221"/> <syscall name="timer_gettime" number="6222"/> @@ -243,11 +240,11 @@ <syscall name="clock_gettime" number="6226"/> <syscall name="clock_getres" number="6227"/> <syscall name="clock_nanosleep" number="6228"/> - <syscall name="tgkill" number="6229"/> - <syscall name="utimes" number="6230"/> - <syscall name="mbind" number="6231"/> - <syscall name="get_mempolicy" number="6232"/> - <syscall name="set_mempolicy" number="6233"/> + <syscall name="tgkill" number="6229" groups="signal"/> + <syscall name="utimes" number="6230" groups="file"/> + <syscall name="mbind" number="6231" groups="memory"/> + <syscall name="get_mempolicy" number="6232" groups="memory"/> + <syscall name="set_mempolicy" number="6233" groups="memory"/> <syscall name="mq_open" number="6234"/> <syscall name="mq_unlink" number="6235"/> <syscall name="mq_timedsend" number="6236"/> @@ -255,65 +252,65 @@ <syscall name="mq_notify" number="6238"/> <syscall name="mq_getsetattr" number="6239"/> <syscall name="vserver" number="6240"/> - <syscall name="waitid" number="6241"/> + <syscall name="waitid" number="6241" groups="process"/> <syscall name="add_key" number="6243"/> <syscall name="request_key" number="6244"/> <syscall name="keyctl" number="6245"/> <syscall name="set_thread_area" number="6246"/> - <syscall name="inotify_init" number="6247"/> - <syscall name="inotify_add_watch" number="6248"/> - <syscall name="inotify_rm_watch" number="6249"/> - <syscall name="migrate_pages" number="6250"/> - <syscall name="openat" number="6251"/> - <syscall name="mkdirat" number="6252"/> - <syscall name="mknodat" number="6253"/> - <syscall name="fchownat" number="6254"/> - <syscall name="futimesat" number="6255"/> - <syscall name="newfstatat" number="6256"/> - <syscall name="unlinkat" number="6257"/> - <syscall name="renameat" number="6258"/> - <syscall name="linkat" number="6259"/> - <syscall name="symlinkat" number="6260"/> - <syscall name="readlinkat" number="6261"/> - <syscall name="fchmodat" number="6262"/> - <syscall name="faccessat" number="6263"/> - <syscall name="pselect6" number="6264"/> - <syscall name="ppoll" number="6265"/> - <syscall name="unshare" number="6266"/> - <syscall name="splice" number="6267"/> - <syscall name="sync_file_range" number="6268"/> - <syscall name="tee" number="6269"/> - <syscall name="vmsplice" number="6270"/> - <syscall name="move_pages" number="6271"/> + <syscall name="inotify_init" number="6247" groups="descriptor"/> + <syscall name="inotify_add_watch" number="6248" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="6249" groups="descriptor"/> + <syscall name="migrate_pages" number="6250" groups="memory"/> + <syscall name="openat" number="6251" groups="descriptor,file"/> + <syscall name="mkdirat" number="6252" groups="descriptor,file"/> + <syscall name="mknodat" number="6253" groups="descriptor,file"/> + <syscall name="fchownat" number="6254" groups="descriptor,file"/> + <syscall name="futimesat" number="6255" groups="descriptor,file"/> + <syscall name="newfstatat" number="6256" groups="descriptor,file"/> + <syscall name="unlinkat" number="6257" groups="descriptor,file"/> + <syscall name="renameat" number="6258" groups="descriptor,file"/> + <syscall name="linkat" number="6259" groups="descriptor,file"/> + <syscall name="symlinkat" number="6260" groups="descriptor,file"/> + <syscall name="readlinkat" number="6261" groups="descriptor,file"/> + <syscall name="fchmodat" number="6262" groups="descriptor,file"/> + <syscall name="faccessat" number="6263" groups="descriptor,file"/> + <syscall name="pselect6" number="6264" groups="descriptor"/> + <syscall name="ppoll" number="6265" groups="descriptor"/> + <syscall name="unshare" number="6266" groups="process"/> + <syscall name="splice" number="6267" groups="descriptor"/> + <syscall name="sync_file_range" number="6268" groups="descriptor"/> + <syscall name="tee" number="6269" groups="descriptor"/> + <syscall name="vmsplice" number="6270" groups="descriptor"/> + <syscall name="move_pages" number="6271" groups="memory"/> <syscall name="set_robust_list" number="6272"/> <syscall name="get_robust_list" number="6273"/> <syscall name="kexec_load" number="6274"/> <syscall name="getcpu" number="6275"/> - <syscall name="epoll_pwait" number="6276"/> + <syscall name="epoll_pwait" number="6276" groups="descriptor"/> <syscall name="ioprio_set" number="6277"/> <syscall name="ioprio_get" number="6278"/> - <syscall name="utimensat" number="6279"/> - <syscall name="signalfd" number="6280"/> - <syscall name="timerfd" number="6281"/> - <syscall name="eventfd" number="6282"/> - <syscall name="fallocate" number="6283"/> - <syscall name="timerfd_create" number="6284"/> - <syscall name="timerfd_gettime" number="6285"/> - <syscall name="timerfd_settime" number="6286"/> - <syscall name="signalfd4" number="6287"/> - <syscall name="eventfd2" number="6288"/> - <syscall name="epoll_create1" number="6289"/> - <syscall name="dup3" number="6290"/> - <syscall name="pipe2" number="6291"/> - <syscall name="inotify_init1" number="6292"/> - <syscall name="preadv" number="6293"/> - <syscall name="pwritev" number="6294"/> - <syscall name="rt_tgsigqueueinfo" number="6295"/> - <syscall name="perf_event_open" number="6296"/> - <syscall name="accept4" number="6297"/> - <syscall name="recvmmsg" number="6298"/> - <syscall name="getdents64" number="6299"/> - <syscall name="fanotify_init" number="6300"/> - <syscall name="fanotify_mark" number="6301"/> + <syscall name="utimensat" number="6279" groups="descriptor,file"/> + <syscall name="signalfd" number="6280" groups="descriptor,signal"/> + <syscall name="timerfd" number="6281" groups="descriptor"/> + <syscall name="eventfd" number="6282" groups="descriptor"/> + <syscall name="fallocate" number="6283" groups="descriptor"/> + <syscall name="timerfd_create" number="6284" groups="descriptor"/> + <syscall name="timerfd_gettime" number="6285" groups="descriptor"/> + <syscall name="timerfd_settime" number="6286" groups="descriptor"/> + <syscall name="signalfd4" number="6287" groups="descriptor,signal"/> + <syscall name="eventfd2" number="6288" groups="descriptor"/> + <syscall name="epoll_create1" number="6289" groups="descriptor"/> + <syscall name="dup3" number="6290" groups="descriptor"/> + <syscall name="pipe2" number="6291" groups="descriptor"/> + <syscall name="inotify_init1" number="6292" groups="descriptor"/> + <syscall name="preadv" number="6293" groups="descriptor"/> + <syscall name="pwritev" number="6294" groups="descriptor"/> + <syscall name="rt_tgsigqueueinfo" number="6295" groups="process,signal"/> + <syscall name="perf_event_open" number="6296" groups="descriptor"/> + <syscall name="accept4" number="6297" groups="network"/> + <syscall name="recvmmsg" number="6298" groups="network"/> + <syscall name="getdents64" number="6299" groups="descriptor"/> + <syscall name="fanotify_init" number="6300" groups="descriptor"/> + <syscall name="fanotify_mark" number="6301" groups="descriptor,file"/> <syscall name="prlimit64" number="6302"/> </syscalls_info> diff --git a/gdb/syscalls/mips-n32-linux.xml.in b/gdb/syscalls/mips-n32-linux.xml.in new file mode 100644 index 0000000..7318ae1 --- /dev/null +++ b/gdb/syscalls/mips-n32-linux.xml.in @@ -0,0 +1,319 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2011-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + /usr/src/linux/arch/mips/include/asm/unistd.h + + The file mentioned above belongs to the Linux Kernel. --> + +<syscalls_info> + <syscall name="read" number="6000"/> + <syscall name="write" number="6001"/> + <syscall name="open" number="6002"/> + <syscall name="close" number="6003"/> + <syscall name="stat" number="6004"/> + <syscall name="fstat" number="6005"/> + <syscall name="lstat" number="6006"/> + <syscall name="poll" number="6007"/> + <syscall name="lseek" number="6008"/> + <syscall name="mmap" number="6009"/> + <syscall name="mprotect" number="6010"/> + <syscall name="munmap" number="6011"/> + <syscall name="brk" number="6012"/> + <syscall name="rt_sigaction" number="6013"/> + <syscall name="rt_sigprocmask" number="6014"/> + <syscall name="ioctl" number="6015"/> + <syscall name="pread64" number="6016"/> + <syscall name="pwrite64" number="6017"/> + <syscall name="readv" number="6018"/> + <syscall name="writev" number="6019"/> + <syscall name="access" number="6020"/> + <syscall name="pipe" number="6021"/> + <syscall name="_newselect" number="6022"/> + <syscall name="sched_yield" number="6023"/> + <syscall name="mremap" number="6024"/> + <syscall name="msync" number="6025"/> + <syscall name="mincore" number="6026"/> + <syscall name="madvise" number="6027"/> + <syscall name="shmget" number="6028"/> + <syscall name="shmat" number="6029"/> + <syscall name="shmctl" number="6030"/> + <syscall name="dup" number="6031"/> + <syscall name="dup2" number="6032"/> + <syscall name="pause" number="6033"/> + <syscall name="nanosleep" number="6034"/> + <syscall name="getitimer" number="6035"/> + <syscall name="setitimer" number="6036"/> + <syscall name="alarm" number="6037"/> + <syscall name="getpid" number="6038"/> + <syscall name="sendfile" number="6039"/> + <syscall name="socket" number="6040"/> + <syscall name="connect" number="6041"/> + <syscall name="accept" number="6042"/> + <syscall name="sendto" number="6043"/> + <syscall name="recvfrom" number="6044"/> + <syscall name="sendmsg" number="6045"/> + <syscall name="recvmsg" number="6046"/> + <syscall name="shutdown" number="6047"/> + <syscall name="bind" number="6048"/> + <syscall name="listen" number="6049"/> + <syscall name="getsockname" number="6050"/> + <syscall name="getpeername" number="6051"/> + <syscall name="socketpair" number="6052"/> + <syscall name="setsockopt" number="6053"/> + <syscall name="getsockopt" number="6054"/> + <syscall name="clone" number="6055"/> + <syscall name="fork" number="6056"/> + <syscall name="execve" number="6057"/> + <syscall name="exit" number="6058"/> + <syscall name="wait4" number="6059"/> + <syscall name="kill" number="6060"/> + <syscall name="uname" number="6061"/> + <syscall name="semget" number="6062"/> + <syscall name="semop" number="6063"/> + <syscall name="semctl" number="6064"/> + <syscall name="shmdt" number="6065"/> + <syscall name="msgget" number="6066"/> + <syscall name="msgsnd" number="6067"/> + <syscall name="msgrcv" number="6068"/> + <syscall name="msgctl" number="6069"/> + <syscall name="fcntl" number="6070"/> + <syscall name="flock" number="6071"/> + <syscall name="fsync" number="6072"/> + <syscall name="fdatasync" number="6073"/> + <syscall name="truncate" number="6074"/> + <syscall name="ftruncate" number="6075"/> + <syscall name="getdents" number="6076"/> + <syscall name="getcwd" number="6077"/> + <syscall name="chdir" number="6078"/> + <syscall name="fchdir" number="6079"/> + <syscall name="rename" number="6080"/> + <syscall name="mkdir" number="6081"/> + <syscall name="rmdir" number="6082"/> + <syscall name="creat" number="6083"/> + <syscall name="link" number="6084"/> + <syscall name="unlink" number="6085"/> + <syscall name="symlink" number="6086"/> + <syscall name="readlink" number="6087"/> + <syscall name="chmod" number="6088"/> + <syscall name="fchmod" number="6089"/> + <syscall name="chown" number="6090"/> + <syscall name="fchown" number="6091"/> + <syscall name="lchown" number="6092"/> + <syscall name="umask" number="6093"/> + <syscall name="gettimeofday" number="6094"/> + <syscall name="getrlimit" number="6095"/> + <syscall name="getrusage" number="6096"/> + <syscall name="sysinfo" number="6097"/> + <syscall name="times" number="6098"/> + <syscall name="ptrace" number="6099"/> + <syscall name="getuid" number="6100"/> + <syscall name="syslog" number="6101"/> + <syscall name="getgid" number="6102"/> + <syscall name="setuid" number="6103"/> + <syscall name="setgid" number="6104"/> + <syscall name="geteuid" number="6105"/> + <syscall name="getegid" number="6106"/> + <syscall name="setpgid" number="6107"/> + <syscall name="getppid" number="6108"/> + <syscall name="getpgrp" number="6109"/> + <syscall name="setsid" number="6110"/> + <syscall name="setreuid" number="6111"/> + <syscall name="setregid" number="6112"/> + <syscall name="getgroups" number="6113"/> + <syscall name="setgroups" number="6114"/> + <syscall name="setresuid" number="6115"/> + <syscall name="getresuid" number="6116"/> + <syscall name="setresgid" number="6117"/> + <syscall name="getresgid" number="6118"/> + <syscall name="getpgid" number="6119"/> + <syscall name="setfsuid" number="6120"/> + <syscall name="setfsgid" number="6121"/> + <syscall name="getsid" number="6122"/> + <syscall name="capget" number="6123"/> + <syscall name="capset" number="6124"/> + <syscall name="rt_sigpending" number="6125"/> + <syscall name="rt_sigtimedwait" number="6126"/> + <syscall name="rt_sigqueueinfo" number="6127"/> + <syscall name="rt_sigsuspend" number="6128"/> + <syscall name="sigaltstack" number="6129"/> + <syscall name="utime" number="6130"/> + <syscall name="mknod" number="6131"/> + <syscall name="personality" number="6132"/> + <syscall name="ustat" number="6133"/> + <syscall name="statfs" number="6134"/> + <syscall name="fstatfs" number="6135"/> + <syscall name="sysfs" number="6136"/> + <syscall name="getpriority" number="6137"/> + <syscall name="setpriority" number="6138"/> + <syscall name="sched_setparam" number="6139"/> + <syscall name="sched_getparam" number="6140"/> + <syscall name="sched_setscheduler" number="6141"/> + <syscall name="sched_getscheduler" number="6142"/> + <syscall name="sched_get_priority_max" number="6143"/> + <syscall name="sched_get_priority_min" number="6144"/> + <syscall name="sched_rr_get_interval" number="6145"/> + <syscall name="mlock" number="6146"/> + <syscall name="munlock" number="6147"/> + <syscall name="mlockall" number="6148"/> + <syscall name="munlockall" number="6149"/> + <syscall name="vhangup" number="6150"/> + <syscall name="pivot_root" number="6151"/> + <syscall name="_sysctl" number="6152"/> + <syscall name="prctl" number="6153"/> + <syscall name="adjtimex" number="6154"/> + <syscall name="setrlimit" number="6155"/> + <syscall name="chroot" number="6156"/> + <syscall name="sync" number="6157"/> + <syscall name="acct" number="6158"/> + <syscall name="settimeofday" number="6159"/> + <syscall name="mount" number="6160"/> + <syscall name="umount2" number="6161"/> + <syscall name="swapon" number="6162"/> + <syscall name="swapoff" number="6163"/> + <syscall name="reboot" number="6164"/> + <syscall name="sethostname" number="6165"/> + <syscall name="setdomainname" number="6166"/> + <syscall name="create_module" number="6167"/> + <syscall name="init_module" number="6168"/> + <syscall name="delete_module" number="6169"/> + <syscall name="get_kernel_syms" number="6170"/> + <syscall name="query_module" number="6171"/> + <syscall name="quotactl" number="6172"/> + <syscall name="nfsservctl" number="6173"/> + <syscall name="getpmsg" number="6174"/> + <syscall name="putpmsg" number="6175"/> + <syscall name="afs_syscall" number="6176"/> + <syscall name="reserved177" number="6177"/> + <syscall name="gettid" number="6178"/> + <syscall name="readahead" number="6179"/> + <syscall name="setxattr" number="6180"/> + <syscall name="lsetxattr" number="6181"/> + <syscall name="fsetxattr" number="6182"/> + <syscall name="getxattr" number="6183"/> + <syscall name="lgetxattr" number="6184"/> + <syscall name="fgetxattr" number="6185"/> + <syscall name="listxattr" number="6186"/> + <syscall name="llistxattr" number="6187"/> + <syscall name="flistxattr" number="6188"/> + <syscall name="removexattr" number="6189"/> + <syscall name="lremovexattr" number="6190"/> + <syscall name="fremovexattr" number="6191"/> + <syscall name="tkill" number="6192"/> + <syscall name="reserved193" number="6193"/> + <syscall name="futex" number="6194"/> + <syscall name="sched_setaffinity" number="6195"/> + <syscall name="sched_getaffinity" number="6196"/> + <syscall name="cacheflush" number="6197"/> + <syscall name="cachectl" number="6198"/> + <syscall name="sysmips" number="6199"/> + <syscall name="io_setup" number="6200"/> + <syscall name="io_destroy" number="6201"/> + <syscall name="io_getevents" number="6202"/> + <syscall name="io_submit" number="6203"/> + <syscall name="io_cancel" number="6204"/> + <syscall name="exit_group" number="6205"/> + <syscall name="lookup_dcookie" number="6206"/> + <syscall name="epoll_create" number="6207"/> + <syscall name="epoll_ctl" number="6208"/> + <syscall name="epoll_wait" number="6209"/> + <syscall name="remap_file_pages" number="6210"/> + <syscall name="rt_sigreturn" number="6211"/> + <syscall name="fcntl64" number="6212"/> + <syscall name="set_tid_address" number="6213"/> + <syscall name="restart_syscall" number="6214"/> + <syscall name="semtimedop" number="6215"/> + <syscall name="fadvise64" number="6216"/> + <syscall name="statfs64" number="6217"/> + <syscall name="fstatfs64" number="6218"/> + <syscall name="sendfile64" number="6219"/> + <syscall name="timer_create" number="6220"/> + <syscall name="timer_settime" number="6221"/> + <syscall name="timer_gettime" number="6222"/> + <syscall name="timer_getoverrun" number="6223"/> + <syscall name="timer_delete" number="6224"/> + <syscall name="clock_settime" number="6225"/> + <syscall name="clock_gettime" number="6226"/> + <syscall name="clock_getres" number="6227"/> + <syscall name="clock_nanosleep" number="6228"/> + <syscall name="tgkill" number="6229"/> + <syscall name="utimes" number="6230"/> + <syscall name="mbind" number="6231"/> + <syscall name="get_mempolicy" number="6232"/> + <syscall name="set_mempolicy" number="6233"/> + <syscall name="mq_open" number="6234"/> + <syscall name="mq_unlink" number="6235"/> + <syscall name="mq_timedsend" number="6236"/> + <syscall name="mq_timedreceive" number="6237"/> + <syscall name="mq_notify" number="6238"/> + <syscall name="mq_getsetattr" number="6239"/> + <syscall name="vserver" number="6240"/> + <syscall name="waitid" number="6241"/> + <syscall name="add_key" number="6243"/> + <syscall name="request_key" number="6244"/> + <syscall name="keyctl" number="6245"/> + <syscall name="set_thread_area" number="6246"/> + <syscall name="inotify_init" number="6247"/> + <syscall name="inotify_add_watch" number="6248"/> + <syscall name="inotify_rm_watch" number="6249"/> + <syscall name="migrate_pages" number="6250"/> + <syscall name="openat" number="6251"/> + <syscall name="mkdirat" number="6252"/> + <syscall name="mknodat" number="6253"/> + <syscall name="fchownat" number="6254"/> + <syscall name="futimesat" number="6255"/> + <syscall name="newfstatat" number="6256"/> + <syscall name="unlinkat" number="6257"/> + <syscall name="renameat" number="6258"/> + <syscall name="linkat" number="6259"/> + <syscall name="symlinkat" number="6260"/> + <syscall name="readlinkat" number="6261"/> + <syscall name="fchmodat" number="6262"/> + <syscall name="faccessat" number="6263"/> + <syscall name="pselect6" number="6264"/> + <syscall name="ppoll" number="6265"/> + <syscall name="unshare" number="6266"/> + <syscall name="splice" number="6267"/> + <syscall name="sync_file_range" number="6268"/> + <syscall name="tee" number="6269"/> + <syscall name="vmsplice" number="6270"/> + <syscall name="move_pages" number="6271"/> + <syscall name="set_robust_list" number="6272"/> + <syscall name="get_robust_list" number="6273"/> + <syscall name="kexec_load" number="6274"/> + <syscall name="getcpu" number="6275"/> + <syscall name="epoll_pwait" number="6276"/> + <syscall name="ioprio_set" number="6277"/> + <syscall name="ioprio_get" number="6278"/> + <syscall name="utimensat" number="6279"/> + <syscall name="signalfd" number="6280"/> + <syscall name="timerfd" number="6281"/> + <syscall name="eventfd" number="6282"/> + <syscall name="fallocate" number="6283"/> + <syscall name="timerfd_create" number="6284"/> + <syscall name="timerfd_gettime" number="6285"/> + <syscall name="timerfd_settime" number="6286"/> + <syscall name="signalfd4" number="6287"/> + <syscall name="eventfd2" number="6288"/> + <syscall name="epoll_create1" number="6289"/> + <syscall name="dup3" number="6290"/> + <syscall name="pipe2" number="6291"/> + <syscall name="inotify_init1" number="6292"/> + <syscall name="preadv" number="6293"/> + <syscall name="pwritev" number="6294"/> + <syscall name="rt_tgsigqueueinfo" number="6295"/> + <syscall name="perf_event_open" number="6296"/> + <syscall name="accept4" number="6297"/> + <syscall name="recvmmsg" number="6298"/> + <syscall name="getdents64" number="6299"/> + <syscall name="fanotify_init" number="6300"/> + <syscall name="fanotify_mark" number="6301"/> + <syscall name="prlimit64" number="6302"/> +</syscalls_info> diff --git a/gdb/syscalls/mips-n64-linux.xml b/gdb/syscalls/mips-n64-linux.xml index b45f4b9..315b7ad 100644 --- a/gdb/syscalls/mips-n64-linux.xml +++ b/gdb/syscalls/mips-n64-linux.xml @@ -1,112 +1,109 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2011-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: /usr/src/linux/arch/mips/include/asm/unistd.h The file mentioned above belongs to the Linux Kernel. --> - <syscalls_info> - <syscall name="read" number="5000"/> - <syscall name="write" number="5001"/> - <syscall name="open" number="5002"/> - <syscall name="close" number="5003"/> - <syscall name="stat" number="5004"/> - <syscall name="fstat" number="5005"/> - <syscall name="lstat" number="5006"/> - <syscall name="poll" number="5007"/> - <syscall name="lseek" number="5008"/> - <syscall name="mmap" number="5009"/> - <syscall name="mprotect" number="5010"/> - <syscall name="munmap" number="5011"/> - <syscall name="brk" number="5012"/> - <syscall name="rt_sigaction" number="5013"/> - <syscall name="rt_sigprocmask" number="5014"/> - <syscall name="ioctl" number="5015"/> - <syscall name="pread64" number="5016"/> - <syscall name="pwrite64" number="5017"/> - <syscall name="readv" number="5018"/> - <syscall name="writev" number="5019"/> - <syscall name="access" number="5020"/> - <syscall name="pipe" number="5021"/> - <syscall name="_newselect" number="5022"/> + <syscall name="read" number="5000" groups="descriptor"/> + <syscall name="write" number="5001" groups="descriptor"/> + <syscall name="open" number="5002" groups="descriptor,file"/> + <syscall name="close" number="5003" groups="descriptor"/> + <syscall name="stat" number="5004" groups="file"/> + <syscall name="fstat" number="5005" groups="descriptor"/> + <syscall name="lstat" number="5006" groups="file"/> + <syscall name="poll" number="5007" groups="descriptor"/> + <syscall name="lseek" number="5008" groups="descriptor"/> + <syscall name="mmap" number="5009" groups="descriptor,memory"/> + <syscall name="mprotect" number="5010" groups="memory"/> + <syscall name="munmap" number="5011" groups="memory"/> + <syscall name="brk" number="5012" groups="memory"/> + <syscall name="rt_sigaction" number="5013" groups="signal"/> + <syscall name="rt_sigprocmask" number="5014" groups="signal"/> + <syscall name="ioctl" number="5015" groups="descriptor"/> + <syscall name="pread64" number="5016" groups="descriptor"/> + <syscall name="pwrite64" number="5017" groups="descriptor"/> + <syscall name="readv" number="5018" groups="descriptor"/> + <syscall name="writev" number="5019" groups="descriptor"/> + <syscall name="access" number="5020" groups="file"/> + <syscall name="pipe" number="5021" groups="descriptor"/> + <syscall name="_newselect" number="5022" groups="descriptor"/> <syscall name="sched_yield" number="5023"/> - <syscall name="mremap" number="5024"/> - <syscall name="msync" number="5025"/> - <syscall name="mincore" number="5026"/> - <syscall name="madvise" number="5027"/> - <syscall name="shmget" number="5028"/> - <syscall name="shmat" number="5029"/> - <syscall name="shmctl" number="5030"/> - <syscall name="dup" number="5031"/> - <syscall name="dup2" number="5032"/> - <syscall name="pause" number="5033"/> + <syscall name="mremap" number="5024" groups="memory"/> + <syscall name="msync" number="5025" groups="memory"/> + <syscall name="mincore" number="5026" groups="memory"/> + <syscall name="madvise" number="5027" groups="memory"/> + <syscall name="shmget" number="5028" groups="ipc"/> + <syscall name="shmat" number="5029" groups="ipc,memory"/> + <syscall name="shmctl" number="5030" groups="ipc"/> + <syscall name="dup" number="5031" groups="descriptor"/> + <syscall name="dup2" number="5032" groups="descriptor"/> + <syscall name="pause" number="5033" groups="signal"/> <syscall name="nanosleep" number="5034"/> <syscall name="getitimer" number="5035"/> <syscall name="setitimer" number="5036"/> <syscall name="alarm" number="5037"/> <syscall name="getpid" number="5038"/> - <syscall name="sendfile" number="5039"/> - <syscall name="socket" number="5040"/> - <syscall name="connect" number="5041"/> - <syscall name="accept" number="5042"/> - <syscall name="sendto" number="5043"/> - <syscall name="recvfrom" number="5044"/> - <syscall name="sendmsg" number="5045"/> - <syscall name="recvmsg" number="5046"/> - <syscall name="shutdown" number="5047"/> - <syscall name="bind" number="5048"/> - <syscall name="listen" number="5049"/> - <syscall name="getsockname" number="5050"/> - <syscall name="getpeername" number="5051"/> - <syscall name="socketpair" number="5052"/> - <syscall name="setsockopt" number="5053"/> - <syscall name="getsockopt" number="5054"/> - <syscall name="clone" number="5055"/> - <syscall name="fork" number="5056"/> - <syscall name="execve" number="5057"/> - <syscall name="exit" number="5058"/> - <syscall name="wait4" number="5059"/> - <syscall name="kill" number="5060"/> + <syscall name="sendfile" number="5039" groups="descriptor,network"/> + <syscall name="socket" number="5040" groups="network"/> + <syscall name="connect" number="5041" groups="network"/> + <syscall name="accept" number="5042" groups="network"/> + <syscall name="sendto" number="5043" groups="network"/> + <syscall name="recvfrom" number="5044" groups="network"/> + <syscall name="sendmsg" number="5045" groups="network"/> + <syscall name="recvmsg" number="5046" groups="network"/> + <syscall name="shutdown" number="5047" groups="network"/> + <syscall name="bind" number="5048" groups="network"/> + <syscall name="listen" number="5049" groups="network"/> + <syscall name="getsockname" number="5050" groups="network"/> + <syscall name="getpeername" number="5051" groups="network"/> + <syscall name="socketpair" number="5052" groups="network"/> + <syscall name="setsockopt" number="5053" groups="network"/> + <syscall name="getsockopt" number="5054" groups="network"/> + <syscall name="clone" number="5055" groups="process"/> + <syscall name="fork" number="5056" groups="process"/> + <syscall name="execve" number="5057" groups="file,process"/> + <syscall name="exit" number="5058" groups="process"/> + <syscall name="wait4" number="5059" groups="process"/> + <syscall name="kill" number="5060" groups="signal"/> <syscall name="uname" number="5061"/> - <syscall name="semget" number="5062"/> - <syscall name="semop" number="5063"/> - <syscall name="semctl" number="5064"/> - <syscall name="shmdt" number="5065"/> - <syscall name="msgget" number="5066"/> - <syscall name="msgsnd" number="5067"/> - <syscall name="msgrcv" number="5068"/> - <syscall name="msgctl" number="5069"/> - <syscall name="fcntl" number="5070"/> - <syscall name="flock" number="5071"/> - <syscall name="fsync" number="5072"/> - <syscall name="fdatasync" number="5073"/> - <syscall name="truncate" number="5074"/> - <syscall name="ftruncate" number="5075"/> - <syscall name="getdents" number="5076"/> - <syscall name="getcwd" number="5077"/> - <syscall name="chdir" number="5078"/> - <syscall name="fchdir" number="5079"/> - <syscall name="rename" number="5080"/> - <syscall name="mkdir" number="5081"/> - <syscall name="rmdir" number="5082"/> - <syscall name="creat" number="5083"/> - <syscall name="link" number="5084"/> - <syscall name="unlink" number="5085"/> - <syscall name="symlink" number="5086"/> - <syscall name="readlink" number="5087"/> - <syscall name="chmod" number="5088"/> - <syscall name="fchmod" number="5089"/> - <syscall name="chown" number="5090"/> - <syscall name="fchown" number="5091"/> - <syscall name="lchown" number="5092"/> + <syscall name="semget" number="5062" groups="ipc"/> + <syscall name="semop" number="5063" groups="ipc"/> + <syscall name="semctl" number="5064" groups="ipc"/> + <syscall name="shmdt" number="5065" groups="ipc,memory"/> + <syscall name="msgget" number="5066" groups="ipc"/> + <syscall name="msgsnd" number="5067" groups="ipc"/> + <syscall name="msgrcv" number="5068" groups="ipc"/> + <syscall name="msgctl" number="5069" groups="ipc"/> + <syscall name="fcntl" number="5070" groups="descriptor"/> + <syscall name="flock" number="5071" groups="descriptor"/> + <syscall name="fsync" number="5072" groups="descriptor"/> + <syscall name="fdatasync" number="5073" groups="descriptor"/> + <syscall name="truncate" number="5074" groups="file"/> + <syscall name="ftruncate" number="5075" groups="descriptor"/> + <syscall name="getdents" number="5076" groups="descriptor"/> + <syscall name="getcwd" number="5077" groups="file"/> + <syscall name="chdir" number="5078" groups="file"/> + <syscall name="fchdir" number="5079" groups="descriptor"/> + <syscall name="rename" number="5080" groups="file"/> + <syscall name="mkdir" number="5081" groups="file"/> + <syscall name="rmdir" number="5082" groups="file"/> + <syscall name="creat" number="5083" groups="descriptor,file"/> + <syscall name="link" number="5084" groups="file"/> + <syscall name="unlink" number="5085" groups="file"/> + <syscall name="symlink" number="5086" groups="file"/> + <syscall name="readlink" number="5087" groups="file"/> + <syscall name="chmod" number="5088" groups="file"/> + <syscall name="fchmod" number="5089" groups="descriptor"/> + <syscall name="chown" number="5090" groups="file"/> + <syscall name="fchown" number="5091" groups="descriptor"/> + <syscall name="lchown" number="5092" groups="file"/> <syscall name="umask" number="5093"/> <syscall name="gettimeofday" number="5094"/> <syscall name="getrlimit" number="5095"/> @@ -139,17 +136,17 @@ <syscall name="getsid" number="5122"/> <syscall name="capget" number="5123"/> <syscall name="capset" number="5124"/> - <syscall name="rt_sigpending" number="5125"/> - <syscall name="rt_sigtimedwait" number="5126"/> - <syscall name="rt_sigqueueinfo" number="5127"/> - <syscall name="rt_sigsuspend" number="5128"/> - <syscall name="sigaltstack" number="5129"/> - <syscall name="utime" number="5130"/> - <syscall name="mknod" number="5131"/> + <syscall name="rt_sigpending" number="5125" groups="signal"/> + <syscall name="rt_sigtimedwait" number="5126" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="5127" groups="signal"/> + <syscall name="rt_sigsuspend" number="5128" groups="signal"/> + <syscall name="sigaltstack" number="5129" groups="signal"/> + <syscall name="utime" number="5130" groups="file"/> + <syscall name="mknod" number="5131" groups="file"/> <syscall name="personality" number="5132"/> <syscall name="ustat" number="5133"/> - <syscall name="statfs" number="5134"/> - <syscall name="fstatfs" number="5135"/> + <syscall name="statfs" number="5134" groups="file"/> + <syscall name="fstatfs" number="5135" groups="descriptor"/> <syscall name="sysfs" number="5136"/> <syscall name="getpriority" number="5137"/> <syscall name="setpriority" number="5138"/> @@ -160,24 +157,24 @@ <syscall name="sched_get_priority_max" number="5143"/> <syscall name="sched_get_priority_min" number="5144"/> <syscall name="sched_rr_get_interval" number="5145"/> - <syscall name="mlock" number="5146"/> - <syscall name="munlock" number="5147"/> - <syscall name="mlockall" number="5148"/> - <syscall name="munlockall" number="5149"/> + <syscall name="mlock" number="5146" groups="memory"/> + <syscall name="munlock" number="5147" groups="memory"/> + <syscall name="mlockall" number="5148" groups="memory"/> + <syscall name="munlockall" number="5149" groups="memory"/> <syscall name="vhangup" number="5150"/> - <syscall name="pivot_root" number="5151"/> + <syscall name="pivot_root" number="5151" groups="file"/> <syscall name="_sysctl" number="5152"/> <syscall name="prctl" number="5153"/> <syscall name="adjtimex" number="5154"/> <syscall name="setrlimit" number="5155"/> - <syscall name="chroot" number="5156"/> + <syscall name="chroot" number="5156" groups="file"/> <syscall name="sync" number="5157"/> - <syscall name="acct" number="5158"/> + <syscall name="acct" number="5158" groups="file"/> <syscall name="settimeofday" number="5159"/> - <syscall name="mount" number="5160"/> - <syscall name="umount2" number="5161"/> - <syscall name="swapon" number="5162"/> - <syscall name="swapoff" number="5163"/> + <syscall name="mount" number="5160" groups="file"/> + <syscall name="umount2" number="5161" groups="file"/> + <syscall name="swapon" number="5162" groups="file"/> + <syscall name="swapoff" number="5163" groups="file"/> <syscall name="reboot" number="5164"/> <syscall name="sethostname" number="5165"/> <syscall name="setdomainname" number="5166"/> @@ -186,26 +183,26 @@ <syscall name="delete_module" number="5169"/> <syscall name="get_kernel_syms" number="5170"/> <syscall name="query_module" number="5171"/> - <syscall name="quotactl" number="5172"/> + <syscall name="quotactl" number="5172" groups="file"/> <syscall name="nfsservctl" number="5173"/> <syscall name="getpmsg" number="5174"/> <syscall name="putpmsg" number="5175"/> <syscall name="afs_syscall" number="5176"/> <syscall name="gettid" number="5178"/> - <syscall name="readahead" number="5179"/> - <syscall name="setxattr" number="5180"/> - <syscall name="lsetxattr" number="5181"/> - <syscall name="fsetxattr" number="5182"/> - <syscall name="getxattr" number="5183"/> - <syscall name="lgetxattr" number="5184"/> - <syscall name="fgetxattr" number="5185"/> - <syscall name="listxattr" number="5186"/> - <syscall name="llistxattr" number="5187"/> - <syscall name="flistxattr" number="5188"/> - <syscall name="removexattr" number="5189"/> - <syscall name="lremovexattr" number="5190"/> - <syscall name="fremovexattr" number="5191"/> - <syscall name="tkill" number="5192"/> + <syscall name="readahead" number="5179" groups="descriptor"/> + <syscall name="setxattr" number="5180" groups="file"/> + <syscall name="lsetxattr" number="5181" groups="file"/> + <syscall name="fsetxattr" number="5182" groups="descriptor"/> + <syscall name="getxattr" number="5183" groups="file"/> + <syscall name="lgetxattr" number="5184" groups="file"/> + <syscall name="fgetxattr" number="5185" groups="descriptor"/> + <syscall name="listxattr" number="5186" groups="file"/> + <syscall name="llistxattr" number="5187" groups="file"/> + <syscall name="flistxattr" number="5188" groups="descriptor"/> + <syscall name="removexattr" number="5189" groups="file"/> + <syscall name="lremovexattr" number="5190" groups="file"/> + <syscall name="fremovexattr" number="5191" groups="descriptor"/> + <syscall name="tkill" number="5192" groups="signal"/> <syscall name="futex" number="5194"/> <syscall name="sched_setaffinity" number="5195"/> <syscall name="sched_getaffinity" number="5196"/> @@ -217,17 +214,17 @@ <syscall name="io_getevents" number="5202"/> <syscall name="io_submit" number="5203"/> <syscall name="io_cancel" number="5204"/> - <syscall name="exit_group" number="5205"/> + <syscall name="exit_group" number="5205" groups="process"/> <syscall name="lookup_dcookie" number="5206"/> - <syscall name="epoll_create" number="5207"/> - <syscall name="epoll_ctl" number="5208"/> - <syscall name="epoll_wait" number="5209"/> - <syscall name="remap_file_pages" number="5210"/> - <syscall name="rt_sigreturn" number="5211"/> + <syscall name="epoll_create" number="5207" groups="descriptor"/> + <syscall name="epoll_ctl" number="5208" groups="descriptor"/> + <syscall name="epoll_wait" number="5209" groups="descriptor"/> + <syscall name="remap_file_pages" number="5210" groups="memory"/> + <syscall name="rt_sigreturn" number="5211" groups="signal"/> <syscall name="set_tid_address" number="5212"/> <syscall name="restart_syscall" number="5213"/> - <syscall name="semtimedop" number="5214"/> - <syscall name="fadvise64" number="5215"/> + <syscall name="semtimedop" number="5214" groups="ipc"/> + <syscall name="fadvise64" number="5215" groups="descriptor"/> <syscall name="timer_create" number="5216"/> <syscall name="timer_settime" number="5217"/> <syscall name="timer_gettime" number="5218"/> @@ -237,11 +234,11 @@ <syscall name="clock_gettime" number="5222"/> <syscall name="clock_getres" number="5223"/> <syscall name="clock_nanosleep" number="5224"/> - <syscall name="tgkill" number="5225"/> - <syscall name="utimes" number="5226"/> - <syscall name="mbind" number="5227"/> - <syscall name="get_mempolicy" number="5228"/> - <syscall name="set_mempolicy" number="5229"/> + <syscall name="tgkill" number="5225" groups="signal"/> + <syscall name="utimes" number="5226" groups="file"/> + <syscall name="mbind" number="5227" groups="memory"/> + <syscall name="get_mempolicy" number="5228" groups="memory"/> + <syscall name="set_mempolicy" number="5229" groups="memory"/> <syscall name="mq_open" number="5230"/> <syscall name="mq_unlink" number="5231"/> <syscall name="mq_timedsend" number="5232"/> @@ -249,64 +246,64 @@ <syscall name="mq_notify" number="5234"/> <syscall name="mq_getsetattr" number="5235"/> <syscall name="vserver" number="5236"/> - <syscall name="waitid" number="5237"/> + <syscall name="waitid" number="5237" groups="process"/> <syscall name="add_key" number="5239"/> <syscall name="request_key" number="5240"/> <syscall name="keyctl" number="5241"/> <syscall name="set_thread_area" number="5242"/> - <syscall name="inotify_init" number="5243"/> - <syscall name="inotify_add_watch" number="5244"/> - <syscall name="inotify_rm_watch" number="5245"/> - <syscall name="migrate_pages" number="5246"/> - <syscall name="openat" number="5247"/> - <syscall name="mkdirat" number="5248"/> - <syscall name="mknodat" number="5249"/> - <syscall name="fchownat" number="5250"/> - <syscall name="futimesat" number="5251"/> - <syscall name="newfstatat" number="5252"/> - <syscall name="unlinkat" number="5253"/> - <syscall name="renameat" number="5254"/> - <syscall name="linkat" number="5255"/> - <syscall name="symlinkat" number="5256"/> - <syscall name="readlinkat" number="5257"/> - <syscall name="fchmodat" number="5258"/> - <syscall name="faccessat" number="5259"/> - <syscall name="pselect6" number="5260"/> - <syscall name="ppoll" number="5261"/> - <syscall name="unshare" number="5262"/> - <syscall name="splice" number="5263"/> - <syscall name="sync_file_range" number="5264"/> - <syscall name="tee" number="5265"/> - <syscall name="vmsplice" number="5266"/> - <syscall name="move_pages" number="5267"/> + <syscall name="inotify_init" number="5243" groups="descriptor"/> + <syscall name="inotify_add_watch" number="5244" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="5245" groups="descriptor"/> + <syscall name="migrate_pages" number="5246" groups="memory"/> + <syscall name="openat" number="5247" groups="descriptor,file"/> + <syscall name="mkdirat" number="5248" groups="descriptor,file"/> + <syscall name="mknodat" number="5249" groups="descriptor,file"/> + <syscall name="fchownat" number="5250" groups="descriptor,file"/> + <syscall name="futimesat" number="5251" groups="descriptor,file"/> + <syscall name="newfstatat" number="5252" groups="descriptor,file"/> + <syscall name="unlinkat" number="5253" groups="descriptor,file"/> + <syscall name="renameat" number="5254" groups="descriptor,file"/> + <syscall name="linkat" number="5255" groups="descriptor,file"/> + <syscall name="symlinkat" number="5256" groups="descriptor,file"/> + <syscall name="readlinkat" number="5257" groups="descriptor,file"/> + <syscall name="fchmodat" number="5258" groups="descriptor,file"/> + <syscall name="faccessat" number="5259" groups="descriptor,file"/> + <syscall name="pselect6" number="5260" groups="descriptor"/> + <syscall name="ppoll" number="5261" groups="descriptor"/> + <syscall name="unshare" number="5262" groups="process"/> + <syscall name="splice" number="5263" groups="descriptor"/> + <syscall name="sync_file_range" number="5264" groups="descriptor"/> + <syscall name="tee" number="5265" groups="descriptor"/> + <syscall name="vmsplice" number="5266" groups="descriptor"/> + <syscall name="move_pages" number="5267" groups="memory"/> <syscall name="set_robust_list" number="5268"/> <syscall name="get_robust_list" number="5269"/> <syscall name="kexec_load" number="5270"/> <syscall name="getcpu" number="5271"/> - <syscall name="epoll_pwait" number="5272"/> + <syscall name="epoll_pwait" number="5272" groups="descriptor"/> <syscall name="ioprio_set" number="5273"/> <syscall name="ioprio_get" number="5274"/> - <syscall name="utimensat" number="5275"/> - <syscall name="signalfd" number="5276"/> - <syscall name="timerfd" number="5277"/> - <syscall name="eventfd" number="5278"/> - <syscall name="fallocate" number="5279"/> - <syscall name="timerfd_create" number="5280"/> - <syscall name="timerfd_gettime" number="5281"/> - <syscall name="timerfd_settime" number="5282"/> - <syscall name="signalfd4" number="5283"/> - <syscall name="eventfd2" number="5284"/> - <syscall name="epoll_create1" number="5285"/> - <syscall name="dup3" number="5286"/> - <syscall name="pipe2" number="5287"/> - <syscall name="inotify_init1" number="5288"/> - <syscall name="preadv" number="5289"/> - <syscall name="pwritev" number="5290"/> - <syscall name="rt_tgsigqueueinfo" number="5291"/> - <syscall name="perf_event_open" number="5292"/> - <syscall name="accept4" number="5293"/> - <syscall name="recvmmsg" number="5294"/> - <syscall name="fanotify_init" number="5295"/> - <syscall name="fanotify_mark" number="5296"/> + <syscall name="utimensat" number="5275" groups="descriptor,file"/> + <syscall name="signalfd" number="5276" groups="descriptor,signal"/> + <syscall name="timerfd" number="5277" groups="descriptor"/> + <syscall name="eventfd" number="5278" groups="descriptor"/> + <syscall name="fallocate" number="5279" groups="descriptor"/> + <syscall name="timerfd_create" number="5280" groups="descriptor"/> + <syscall name="timerfd_gettime" number="5281" groups="descriptor"/> + <syscall name="timerfd_settime" number="5282" groups="descriptor"/> + <syscall name="signalfd4" number="5283" groups="descriptor,signal"/> + <syscall name="eventfd2" number="5284" groups="descriptor"/> + <syscall name="epoll_create1" number="5285" groups="descriptor"/> + <syscall name="dup3" number="5286" groups="descriptor"/> + <syscall name="pipe2" number="5287" groups="descriptor"/> + <syscall name="inotify_init1" number="5288" groups="descriptor"/> + <syscall name="preadv" number="5289" groups="descriptor"/> + <syscall name="pwritev" number="5290" groups="descriptor"/> + <syscall name="rt_tgsigqueueinfo" number="5291" groups="process,signal"/> + <syscall name="perf_event_open" number="5292" groups="descriptor"/> + <syscall name="accept4" number="5293" groups="network"/> + <syscall name="recvmmsg" number="5294" groups="network"/> + <syscall name="fanotify_init" number="5295" groups="descriptor"/> + <syscall name="fanotify_mark" number="5296" groups="descriptor,file"/> <syscall name="prlimit64" number="5297"/> </syscalls_info> diff --git a/gdb/syscalls/mips-n64-linux.xml.in b/gdb/syscalls/mips-n64-linux.xml.in new file mode 100644 index 0000000..b45f4b9 --- /dev/null +++ b/gdb/syscalls/mips-n64-linux.xml.in @@ -0,0 +1,312 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2011-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + /usr/src/linux/arch/mips/include/asm/unistd.h + + The file mentioned above belongs to the Linux Kernel. --> + +<syscalls_info> + <syscall name="read" number="5000"/> + <syscall name="write" number="5001"/> + <syscall name="open" number="5002"/> + <syscall name="close" number="5003"/> + <syscall name="stat" number="5004"/> + <syscall name="fstat" number="5005"/> + <syscall name="lstat" number="5006"/> + <syscall name="poll" number="5007"/> + <syscall name="lseek" number="5008"/> + <syscall name="mmap" number="5009"/> + <syscall name="mprotect" number="5010"/> + <syscall name="munmap" number="5011"/> + <syscall name="brk" number="5012"/> + <syscall name="rt_sigaction" number="5013"/> + <syscall name="rt_sigprocmask" number="5014"/> + <syscall name="ioctl" number="5015"/> + <syscall name="pread64" number="5016"/> + <syscall name="pwrite64" number="5017"/> + <syscall name="readv" number="5018"/> + <syscall name="writev" number="5019"/> + <syscall name="access" number="5020"/> + <syscall name="pipe" number="5021"/> + <syscall name="_newselect" number="5022"/> + <syscall name="sched_yield" number="5023"/> + <syscall name="mremap" number="5024"/> + <syscall name="msync" number="5025"/> + <syscall name="mincore" number="5026"/> + <syscall name="madvise" number="5027"/> + <syscall name="shmget" number="5028"/> + <syscall name="shmat" number="5029"/> + <syscall name="shmctl" number="5030"/> + <syscall name="dup" number="5031"/> + <syscall name="dup2" number="5032"/> + <syscall name="pause" number="5033"/> + <syscall name="nanosleep" number="5034"/> + <syscall name="getitimer" number="5035"/> + <syscall name="setitimer" number="5036"/> + <syscall name="alarm" number="5037"/> + <syscall name="getpid" number="5038"/> + <syscall name="sendfile" number="5039"/> + <syscall name="socket" number="5040"/> + <syscall name="connect" number="5041"/> + <syscall name="accept" number="5042"/> + <syscall name="sendto" number="5043"/> + <syscall name="recvfrom" number="5044"/> + <syscall name="sendmsg" number="5045"/> + <syscall name="recvmsg" number="5046"/> + <syscall name="shutdown" number="5047"/> + <syscall name="bind" number="5048"/> + <syscall name="listen" number="5049"/> + <syscall name="getsockname" number="5050"/> + <syscall name="getpeername" number="5051"/> + <syscall name="socketpair" number="5052"/> + <syscall name="setsockopt" number="5053"/> + <syscall name="getsockopt" number="5054"/> + <syscall name="clone" number="5055"/> + <syscall name="fork" number="5056"/> + <syscall name="execve" number="5057"/> + <syscall name="exit" number="5058"/> + <syscall name="wait4" number="5059"/> + <syscall name="kill" number="5060"/> + <syscall name="uname" number="5061"/> + <syscall name="semget" number="5062"/> + <syscall name="semop" number="5063"/> + <syscall name="semctl" number="5064"/> + <syscall name="shmdt" number="5065"/> + <syscall name="msgget" number="5066"/> + <syscall name="msgsnd" number="5067"/> + <syscall name="msgrcv" number="5068"/> + <syscall name="msgctl" number="5069"/> + <syscall name="fcntl" number="5070"/> + <syscall name="flock" number="5071"/> + <syscall name="fsync" number="5072"/> + <syscall name="fdatasync" number="5073"/> + <syscall name="truncate" number="5074"/> + <syscall name="ftruncate" number="5075"/> + <syscall name="getdents" number="5076"/> + <syscall name="getcwd" number="5077"/> + <syscall name="chdir" number="5078"/> + <syscall name="fchdir" number="5079"/> + <syscall name="rename" number="5080"/> + <syscall name="mkdir" number="5081"/> + <syscall name="rmdir" number="5082"/> + <syscall name="creat" number="5083"/> + <syscall name="link" number="5084"/> + <syscall name="unlink" number="5085"/> + <syscall name="symlink" number="5086"/> + <syscall name="readlink" number="5087"/> + <syscall name="chmod" number="5088"/> + <syscall name="fchmod" number="5089"/> + <syscall name="chown" number="5090"/> + <syscall name="fchown" number="5091"/> + <syscall name="lchown" number="5092"/> + <syscall name="umask" number="5093"/> + <syscall name="gettimeofday" number="5094"/> + <syscall name="getrlimit" number="5095"/> + <syscall name="getrusage" number="5096"/> + <syscall name="sysinfo" number="5097"/> + <syscall name="times" number="5098"/> + <syscall name="ptrace" number="5099"/> + <syscall name="getuid" number="5100"/> + <syscall name="syslog" number="5101"/> + <syscall name="getgid" number="5102"/> + <syscall name="setuid" number="5103"/> + <syscall name="setgid" number="5104"/> + <syscall name="geteuid" number="5105"/> + <syscall name="getegid" number="5106"/> + <syscall name="setpgid" number="5107"/> + <syscall name="getppid" number="5108"/> + <syscall name="getpgrp" number="5109"/> + <syscall name="setsid" number="5110"/> + <syscall name="setreuid" number="5111"/> + <syscall name="setregid" number="5112"/> + <syscall name="getgroups" number="5113"/> + <syscall name="setgroups" number="5114"/> + <syscall name="setresuid" number="5115"/> + <syscall name="getresuid" number="5116"/> + <syscall name="setresgid" number="5117"/> + <syscall name="getresgid" number="5118"/> + <syscall name="getpgid" number="5119"/> + <syscall name="setfsuid" number="5120"/> + <syscall name="setfsgid" number="5121"/> + <syscall name="getsid" number="5122"/> + <syscall name="capget" number="5123"/> + <syscall name="capset" number="5124"/> + <syscall name="rt_sigpending" number="5125"/> + <syscall name="rt_sigtimedwait" number="5126"/> + <syscall name="rt_sigqueueinfo" number="5127"/> + <syscall name="rt_sigsuspend" number="5128"/> + <syscall name="sigaltstack" number="5129"/> + <syscall name="utime" number="5130"/> + <syscall name="mknod" number="5131"/> + <syscall name="personality" number="5132"/> + <syscall name="ustat" number="5133"/> + <syscall name="statfs" number="5134"/> + <syscall name="fstatfs" number="5135"/> + <syscall name="sysfs" number="5136"/> + <syscall name="getpriority" number="5137"/> + <syscall name="setpriority" number="5138"/> + <syscall name="sched_setparam" number="5139"/> + <syscall name="sched_getparam" number="5140"/> + <syscall name="sched_setscheduler" number="5141"/> + <syscall name="sched_getscheduler" number="5142"/> + <syscall name="sched_get_priority_max" number="5143"/> + <syscall name="sched_get_priority_min" number="5144"/> + <syscall name="sched_rr_get_interval" number="5145"/> + <syscall name="mlock" number="5146"/> + <syscall name="munlock" number="5147"/> + <syscall name="mlockall" number="5148"/> + <syscall name="munlockall" number="5149"/> + <syscall name="vhangup" number="5150"/> + <syscall name="pivot_root" number="5151"/> + <syscall name="_sysctl" number="5152"/> + <syscall name="prctl" number="5153"/> + <syscall name="adjtimex" number="5154"/> + <syscall name="setrlimit" number="5155"/> + <syscall name="chroot" number="5156"/> + <syscall name="sync" number="5157"/> + <syscall name="acct" number="5158"/> + <syscall name="settimeofday" number="5159"/> + <syscall name="mount" number="5160"/> + <syscall name="umount2" number="5161"/> + <syscall name="swapon" number="5162"/> + <syscall name="swapoff" number="5163"/> + <syscall name="reboot" number="5164"/> + <syscall name="sethostname" number="5165"/> + <syscall name="setdomainname" number="5166"/> + <syscall name="create_module" number="5167"/> + <syscall name="init_module" number="5168"/> + <syscall name="delete_module" number="5169"/> + <syscall name="get_kernel_syms" number="5170"/> + <syscall name="query_module" number="5171"/> + <syscall name="quotactl" number="5172"/> + <syscall name="nfsservctl" number="5173"/> + <syscall name="getpmsg" number="5174"/> + <syscall name="putpmsg" number="5175"/> + <syscall name="afs_syscall" number="5176"/> + <syscall name="gettid" number="5178"/> + <syscall name="readahead" number="5179"/> + <syscall name="setxattr" number="5180"/> + <syscall name="lsetxattr" number="5181"/> + <syscall name="fsetxattr" number="5182"/> + <syscall name="getxattr" number="5183"/> + <syscall name="lgetxattr" number="5184"/> + <syscall name="fgetxattr" number="5185"/> + <syscall name="listxattr" number="5186"/> + <syscall name="llistxattr" number="5187"/> + <syscall name="flistxattr" number="5188"/> + <syscall name="removexattr" number="5189"/> + <syscall name="lremovexattr" number="5190"/> + <syscall name="fremovexattr" number="5191"/> + <syscall name="tkill" number="5192"/> + <syscall name="futex" number="5194"/> + <syscall name="sched_setaffinity" number="5195"/> + <syscall name="sched_getaffinity" number="5196"/> + <syscall name="cacheflush" number="5197"/> + <syscall name="cachectl" number="5198"/> + <syscall name="sysmips" number="5199"/> + <syscall name="io_setup" number="5200"/> + <syscall name="io_destroy" number="5201"/> + <syscall name="io_getevents" number="5202"/> + <syscall name="io_submit" number="5203"/> + <syscall name="io_cancel" number="5204"/> + <syscall name="exit_group" number="5205"/> + <syscall name="lookup_dcookie" number="5206"/> + <syscall name="epoll_create" number="5207"/> + <syscall name="epoll_ctl" number="5208"/> + <syscall name="epoll_wait" number="5209"/> + <syscall name="remap_file_pages" number="5210"/> + <syscall name="rt_sigreturn" number="5211"/> + <syscall name="set_tid_address" number="5212"/> + <syscall name="restart_syscall" number="5213"/> + <syscall name="semtimedop" number="5214"/> + <syscall name="fadvise64" number="5215"/> + <syscall name="timer_create" number="5216"/> + <syscall name="timer_settime" number="5217"/> + <syscall name="timer_gettime" number="5218"/> + <syscall name="timer_getoverrun" number="5219"/> + <syscall name="timer_delete" number="5220"/> + <syscall name="clock_settime" number="5221"/> + <syscall name="clock_gettime" number="5222"/> + <syscall name="clock_getres" number="5223"/> + <syscall name="clock_nanosleep" number="5224"/> + <syscall name="tgkill" number="5225"/> + <syscall name="utimes" number="5226"/> + <syscall name="mbind" number="5227"/> + <syscall name="get_mempolicy" number="5228"/> + <syscall name="set_mempolicy" number="5229"/> + <syscall name="mq_open" number="5230"/> + <syscall name="mq_unlink" number="5231"/> + <syscall name="mq_timedsend" number="5232"/> + <syscall name="mq_timedreceive" number="5233"/> + <syscall name="mq_notify" number="5234"/> + <syscall name="mq_getsetattr" number="5235"/> + <syscall name="vserver" number="5236"/> + <syscall name="waitid" number="5237"/> + <syscall name="add_key" number="5239"/> + <syscall name="request_key" number="5240"/> + <syscall name="keyctl" number="5241"/> + <syscall name="set_thread_area" number="5242"/> + <syscall name="inotify_init" number="5243"/> + <syscall name="inotify_add_watch" number="5244"/> + <syscall name="inotify_rm_watch" number="5245"/> + <syscall name="migrate_pages" number="5246"/> + <syscall name="openat" number="5247"/> + <syscall name="mkdirat" number="5248"/> + <syscall name="mknodat" number="5249"/> + <syscall name="fchownat" number="5250"/> + <syscall name="futimesat" number="5251"/> + <syscall name="newfstatat" number="5252"/> + <syscall name="unlinkat" number="5253"/> + <syscall name="renameat" number="5254"/> + <syscall name="linkat" number="5255"/> + <syscall name="symlinkat" number="5256"/> + <syscall name="readlinkat" number="5257"/> + <syscall name="fchmodat" number="5258"/> + <syscall name="faccessat" number="5259"/> + <syscall name="pselect6" number="5260"/> + <syscall name="ppoll" number="5261"/> + <syscall name="unshare" number="5262"/> + <syscall name="splice" number="5263"/> + <syscall name="sync_file_range" number="5264"/> + <syscall name="tee" number="5265"/> + <syscall name="vmsplice" number="5266"/> + <syscall name="move_pages" number="5267"/> + <syscall name="set_robust_list" number="5268"/> + <syscall name="get_robust_list" number="5269"/> + <syscall name="kexec_load" number="5270"/> + <syscall name="getcpu" number="5271"/> + <syscall name="epoll_pwait" number="5272"/> + <syscall name="ioprio_set" number="5273"/> + <syscall name="ioprio_get" number="5274"/> + <syscall name="utimensat" number="5275"/> + <syscall name="signalfd" number="5276"/> + <syscall name="timerfd" number="5277"/> + <syscall name="eventfd" number="5278"/> + <syscall name="fallocate" number="5279"/> + <syscall name="timerfd_create" number="5280"/> + <syscall name="timerfd_gettime" number="5281"/> + <syscall name="timerfd_settime" number="5282"/> + <syscall name="signalfd4" number="5283"/> + <syscall name="eventfd2" number="5284"/> + <syscall name="epoll_create1" number="5285"/> + <syscall name="dup3" number="5286"/> + <syscall name="pipe2" number="5287"/> + <syscall name="inotify_init1" number="5288"/> + <syscall name="preadv" number="5289"/> + <syscall name="pwritev" number="5290"/> + <syscall name="rt_tgsigqueueinfo" number="5291"/> + <syscall name="perf_event_open" number="5292"/> + <syscall name="accept4" number="5293"/> + <syscall name="recvmmsg" number="5294"/> + <syscall name="fanotify_init" number="5295"/> + <syscall name="fanotify_mark" number="5296"/> + <syscall name="prlimit64" number="5297"/> +</syscalls_info> diff --git a/gdb/syscalls/mips-o32-linux.xml b/gdb/syscalls/mips-o32-linux.xml index 94fa3f7..90ba598 100644 --- a/gdb/syscalls/mips-o32-linux.xml +++ b/gdb/syscalls/mips-o32-linux.xml @@ -1,90 +1,87 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2011-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: /usr/src/linux/arch/mips/include/asm/unistd.h The file mentioned above belongs to the Linux Kernel. --> - <syscalls_info> <syscall name="syscall" number="4000"/> - <syscall name="exit" number="4001"/> - <syscall name="fork" number="4002"/> - <syscall name="read" number="4003"/> - <syscall name="write" number="4004"/> - <syscall name="open" number="4005"/> - <syscall name="close" number="4006"/> - <syscall name="waitpid" number="4007"/> - <syscall name="creat" number="4008"/> - <syscall name="link" number="4009"/> - <syscall name="unlink" number="4010"/> - <syscall name="execve" number="4011"/> - <syscall name="chdir" number="4012"/> + <syscall name="exit" number="4001" groups="process"/> + <syscall name="fork" number="4002" groups="process"/> + <syscall name="read" number="4003" groups="descriptor"/> + <syscall name="write" number="4004" groups="descriptor"/> + <syscall name="open" number="4005" groups="descriptor,file"/> + <syscall name="close" number="4006" groups="descriptor"/> + <syscall name="waitpid" number="4007" groups="process"/> + <syscall name="creat" number="4008" groups="descriptor,file"/> + <syscall name="link" number="4009" groups="file"/> + <syscall name="unlink" number="4010" groups="file"/> + <syscall name="execve" number="4011" groups="file,process"/> + <syscall name="chdir" number="4012" groups="file"/> <syscall name="time" number="4013"/> - <syscall name="mknod" number="4014"/> - <syscall name="chmod" number="4015"/> - <syscall name="lchown" number="4016"/> - <syscall name="break" number="4017"/> - <syscall name="lseek" number="4019"/> + <syscall name="mknod" number="4014" groups="file"/> + <syscall name="chmod" number="4015" groups="file"/> + <syscall name="lchown" number="4016" groups="file"/> + <syscall name="break" number="4017" groups="memory"/> + <syscall name="lseek" number="4019" groups="descriptor"/> <syscall name="getpid" number="4020"/> - <syscall name="mount" number="4021"/> - <syscall name="umount" number="4022"/> + <syscall name="mount" number="4021" groups="file"/> + <syscall name="umount" number="4022" groups="file"/> <syscall name="setuid" number="4023"/> <syscall name="getuid" number="4024"/> <syscall name="stime" number="4025"/> <syscall name="ptrace" number="4026"/> <syscall name="alarm" number="4027"/> - <syscall name="pause" number="4029"/> - <syscall name="utime" number="4030"/> + <syscall name="pause" number="4029" groups="signal"/> + <syscall name="utime" number="4030" groups="file"/> <syscall name="stty" number="4031"/> <syscall name="gtty" number="4032"/> - <syscall name="access" number="4033"/> + <syscall name="access" number="4033" groups="file"/> <syscall name="nice" number="4034"/> <syscall name="ftime" number="4035"/> <syscall name="sync" number="4036"/> - <syscall name="kill" number="4037"/> - <syscall name="rename" number="4038"/> - <syscall name="mkdir" number="4039"/> - <syscall name="rmdir" number="4040"/> - <syscall name="dup" number="4041"/> - <syscall name="pipe" number="4042"/> + <syscall name="kill" number="4037" groups="signal"/> + <syscall name="rename" number="4038" groups="file"/> + <syscall name="mkdir" number="4039" groups="file"/> + <syscall name="rmdir" number="4040" groups="file"/> + <syscall name="dup" number="4041" groups="descriptor"/> + <syscall name="pipe" number="4042" groups="descriptor"/> <syscall name="times" number="4043"/> <syscall name="prof" number="4044"/> - <syscall name="brk" number="4045"/> + <syscall name="brk" number="4045" groups="memory"/> <syscall name="setgid" number="4046"/> <syscall name="getgid" number="4047"/> - <syscall name="signal" number="4048"/> + <syscall name="signal" number="4048" groups="signal"/> <syscall name="geteuid" number="4049"/> <syscall name="getegid" number="4050"/> - <syscall name="acct" number="4051"/> - <syscall name="umount2" number="4052"/> + <syscall name="acct" number="4051" groups="file"/> + <syscall name="umount2" number="4052" groups="file"/> <syscall name="lock" number="4053"/> - <syscall name="ioctl" number="4054"/> - <syscall name="fcntl" number="4055"/> + <syscall name="ioctl" number="4054" groups="descriptor"/> + <syscall name="fcntl" number="4055" groups="descriptor"/> <syscall name="mpx" number="4056"/> <syscall name="setpgid" number="4057"/> <syscall name="ulimit" number="4058"/> <syscall name="umask" number="4060"/> - <syscall name="chroot" number="4061"/> + <syscall name="chroot" number="4061" groups="file"/> <syscall name="ustat" number="4062"/> - <syscall name="dup2" number="4063"/> + <syscall name="dup2" number="4063" groups="descriptor"/> <syscall name="getppid" number="4064"/> <syscall name="getpgrp" number="4065"/> <syscall name="setsid" number="4066"/> - <syscall name="sigaction" number="4067"/> - <syscall name="sgetmask" number="4068"/> - <syscall name="ssetmask" number="4069"/> + <syscall name="sigaction" number="4067" groups="signal"/> + <syscall name="sgetmask" number="4068" groups="signal"/> + <syscall name="ssetmask" number="4069" groups="signal"/> <syscall name="setreuid" number="4070"/> <syscall name="setregid" number="4071"/> - <syscall name="sigsuspend" number="4072"/> - <syscall name="sigpending" number="4073"/> + <syscall name="sigsuspend" number="4072" groups="signal"/> + <syscall name="sigpending" number="4073" groups="signal"/> <syscall name="sethostname" number="4074"/> <syscall name="setrlimit" number="4075"/> <syscall name="getrlimit" number="4076"/> @@ -93,78 +90,78 @@ <syscall name="settimeofday" number="4079"/> <syscall name="getgroups" number="4080"/> <syscall name="setgroups" number="4081"/> - <syscall name="symlink" number="4083"/> - <syscall name="readlink" number="4085"/> - <syscall name="uselib" number="4086"/> - <syscall name="swapon" number="4087"/> + <syscall name="symlink" number="4083" groups="file"/> + <syscall name="readlink" number="4085" groups="file"/> + <syscall name="uselib" number="4086" groups="file"/> + <syscall name="swapon" number="4087" groups="file"/> <syscall name="reboot" number="4088"/> - <syscall name="readdir" number="4089"/> - <syscall name="mmap" number="4090"/> - <syscall name="munmap" number="4091"/> - <syscall name="truncate" number="4092"/> - <syscall name="ftruncate" number="4093"/> - <syscall name="fchmod" number="4094"/> - <syscall name="fchown" number="4095"/> + <syscall name="readdir" number="4089" groups="descriptor"/> + <syscall name="mmap" number="4090" groups="descriptor,memory"/> + <syscall name="munmap" number="4091" groups="memory"/> + <syscall name="truncate" number="4092" groups="file"/> + <syscall name="ftruncate" number="4093" groups="descriptor"/> + <syscall name="fchmod" number="4094" groups="descriptor"/> + <syscall name="fchown" number="4095" groups="descriptor"/> <syscall name="getpriority" number="4096"/> <syscall name="setpriority" number="4097"/> <syscall name="profil" number="4098"/> - <syscall name="statfs" number="4099"/> - <syscall name="fstatfs" number="4100"/> + <syscall name="statfs" number="4099" groups="file"/> + <syscall name="fstatfs" number="4100" groups="descriptor"/> <syscall name="ioperm" number="4101"/> - <syscall name="socketcall" number="4102"/> + <syscall name="socketcall" number="4102" groups="descriptor"/> <syscall name="syslog" number="4103"/> <syscall name="setitimer" number="4104"/> <syscall name="getitimer" number="4105"/> - <syscall name="stat" number="4106"/> - <syscall name="lstat" number="4107"/> - <syscall name="fstat" number="4108"/> + <syscall name="stat" number="4106" groups="file"/> + <syscall name="lstat" number="4107" groups="file"/> + <syscall name="fstat" number="4108" groups="descriptor"/> <syscall name="iopl" number="4110"/> <syscall name="vhangup" number="4111"/> <syscall name="idle" number="4112"/> <syscall name="vm86" number="4113"/> - <syscall name="wait4" number="4114"/> - <syscall name="swapoff" number="4115"/> + <syscall name="wait4" number="4114" groups="process"/> + <syscall name="swapoff" number="4115" groups="file"/> <syscall name="sysinfo" number="4116"/> - <syscall name="ipc" number="4117"/> - <syscall name="fsync" number="4118"/> - <syscall name="sigreturn" number="4119"/> - <syscall name="clone" number="4120"/> + <syscall name="ipc" number="4117" groups="ipc"/> + <syscall name="fsync" number="4118" groups="descriptor"/> + <syscall name="sigreturn" number="4119" groups="signal"/> + <syscall name="clone" number="4120" groups="process"/> <syscall name="setdomainname" number="4121"/> <syscall name="uname" number="4122"/> <syscall name="modify_ldt" number="4123"/> <syscall name="adjtimex" number="4124"/> - <syscall name="mprotect" number="4125"/> - <syscall name="sigprocmask" number="4126"/> + <syscall name="mprotect" number="4125" groups="memory"/> + <syscall name="sigprocmask" number="4126" groups="signal"/> <syscall name="create_module" number="4127"/> <syscall name="init_module" number="4128"/> <syscall name="delete_module" number="4129"/> <syscall name="get_kernel_syms" number="4130"/> - <syscall name="quotactl" number="4131"/> + <syscall name="quotactl" number="4131" groups="file"/> <syscall name="getpgid" number="4132"/> - <syscall name="fchdir" number="4133"/> + <syscall name="fchdir" number="4133" groups="descriptor"/> <syscall name="bdflush" number="4134"/> <syscall name="sysfs" number="4135"/> <syscall name="personality" number="4136"/> <syscall name="afs_syscall" number="4137"/> <syscall name="setfsuid" number="4138"/> <syscall name="setfsgid" number="4139"/> - <syscall name="_llseek" number="4140"/> - <syscall name="getdents" number="4141"/> - <syscall name="_newselect" number="4142"/> - <syscall name="flock" number="4143"/> - <syscall name="msync" number="4144"/> - <syscall name="readv" number="4145"/> - <syscall name="writev" number="4146"/> + <syscall name="_llseek" number="4140" groups="descriptor"/> + <syscall name="getdents" number="4141" groups="descriptor"/> + <syscall name="_newselect" number="4142" groups="descriptor"/> + <syscall name="flock" number="4143" groups="descriptor"/> + <syscall name="msync" number="4144" groups="memory"/> + <syscall name="readv" number="4145" groups="descriptor"/> + <syscall name="writev" number="4146" groups="descriptor"/> <syscall name="cacheflush" number="4147"/> <syscall name="cachectl" number="4148"/> <syscall name="sysmips" number="4149"/> <syscall name="getsid" number="4151"/> - <syscall name="fdatasync" number="4152"/> + <syscall name="fdatasync" number="4152" groups="descriptor"/> <syscall name="_sysctl" number="4153"/> - <syscall name="mlock" number="4154"/> - <syscall name="munlock" number="4155"/> - <syscall name="mlockall" number="4156"/> - <syscall name="munlockall" number="4157"/> + <syscall name="mlock" number="4154" groups="memory"/> + <syscall name="munlock" number="4155" groups="memory"/> + <syscall name="mlockall" number="4156" groups="memory"/> + <syscall name="munlockall" number="4157" groups="memory"/> <syscall name="sched_setparam" number="4158"/> <syscall name="sched_getparam" number="4159"/> <syscall name="sched_setscheduler" number="4160"/> @@ -174,76 +171,76 @@ <syscall name="sched_get_priority_min" number="4164"/> <syscall name="sched_rr_get_interval" number="4165"/> <syscall name="nanosleep" number="4166"/> - <syscall name="mremap" number="4167"/> - <syscall name="accept" number="4168"/> - <syscall name="bind" number="4169"/> - <syscall name="connect" number="4170"/> - <syscall name="getpeername" number="4171"/> - <syscall name="getsockname" number="4172"/> - <syscall name="getsockopt" number="4173"/> - <syscall name="listen" number="4174"/> - <syscall name="recv" number="4175"/> - <syscall name="recvfrom" number="4176"/> - <syscall name="recvmsg" number="4177"/> - <syscall name="send" number="4178"/> - <syscall name="sendmsg" number="4179"/> - <syscall name="sendto" number="4180"/> - <syscall name="setsockopt" number="4181"/> - <syscall name="shutdown" number="4182"/> - <syscall name="socket" number="4183"/> - <syscall name="socketpair" number="4184"/> + <syscall name="mremap" number="4167" groups="memory"/> + <syscall name="accept" number="4168" groups="network"/> + <syscall name="bind" number="4169" groups="network"/> + <syscall name="connect" number="4170" groups="network"/> + <syscall name="getpeername" number="4171" groups="network"/> + <syscall name="getsockname" number="4172" groups="network"/> + <syscall name="getsockopt" number="4173" groups="network"/> + <syscall name="listen" number="4174" groups="network"/> + <syscall name="recv" number="4175" groups="network"/> + <syscall name="recvfrom" number="4176" groups="network"/> + <syscall name="recvmsg" number="4177" groups="network"/> + <syscall name="send" number="4178" groups="network"/> + <syscall name="sendmsg" number="4179" groups="network"/> + <syscall name="sendto" number="4180" groups="network"/> + <syscall name="setsockopt" number="4181" groups="network"/> + <syscall name="shutdown" number="4182" groups="network"/> + <syscall name="socket" number="4183" groups="network"/> + <syscall name="socketpair" number="4184" groups="network"/> <syscall name="setresuid" number="4185"/> <syscall name="getresuid" number="4186"/> <syscall name="query_module" number="4187"/> - <syscall name="poll" number="4188"/> + <syscall name="poll" number="4188" groups="descriptor"/> <syscall name="nfsservctl" number="4189"/> <syscall name="setresgid" number="4190"/> <syscall name="getresgid" number="4191"/> <syscall name="prctl" number="4192"/> - <syscall name="rt_sigreturn" number="4193"/> - <syscall name="rt_sigaction" number="4194"/> - <syscall name="rt_sigprocmask" number="4195"/> - <syscall name="rt_sigpending" number="4196"/> - <syscall name="rt_sigtimedwait" number="4197"/> - <syscall name="rt_sigqueueinfo" number="4198"/> - <syscall name="rt_sigsuspend" number="4199"/> - <syscall name="pread64" number="4200"/> - <syscall name="pwrite64" number="4201"/> - <syscall name="chown" number="4202"/> - <syscall name="getcwd" number="4203"/> + <syscall name="rt_sigreturn" number="4193" groups="signal"/> + <syscall name="rt_sigaction" number="4194" groups="signal"/> + <syscall name="rt_sigprocmask" number="4195" groups="signal"/> + <syscall name="rt_sigpending" number="4196" groups="signal"/> + <syscall name="rt_sigtimedwait" number="4197" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="4198" groups="signal"/> + <syscall name="rt_sigsuspend" number="4199" groups="signal"/> + <syscall name="pread64" number="4200" groups="descriptor"/> + <syscall name="pwrite64" number="4201" groups="descriptor"/> + <syscall name="chown" number="4202" groups="file"/> + <syscall name="getcwd" number="4203" groups="file"/> <syscall name="capget" number="4204"/> <syscall name="capset" number="4205"/> - <syscall name="sigaltstack" number="4206"/> - <syscall name="sendfile" number="4207"/> + <syscall name="sigaltstack" number="4206" groups="signal"/> + <syscall name="sendfile" number="4207" groups="descriptor,network"/> <syscall name="getpmsg" number="4208"/> <syscall name="putpmsg" number="4209"/> - <syscall name="mmap2" number="4210"/> - <syscall name="truncate64" number="4211"/> - <syscall name="ftruncate64" number="4212"/> - <syscall name="stat64" number="4213"/> - <syscall name="lstat64" number="4214"/> - <syscall name="fstat64" number="4215"/> - <syscall name="pivot_root" number="4216"/> - <syscall name="mincore" number="4217"/> - <syscall name="madvise" number="4218"/> - <syscall name="getdents64" number="4219"/> - <syscall name="fcntl64" number="4220"/> + <syscall name="mmap2" number="4210" groups="descriptor,memory"/> + <syscall name="truncate64" number="4211" groups="file"/> + <syscall name="ftruncate64" number="4212" groups="descriptor"/> + <syscall name="stat64" number="4213" groups="file"/> + <syscall name="lstat64" number="4214" groups="file"/> + <syscall name="fstat64" number="4215" groups="descriptor"/> + <syscall name="pivot_root" number="4216" groups="file"/> + <syscall name="mincore" number="4217" groups="memory"/> + <syscall name="madvise" number="4218" groups="memory"/> + <syscall name="getdents64" number="4219" groups="descriptor"/> + <syscall name="fcntl64" number="4220" groups="descriptor"/> <syscall name="gettid" number="4222"/> - <syscall name="readahead" number="4223"/> - <syscall name="setxattr" number="4224"/> - <syscall name="lsetxattr" number="4225"/> - <syscall name="fsetxattr" number="4226"/> - <syscall name="getxattr" number="4227"/> - <syscall name="lgetxattr" number="4228"/> - <syscall name="fgetxattr" number="4229"/> - <syscall name="listxattr" number="4230"/> - <syscall name="llistxattr" number="4231"/> - <syscall name="flistxattr" number="4232"/> - <syscall name="removexattr" number="4233"/> - <syscall name="lremovexattr" number="4234"/> - <syscall name="fremovexattr" number="4235"/> - <syscall name="tkill" number="4236"/> - <syscall name="sendfile64" number="4237"/> + <syscall name="readahead" number="4223" groups="descriptor"/> + <syscall name="setxattr" number="4224" groups="file"/> + <syscall name="lsetxattr" number="4225" groups="file"/> + <syscall name="fsetxattr" number="4226" groups="descriptor"/> + <syscall name="getxattr" number="4227" groups="file"/> + <syscall name="lgetxattr" number="4228" groups="file"/> + <syscall name="fgetxattr" number="4229" groups="descriptor"/> + <syscall name="listxattr" number="4230" groups="file"/> + <syscall name="llistxattr" number="4231" groups="file"/> + <syscall name="flistxattr" number="4232" groups="descriptor"/> + <syscall name="removexattr" number="4233" groups="file"/> + <syscall name="lremovexattr" number="4234" groups="file"/> + <syscall name="fremovexattr" number="4235" groups="descriptor"/> + <syscall name="tkill" number="4236" groups="signal"/> + <syscall name="sendfile64" number="4237" groups="descriptor,network"/> <syscall name="futex" number="4238"/> <syscall name="sched_setaffinity" number="4239"/> <syscall name="sched_getaffinity" number="4240"/> @@ -252,17 +249,17 @@ <syscall name="io_getevents" number="4243"/> <syscall name="io_submit" number="4244"/> <syscall name="io_cancel" number="4245"/> - <syscall name="exit_group" number="4246"/> + <syscall name="exit_group" number="4246" groups="process"/> <syscall name="lookup_dcookie" number="4247"/> - <syscall name="epoll_create" number="4248"/> - <syscall name="epoll_ctl" number="4249"/> - <syscall name="epoll_wait" number="4250"/> - <syscall name="remap_file_pages" number="4251"/> + <syscall name="epoll_create" number="4248" groups="descriptor"/> + <syscall name="epoll_ctl" number="4249" groups="descriptor"/> + <syscall name="epoll_wait" number="4250" groups="descriptor"/> + <syscall name="remap_file_pages" number="4251" groups="memory"/> <syscall name="set_tid_address" number="4252"/> <syscall name="restart_syscall" number="4253"/> - <syscall name="fadvise64" number="4254"/> - <syscall name="statfs64" number="4255"/> - <syscall name="fstatfs64" number="4256"/> + <syscall name="fadvise64" number="4254" groups="descriptor"/> + <syscall name="statfs64" number="4255" groups="file"/> + <syscall name="fstatfs64" number="4256" groups="descriptor"/> <syscall name="timer_create" number="4257"/> <syscall name="timer_settime" number="4258"/> <syscall name="timer_gettime" number="4259"/> @@ -272,11 +269,11 @@ <syscall name="clock_gettime" number="4263"/> <syscall name="clock_getres" number="4264"/> <syscall name="clock_nanosleep" number="4265"/> - <syscall name="tgkill" number="4266"/> - <syscall name="utimes" number="4267"/> - <syscall name="mbind" number="4268"/> - <syscall name="get_mempolicy" number="4269"/> - <syscall name="set_mempolicy" number="4270"/> + <syscall name="tgkill" number="4266" groups="signal"/> + <syscall name="utimes" number="4267" groups="file"/> + <syscall name="mbind" number="4268" groups="memory"/> + <syscall name="get_mempolicy" number="4269" groups="memory"/> + <syscall name="set_mempolicy" number="4270" groups="memory"/> <syscall name="mq_open" number="4271"/> <syscall name="mq_unlink" number="4272"/> <syscall name="mq_timedsend" number="4273"/> @@ -284,64 +281,64 @@ <syscall name="mq_notify" number="4275"/> <syscall name="mq_getsetattr" number="4276"/> <syscall name="vserver" number="4277"/> - <syscall name="waitid" number="4278"/> + <syscall name="waitid" number="4278" groups="process"/> <syscall name="add_key" number="4280"/> <syscall name="request_key" number="4281"/> <syscall name="keyctl" number="4282"/> <syscall name="set_thread_area" number="4283"/> - <syscall name="inotify_init" number="4284"/> - <syscall name="inotify_add_watch" number="4285"/> - <syscall name="inotify_rm_watch" number="4286"/> - <syscall name="migrate_pages" number="4287"/> - <syscall name="openat" number="4288"/> - <syscall name="mkdirat" number="4289"/> - <syscall name="mknodat" number="4290"/> - <syscall name="fchownat" number="4291"/> - <syscall name="futimesat" number="4292"/> - <syscall name="fstatat64" number="4293"/> - <syscall name="unlinkat" number="4294"/> - <syscall name="renameat" number="4295"/> - <syscall name="linkat" number="4296"/> - <syscall name="symlinkat" number="4297"/> - <syscall name="readlinkat" number="4298"/> - <syscall name="fchmodat" number="4299"/> - <syscall name="faccessat" number="4300"/> - <syscall name="pselect6" number="4301"/> - <syscall name="ppoll" number="4302"/> - <syscall name="unshare" number="4303"/> - <syscall name="splice" number="4304"/> - <syscall name="sync_file_range" number="4305"/> - <syscall name="tee" number="4306"/> - <syscall name="vmsplice" number="4307"/> - <syscall name="move_pages" number="4308"/> + <syscall name="inotify_init" number="4284" groups="descriptor"/> + <syscall name="inotify_add_watch" number="4285" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="4286" groups="descriptor"/> + <syscall name="migrate_pages" number="4287" groups="memory"/> + <syscall name="openat" number="4288" groups="descriptor,file"/> + <syscall name="mkdirat" number="4289" groups="descriptor,file"/> + <syscall name="mknodat" number="4290" groups="descriptor,file"/> + <syscall name="fchownat" number="4291" groups="descriptor,file"/> + <syscall name="futimesat" number="4292" groups="descriptor,file"/> + <syscall name="fstatat64" number="4293" groups="descriptor,file"/> + <syscall name="unlinkat" number="4294" groups="descriptor,file"/> + <syscall name="renameat" number="4295" groups="descriptor,file"/> + <syscall name="linkat" number="4296" groups="descriptor,file"/> + <syscall name="symlinkat" number="4297" groups="descriptor,file"/> + <syscall name="readlinkat" number="4298" groups="descriptor,file"/> + <syscall name="fchmodat" number="4299" groups="descriptor,file"/> + <syscall name="faccessat" number="4300" groups="descriptor,file"/> + <syscall name="pselect6" number="4301" groups="descriptor"/> + <syscall name="ppoll" number="4302" groups="descriptor"/> + <syscall name="unshare" number="4303" groups="process"/> + <syscall name="splice" number="4304" groups="descriptor"/> + <syscall name="sync_file_range" number="4305" groups="descriptor"/> + <syscall name="tee" number="4306" groups="descriptor"/> + <syscall name="vmsplice" number="4307" groups="descriptor"/> + <syscall name="move_pages" number="4308" groups="memory"/> <syscall name="set_robust_list" number="4309"/> <syscall name="get_robust_list" number="4310"/> <syscall name="kexec_load" number="4311"/> <syscall name="getcpu" number="4312"/> - <syscall name="epoll_pwait" number="4313"/> + <syscall name="epoll_pwait" number="4313" groups="descriptor"/> <syscall name="ioprio_set" number="4314"/> <syscall name="ioprio_get" number="4315"/> - <syscall name="utimensat" number="4316"/> - <syscall name="signalfd" number="4317"/> - <syscall name="timerfd" number="4318"/> - <syscall name="eventfd" number="4319"/> - <syscall name="fallocate" number="4320"/> - <syscall name="timerfd_create" number="4321"/> - <syscall name="timerfd_gettime" number="4322"/> - <syscall name="timerfd_settime" number="4323"/> - <syscall name="signalfd4" number="4324"/> - <syscall name="eventfd2" number="4325"/> - <syscall name="epoll_create1" number="4326"/> - <syscall name="dup3" number="4327"/> - <syscall name="pipe2" number="4328"/> - <syscall name="inotify_init1" number="4329"/> - <syscall name="preadv" number="4330"/> - <syscall name="pwritev" number="4331"/> - <syscall name="rt_tgsigqueueinfo" number="4332"/> - <syscall name="perf_event_open" number="4333"/> - <syscall name="accept4" number="4334"/> - <syscall name="recvmmsg" number="4335"/> - <syscall name="fanotify_init" number="4336"/> - <syscall name="fanotify_mark" number="4337"/> + <syscall name="utimensat" number="4316" groups="descriptor,file"/> + <syscall name="signalfd" number="4317" groups="descriptor,signal"/> + <syscall name="timerfd" number="4318" groups="descriptor"/> + <syscall name="eventfd" number="4319" groups="descriptor"/> + <syscall name="fallocate" number="4320" groups="descriptor"/> + <syscall name="timerfd_create" number="4321" groups="descriptor"/> + <syscall name="timerfd_gettime" number="4322" groups="descriptor"/> + <syscall name="timerfd_settime" number="4323" groups="descriptor"/> + <syscall name="signalfd4" number="4324" groups="descriptor,signal"/> + <syscall name="eventfd2" number="4325" groups="descriptor"/> + <syscall name="epoll_create1" number="4326" groups="descriptor"/> + <syscall name="dup3" number="4327" groups="descriptor"/> + <syscall name="pipe2" number="4328" groups="descriptor"/> + <syscall name="inotify_init1" number="4329" groups="descriptor"/> + <syscall name="preadv" number="4330" groups="descriptor"/> + <syscall name="pwritev" number="4331" groups="descriptor"/> + <syscall name="rt_tgsigqueueinfo" number="4332" groups="process,signal"/> + <syscall name="perf_event_open" number="4333" groups="descriptor"/> + <syscall name="accept4" number="4334" groups="network"/> + <syscall name="recvmmsg" number="4335" groups="network"/> + <syscall name="fanotify_init" number="4336" groups="descriptor"/> + <syscall name="fanotify_mark" number="4337" groups="descriptor,file"/> <syscall name="prlimit64" number="4338"/> </syscalls_info> diff --git a/gdb/syscalls/mips-o32-linux.xml.in b/gdb/syscalls/mips-o32-linux.xml.in new file mode 100644 index 0000000..94fa3f7 --- /dev/null +++ b/gdb/syscalls/mips-o32-linux.xml.in @@ -0,0 +1,347 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2011-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + /usr/src/linux/arch/mips/include/asm/unistd.h + + The file mentioned above belongs to the Linux Kernel. --> + +<syscalls_info> + <syscall name="syscall" number="4000"/> + <syscall name="exit" number="4001"/> + <syscall name="fork" number="4002"/> + <syscall name="read" number="4003"/> + <syscall name="write" number="4004"/> + <syscall name="open" number="4005"/> + <syscall name="close" number="4006"/> + <syscall name="waitpid" number="4007"/> + <syscall name="creat" number="4008"/> + <syscall name="link" number="4009"/> + <syscall name="unlink" number="4010"/> + <syscall name="execve" number="4011"/> + <syscall name="chdir" number="4012"/> + <syscall name="time" number="4013"/> + <syscall name="mknod" number="4014"/> + <syscall name="chmod" number="4015"/> + <syscall name="lchown" number="4016"/> + <syscall name="break" number="4017"/> + <syscall name="lseek" number="4019"/> + <syscall name="getpid" number="4020"/> + <syscall name="mount" number="4021"/> + <syscall name="umount" number="4022"/> + <syscall name="setuid" number="4023"/> + <syscall name="getuid" number="4024"/> + <syscall name="stime" number="4025"/> + <syscall name="ptrace" number="4026"/> + <syscall name="alarm" number="4027"/> + <syscall name="pause" number="4029"/> + <syscall name="utime" number="4030"/> + <syscall name="stty" number="4031"/> + <syscall name="gtty" number="4032"/> + <syscall name="access" number="4033"/> + <syscall name="nice" number="4034"/> + <syscall name="ftime" number="4035"/> + <syscall name="sync" number="4036"/> + <syscall name="kill" number="4037"/> + <syscall name="rename" number="4038"/> + <syscall name="mkdir" number="4039"/> + <syscall name="rmdir" number="4040"/> + <syscall name="dup" number="4041"/> + <syscall name="pipe" number="4042"/> + <syscall name="times" number="4043"/> + <syscall name="prof" number="4044"/> + <syscall name="brk" number="4045"/> + <syscall name="setgid" number="4046"/> + <syscall name="getgid" number="4047"/> + <syscall name="signal" number="4048"/> + <syscall name="geteuid" number="4049"/> + <syscall name="getegid" number="4050"/> + <syscall name="acct" number="4051"/> + <syscall name="umount2" number="4052"/> + <syscall name="lock" number="4053"/> + <syscall name="ioctl" number="4054"/> + <syscall name="fcntl" number="4055"/> + <syscall name="mpx" number="4056"/> + <syscall name="setpgid" number="4057"/> + <syscall name="ulimit" number="4058"/> + <syscall name="umask" number="4060"/> + <syscall name="chroot" number="4061"/> + <syscall name="ustat" number="4062"/> + <syscall name="dup2" number="4063"/> + <syscall name="getppid" number="4064"/> + <syscall name="getpgrp" number="4065"/> + <syscall name="setsid" number="4066"/> + <syscall name="sigaction" number="4067"/> + <syscall name="sgetmask" number="4068"/> + <syscall name="ssetmask" number="4069"/> + <syscall name="setreuid" number="4070"/> + <syscall name="setregid" number="4071"/> + <syscall name="sigsuspend" number="4072"/> + <syscall name="sigpending" number="4073"/> + <syscall name="sethostname" number="4074"/> + <syscall name="setrlimit" number="4075"/> + <syscall name="getrlimit" number="4076"/> + <syscall name="getrusage" number="4077"/> + <syscall name="gettimeofday" number="4078"/> + <syscall name="settimeofday" number="4079"/> + <syscall name="getgroups" number="4080"/> + <syscall name="setgroups" number="4081"/> + <syscall name="symlink" number="4083"/> + <syscall name="readlink" number="4085"/> + <syscall name="uselib" number="4086"/> + <syscall name="swapon" number="4087"/> + <syscall name="reboot" number="4088"/> + <syscall name="readdir" number="4089"/> + <syscall name="mmap" number="4090"/> + <syscall name="munmap" number="4091"/> + <syscall name="truncate" number="4092"/> + <syscall name="ftruncate" number="4093"/> + <syscall name="fchmod" number="4094"/> + <syscall name="fchown" number="4095"/> + <syscall name="getpriority" number="4096"/> + <syscall name="setpriority" number="4097"/> + <syscall name="profil" number="4098"/> + <syscall name="statfs" number="4099"/> + <syscall name="fstatfs" number="4100"/> + <syscall name="ioperm" number="4101"/> + <syscall name="socketcall" number="4102"/> + <syscall name="syslog" number="4103"/> + <syscall name="setitimer" number="4104"/> + <syscall name="getitimer" number="4105"/> + <syscall name="stat" number="4106"/> + <syscall name="lstat" number="4107"/> + <syscall name="fstat" number="4108"/> + <syscall name="iopl" number="4110"/> + <syscall name="vhangup" number="4111"/> + <syscall name="idle" number="4112"/> + <syscall name="vm86" number="4113"/> + <syscall name="wait4" number="4114"/> + <syscall name="swapoff" number="4115"/> + <syscall name="sysinfo" number="4116"/> + <syscall name="ipc" number="4117"/> + <syscall name="fsync" number="4118"/> + <syscall name="sigreturn" number="4119"/> + <syscall name="clone" number="4120"/> + <syscall name="setdomainname" number="4121"/> + <syscall name="uname" number="4122"/> + <syscall name="modify_ldt" number="4123"/> + <syscall name="adjtimex" number="4124"/> + <syscall name="mprotect" number="4125"/> + <syscall name="sigprocmask" number="4126"/> + <syscall name="create_module" number="4127"/> + <syscall name="init_module" number="4128"/> + <syscall name="delete_module" number="4129"/> + <syscall name="get_kernel_syms" number="4130"/> + <syscall name="quotactl" number="4131"/> + <syscall name="getpgid" number="4132"/> + <syscall name="fchdir" number="4133"/> + <syscall name="bdflush" number="4134"/> + <syscall name="sysfs" number="4135"/> + <syscall name="personality" number="4136"/> + <syscall name="afs_syscall" number="4137"/> + <syscall name="setfsuid" number="4138"/> + <syscall name="setfsgid" number="4139"/> + <syscall name="_llseek" number="4140"/> + <syscall name="getdents" number="4141"/> + <syscall name="_newselect" number="4142"/> + <syscall name="flock" number="4143"/> + <syscall name="msync" number="4144"/> + <syscall name="readv" number="4145"/> + <syscall name="writev" number="4146"/> + <syscall name="cacheflush" number="4147"/> + <syscall name="cachectl" number="4148"/> + <syscall name="sysmips" number="4149"/> + <syscall name="getsid" number="4151"/> + <syscall name="fdatasync" number="4152"/> + <syscall name="_sysctl" number="4153"/> + <syscall name="mlock" number="4154"/> + <syscall name="munlock" number="4155"/> + <syscall name="mlockall" number="4156"/> + <syscall name="munlockall" number="4157"/> + <syscall name="sched_setparam" number="4158"/> + <syscall name="sched_getparam" number="4159"/> + <syscall name="sched_setscheduler" number="4160"/> + <syscall name="sched_getscheduler" number="4161"/> + <syscall name="sched_yield" number="4162"/> + <syscall name="sched_get_priority_max" number="4163"/> + <syscall name="sched_get_priority_min" number="4164"/> + <syscall name="sched_rr_get_interval" number="4165"/> + <syscall name="nanosleep" number="4166"/> + <syscall name="mremap" number="4167"/> + <syscall name="accept" number="4168"/> + <syscall name="bind" number="4169"/> + <syscall name="connect" number="4170"/> + <syscall name="getpeername" number="4171"/> + <syscall name="getsockname" number="4172"/> + <syscall name="getsockopt" number="4173"/> + <syscall name="listen" number="4174"/> + <syscall name="recv" number="4175"/> + <syscall name="recvfrom" number="4176"/> + <syscall name="recvmsg" number="4177"/> + <syscall name="send" number="4178"/> + <syscall name="sendmsg" number="4179"/> + <syscall name="sendto" number="4180"/> + <syscall name="setsockopt" number="4181"/> + <syscall name="shutdown" number="4182"/> + <syscall name="socket" number="4183"/> + <syscall name="socketpair" number="4184"/> + <syscall name="setresuid" number="4185"/> + <syscall name="getresuid" number="4186"/> + <syscall name="query_module" number="4187"/> + <syscall name="poll" number="4188"/> + <syscall name="nfsservctl" number="4189"/> + <syscall name="setresgid" number="4190"/> + <syscall name="getresgid" number="4191"/> + <syscall name="prctl" number="4192"/> + <syscall name="rt_sigreturn" number="4193"/> + <syscall name="rt_sigaction" number="4194"/> + <syscall name="rt_sigprocmask" number="4195"/> + <syscall name="rt_sigpending" number="4196"/> + <syscall name="rt_sigtimedwait" number="4197"/> + <syscall name="rt_sigqueueinfo" number="4198"/> + <syscall name="rt_sigsuspend" number="4199"/> + <syscall name="pread64" number="4200"/> + <syscall name="pwrite64" number="4201"/> + <syscall name="chown" number="4202"/> + <syscall name="getcwd" number="4203"/> + <syscall name="capget" number="4204"/> + <syscall name="capset" number="4205"/> + <syscall name="sigaltstack" number="4206"/> + <syscall name="sendfile" number="4207"/> + <syscall name="getpmsg" number="4208"/> + <syscall name="putpmsg" number="4209"/> + <syscall name="mmap2" number="4210"/> + <syscall name="truncate64" number="4211"/> + <syscall name="ftruncate64" number="4212"/> + <syscall name="stat64" number="4213"/> + <syscall name="lstat64" number="4214"/> + <syscall name="fstat64" number="4215"/> + <syscall name="pivot_root" number="4216"/> + <syscall name="mincore" number="4217"/> + <syscall name="madvise" number="4218"/> + <syscall name="getdents64" number="4219"/> + <syscall name="fcntl64" number="4220"/> + <syscall name="gettid" number="4222"/> + <syscall name="readahead" number="4223"/> + <syscall name="setxattr" number="4224"/> + <syscall name="lsetxattr" number="4225"/> + <syscall name="fsetxattr" number="4226"/> + <syscall name="getxattr" number="4227"/> + <syscall name="lgetxattr" number="4228"/> + <syscall name="fgetxattr" number="4229"/> + <syscall name="listxattr" number="4230"/> + <syscall name="llistxattr" number="4231"/> + <syscall name="flistxattr" number="4232"/> + <syscall name="removexattr" number="4233"/> + <syscall name="lremovexattr" number="4234"/> + <syscall name="fremovexattr" number="4235"/> + <syscall name="tkill" number="4236"/> + <syscall name="sendfile64" number="4237"/> + <syscall name="futex" number="4238"/> + <syscall name="sched_setaffinity" number="4239"/> + <syscall name="sched_getaffinity" number="4240"/> + <syscall name="io_setup" number="4241"/> + <syscall name="io_destroy" number="4242"/> + <syscall name="io_getevents" number="4243"/> + <syscall name="io_submit" number="4244"/> + <syscall name="io_cancel" number="4245"/> + <syscall name="exit_group" number="4246"/> + <syscall name="lookup_dcookie" number="4247"/> + <syscall name="epoll_create" number="4248"/> + <syscall name="epoll_ctl" number="4249"/> + <syscall name="epoll_wait" number="4250"/> + <syscall name="remap_file_pages" number="4251"/> + <syscall name="set_tid_address" number="4252"/> + <syscall name="restart_syscall" number="4253"/> + <syscall name="fadvise64" number="4254"/> + <syscall name="statfs64" number="4255"/> + <syscall name="fstatfs64" number="4256"/> + <syscall name="timer_create" number="4257"/> + <syscall name="timer_settime" number="4258"/> + <syscall name="timer_gettime" number="4259"/> + <syscall name="timer_getoverrun" number="4260"/> + <syscall name="timer_delete" number="4261"/> + <syscall name="clock_settime" number="4262"/> + <syscall name="clock_gettime" number="4263"/> + <syscall name="clock_getres" number="4264"/> + <syscall name="clock_nanosleep" number="4265"/> + <syscall name="tgkill" number="4266"/> + <syscall name="utimes" number="4267"/> + <syscall name="mbind" number="4268"/> + <syscall name="get_mempolicy" number="4269"/> + <syscall name="set_mempolicy" number="4270"/> + <syscall name="mq_open" number="4271"/> + <syscall name="mq_unlink" number="4272"/> + <syscall name="mq_timedsend" number="4273"/> + <syscall name="mq_timedreceive" number="4274"/> + <syscall name="mq_notify" number="4275"/> + <syscall name="mq_getsetattr" number="4276"/> + <syscall name="vserver" number="4277"/> + <syscall name="waitid" number="4278"/> + <syscall name="add_key" number="4280"/> + <syscall name="request_key" number="4281"/> + <syscall name="keyctl" number="4282"/> + <syscall name="set_thread_area" number="4283"/> + <syscall name="inotify_init" number="4284"/> + <syscall name="inotify_add_watch" number="4285"/> + <syscall name="inotify_rm_watch" number="4286"/> + <syscall name="migrate_pages" number="4287"/> + <syscall name="openat" number="4288"/> + <syscall name="mkdirat" number="4289"/> + <syscall name="mknodat" number="4290"/> + <syscall name="fchownat" number="4291"/> + <syscall name="futimesat" number="4292"/> + <syscall name="fstatat64" number="4293"/> + <syscall name="unlinkat" number="4294"/> + <syscall name="renameat" number="4295"/> + <syscall name="linkat" number="4296"/> + <syscall name="symlinkat" number="4297"/> + <syscall name="readlinkat" number="4298"/> + <syscall name="fchmodat" number="4299"/> + <syscall name="faccessat" number="4300"/> + <syscall name="pselect6" number="4301"/> + <syscall name="ppoll" number="4302"/> + <syscall name="unshare" number="4303"/> + <syscall name="splice" number="4304"/> + <syscall name="sync_file_range" number="4305"/> + <syscall name="tee" number="4306"/> + <syscall name="vmsplice" number="4307"/> + <syscall name="move_pages" number="4308"/> + <syscall name="set_robust_list" number="4309"/> + <syscall name="get_robust_list" number="4310"/> + <syscall name="kexec_load" number="4311"/> + <syscall name="getcpu" number="4312"/> + <syscall name="epoll_pwait" number="4313"/> + <syscall name="ioprio_set" number="4314"/> + <syscall name="ioprio_get" number="4315"/> + <syscall name="utimensat" number="4316"/> + <syscall name="signalfd" number="4317"/> + <syscall name="timerfd" number="4318"/> + <syscall name="eventfd" number="4319"/> + <syscall name="fallocate" number="4320"/> + <syscall name="timerfd_create" number="4321"/> + <syscall name="timerfd_gettime" number="4322"/> + <syscall name="timerfd_settime" number="4323"/> + <syscall name="signalfd4" number="4324"/> + <syscall name="eventfd2" number="4325"/> + <syscall name="epoll_create1" number="4326"/> + <syscall name="dup3" number="4327"/> + <syscall name="pipe2" number="4328"/> + <syscall name="inotify_init1" number="4329"/> + <syscall name="preadv" number="4330"/> + <syscall name="pwritev" number="4331"/> + <syscall name="rt_tgsigqueueinfo" number="4332"/> + <syscall name="perf_event_open" number="4333"/> + <syscall name="accept4" number="4334"/> + <syscall name="recvmmsg" number="4335"/> + <syscall name="fanotify_init" number="4336"/> + <syscall name="fanotify_mark" number="4337"/> + <syscall name="prlimit64" number="4338"/> +</syscalls_info> diff --git a/gdb/syscalls/ppc-linux.xml b/gdb/syscalls/ppc-linux.xml index 71e7cd6..32f8523 100644 --- a/gdb/syscalls/ppc-linux.xml +++ b/gdb/syscalls/ppc-linux.xml @@ -1,93 +1,90 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: /usr/src/linux/arch/powerpc/include/asm/unistd.h The file mentioned above belongs to the Linux Kernel. --> - <syscalls_info> <syscall name="restart_syscall" number="0"/> - <syscall name="exit" number="1"/> - <syscall name="fork" number="2"/> - <syscall name="read" number="3"/> - <syscall name="write" number="4"/> - <syscall name="open" number="5"/> - <syscall name="close" number="6"/> - <syscall name="waitpid" number="7"/> - <syscall name="creat" number="8"/> - <syscall name="link" number="9"/> - <syscall name="unlink" number="10"/> - <syscall name="execve" number="11"/> - <syscall name="chdir" number="12"/> + <syscall name="exit" number="1" groups="process"/> + <syscall name="fork" number="2" groups="process"/> + <syscall name="read" number="3" groups="descriptor"/> + <syscall name="write" number="4" groups="descriptor"/> + <syscall name="open" number="5" groups="descriptor,file"/> + <syscall name="close" number="6" groups="descriptor"/> + <syscall name="waitpid" number="7" groups="process"/> + <syscall name="creat" number="8" groups="descriptor,file"/> + <syscall name="link" number="9" groups="file"/> + <syscall name="unlink" number="10" groups="file"/> + <syscall name="execve" number="11" groups="file,process"/> + <syscall name="chdir" number="12" groups="file"/> <syscall name="time" number="13"/> - <syscall name="mknod" number="14"/> - <syscall name="chmod" number="15"/> - <syscall name="lchown" number="16"/> - <syscall name="break" number="17"/> - <syscall name="oldstat" number="18"/> - <syscall name="lseek" number="19"/> + <syscall name="mknod" number="14" groups="file"/> + <syscall name="chmod" number="15" groups="file"/> + <syscall name="lchown" number="16" groups="file"/> + <syscall name="break" number="17" groups="memory"/> + <syscall name="oldstat" number="18" groups="file"/> + <syscall name="lseek" number="19" groups="descriptor"/> <syscall name="getpid" number="20"/> - <syscall name="mount" number="21"/> - <syscall name="umount" number="22"/> + <syscall name="mount" number="21" groups="file"/> + <syscall name="umount" number="22" groups="file"/> <syscall name="setuid" number="23"/> <syscall name="getuid" number="24"/> <syscall name="stime" number="25"/> <syscall name="ptrace" number="26"/> <syscall name="alarm" number="27"/> - <syscall name="oldfstat" number="28"/> - <syscall name="pause" number="29"/> - <syscall name="utime" number="30"/> + <syscall name="oldfstat" number="28" groups="descriptor"/> + <syscall name="pause" number="29" groups="signal"/> + <syscall name="utime" number="30" groups="file"/> <syscall name="stty" number="31"/> <syscall name="gtty" number="32"/> - <syscall name="access" number="33"/> + <syscall name="access" number="33" groups="file"/> <syscall name="nice" number="34"/> <syscall name="ftime" number="35"/> <syscall name="sync" number="36"/> - <syscall name="kill" number="37"/> - <syscall name="rename" number="38"/> - <syscall name="mkdir" number="39"/> - <syscall name="rmdir" number="40"/> - <syscall name="dup" number="41"/> - <syscall name="pipe" number="42"/> + <syscall name="kill" number="37" groups="signal"/> + <syscall name="rename" number="38" groups="file"/> + <syscall name="mkdir" number="39" groups="file"/> + <syscall name="rmdir" number="40" groups="file"/> + <syscall name="dup" number="41" groups="descriptor"/> + <syscall name="pipe" number="42" groups="descriptor"/> <syscall name="times" number="43"/> <syscall name="prof" number="44"/> - <syscall name="brk" number="45"/> + <syscall name="brk" number="45" groups="memory"/> <syscall name="setgid" number="46"/> <syscall name="getgid" number="47"/> - <syscall name="signal" number="48"/> + <syscall name="signal" number="48" groups="signal"/> <syscall name="geteuid" number="49"/> <syscall name="getegid" number="50"/> - <syscall name="acct" number="51"/> - <syscall name="umount2" number="52"/> + <syscall name="acct" number="51" groups="file"/> + <syscall name="umount2" number="52" groups="file"/> <syscall name="lock" number="53"/> - <syscall name="ioctl" number="54"/> - <syscall name="fcntl" number="55"/> + <syscall name="ioctl" number="54" groups="descriptor"/> + <syscall name="fcntl" number="55" groups="descriptor"/> <syscall name="mpx" number="56"/> <syscall name="setpgid" number="57"/> <syscall name="ulimit" number="58"/> <syscall name="oldolduname" number="59"/> <syscall name="umask" number="60"/> - <syscall name="chroot" number="61"/> + <syscall name="chroot" number="61" groups="file"/> <syscall name="ustat" number="62"/> - <syscall name="dup2" number="63"/> + <syscall name="dup2" number="63" groups="descriptor"/> <syscall name="getppid" number="64"/> <syscall name="getpgrp" number="65"/> <syscall name="setsid" number="66"/> - <syscall name="sigaction" number="67"/> - <syscall name="sgetmask" number="68"/> - <syscall name="ssetmask" number="69"/> + <syscall name="sigaction" number="67" groups="signal"/> + <syscall name="sgetmask" number="68" groups="signal"/> + <syscall name="ssetmask" number="69" groups="signal"/> <syscall name="setreuid" number="70"/> <syscall name="setregid" number="71"/> - <syscall name="sigsuspend" number="72"/> - <syscall name="sigpending" number="73"/> + <syscall name="sigsuspend" number="72" groups="signal"/> + <syscall name="sigpending" number="73" groups="signal"/> <syscall name="sethostname" number="74"/> <syscall name="setrlimit" number="75"/> <syscall name="getrlimit" number="76"/> @@ -96,78 +93,78 @@ <syscall name="settimeofday" number="79"/> <syscall name="getgroups" number="80"/> <syscall name="setgroups" number="81"/> - <syscall name="select" number="82"/> - <syscall name="symlink" number="83"/> - <syscall name="oldlstat" number="84"/> - <syscall name="readlink" number="85"/> - <syscall name="uselib" number="86"/> - <syscall name="swapon" number="87"/> + <syscall name="select" number="82" groups="descriptor"/> + <syscall name="symlink" number="83" groups="file"/> + <syscall name="oldlstat" number="84" groups="file"/> + <syscall name="readlink" number="85" groups="file"/> + <syscall name="uselib" number="86" groups="file"/> + <syscall name="swapon" number="87" groups="file"/> <syscall name="reboot" number="88"/> - <syscall name="readdir" number="89"/> - <syscall name="mmap" number="90"/> - <syscall name="munmap" number="91"/> - <syscall name="truncate" number="92"/> - <syscall name="ftruncate" number="93"/> - <syscall name="fchmod" number="94"/> - <syscall name="fchown" number="95"/> + <syscall name="readdir" number="89" groups="descriptor"/> + <syscall name="mmap" number="90" groups="descriptor,memory"/> + <syscall name="munmap" number="91" groups="memory"/> + <syscall name="truncate" number="92" groups="file"/> + <syscall name="ftruncate" number="93" groups="descriptor"/> + <syscall name="fchmod" number="94" groups="descriptor"/> + <syscall name="fchown" number="95" groups="descriptor"/> <syscall name="getpriority" number="96"/> <syscall name="setpriority" number="97"/> <syscall name="profil" number="98"/> - <syscall name="statfs" number="99"/> - <syscall name="fstatfs" number="100"/> + <syscall name="statfs" number="99" groups="file"/> + <syscall name="fstatfs" number="100" groups="descriptor"/> <syscall name="ioperm" number="101"/> - <syscall name="socketcall" number="102"/> + <syscall name="socketcall" number="102" groups="descriptor"/> <syscall name="syslog" number="103"/> <syscall name="setitimer" number="104"/> <syscall name="getitimer" number="105"/> - <syscall name="stat" number="106"/> - <syscall name="lstat" number="107"/> - <syscall name="fstat" number="108"/> + <syscall name="stat" number="106" groups="file"/> + <syscall name="lstat" number="107" groups="file"/> + <syscall name="fstat" number="108" groups="descriptor"/> <syscall name="olduname" number="109"/> <syscall name="iopl" number="110"/> <syscall name="vhangup" number="111"/> <syscall name="idle" number="112"/> <syscall name="vm86" number="113"/> - <syscall name="wait4" number="114"/> - <syscall name="swapoff" number="115"/> + <syscall name="wait4" number="114" groups="process"/> + <syscall name="swapoff" number="115" groups="file"/> <syscall name="sysinfo" number="116"/> - <syscall name="ipc" number="117"/> - <syscall name="fsync" number="118"/> - <syscall name="sigreturn" number="119"/> - <syscall name="clone" number="120"/> + <syscall name="ipc" number="117" groups="ipc"/> + <syscall name="fsync" number="118" groups="descriptor"/> + <syscall name="sigreturn" number="119" groups="signal"/> + <syscall name="clone" number="120" groups="process"/> <syscall name="setdomainname" number="121"/> <syscall name="uname" number="122"/> <syscall name="modify_ldt" number="123"/> <syscall name="adjtimex" number="124"/> - <syscall name="mprotect" number="125"/> - <syscall name="sigprocmask" number="126"/> + <syscall name="mprotect" number="125" groups="memory"/> + <syscall name="sigprocmask" number="126" groups="signal"/> <syscall name="create_module" number="127"/> <syscall name="init_module" number="128"/> <syscall name="delete_module" number="129"/> <syscall name="get_kernel_syms" number="130"/> - <syscall name="quotactl" number="131"/> + <syscall name="quotactl" number="131" groups="file"/> <syscall name="getpgid" number="132"/> - <syscall name="fchdir" number="133"/> + <syscall name="fchdir" number="133" groups="descriptor"/> <syscall name="bdflush" number="134"/> <syscall name="sysfs" number="135"/> <syscall name="personality" number="136"/> <syscall name="afs_syscall" number="137"/> <syscall name="setfsuid" number="138"/> <syscall name="setfsgid" number="139"/> - <syscall name="_llseek" number="140"/> - <syscall name="getdents" number="141"/> - <syscall name="_newselect" number="142"/> - <syscall name="flock" number="143"/> - <syscall name="msync" number="144"/> - <syscall name="readv" number="145"/> - <syscall name="writev" number="146"/> + <syscall name="_llseek" number="140" groups="descriptor"/> + <syscall name="getdents" number="141" groups="descriptor"/> + <syscall name="_newselect" number="142" groups="descriptor"/> + <syscall name="flock" number="143" groups="descriptor"/> + <syscall name="msync" number="144" groups="memory"/> + <syscall name="readv" number="145" groups="descriptor"/> + <syscall name="writev" number="146" groups="descriptor"/> <syscall name="getsid" number="147"/> - <syscall name="fdatasync" number="148"/> + <syscall name="fdatasync" number="148" groups="descriptor"/> <syscall name="_sysctl" number="149"/> - <syscall name="mlock" number="150"/> - <syscall name="munlock" number="151"/> - <syscall name="mlockall" number="152"/> - <syscall name="munlockall" number="153"/> + <syscall name="mlock" number="150" groups="memory"/> + <syscall name="munlock" number="151" groups="memory"/> + <syscall name="mlockall" number="152" groups="memory"/> + <syscall name="munlockall" number="153" groups="memory"/> <syscall name="sched_setparam" number="154"/> <syscall name="sched_getparam" number="155"/> <syscall name="sched_setscheduler" number="156"/> @@ -177,82 +174,82 @@ <syscall name="sched_get_priority_min" number="160"/> <syscall name="sched_rr_get_interval" number="161"/> <syscall name="nanosleep" number="162"/> - <syscall name="mremap" number="163"/> + <syscall name="mremap" number="163" groups="memory"/> <syscall name="setresuid" number="164"/> <syscall name="getresuid" number="165"/> <syscall name="query_module" number="166"/> - <syscall name="poll" number="167"/> + <syscall name="poll" number="167" groups="descriptor"/> <syscall name="nfsservctl" number="168"/> <syscall name="setresgid" number="169"/> <syscall name="getresgid" number="170"/> <syscall name="prctl" number="171"/> - <syscall name="rt_sigreturn" number="172"/> - <syscall name="rt_sigaction" number="173"/> - <syscall name="rt_sigprocmask" number="174"/> - <syscall name="rt_sigpending" number="175"/> - <syscall name="rt_sigtimedwait" number="176"/> - <syscall name="rt_sigqueueinfo" number="177"/> - <syscall name="rt_sigsuspend" number="178"/> - <syscall name="pread64" number="179"/> - <syscall name="pwrite64" number="180"/> - <syscall name="chown" number="181"/> - <syscall name="getcwd" number="182"/> + <syscall name="rt_sigreturn" number="172" groups="signal"/> + <syscall name="rt_sigaction" number="173" groups="signal"/> + <syscall name="rt_sigprocmask" number="174" groups="signal"/> + <syscall name="rt_sigpending" number="175" groups="signal"/> + <syscall name="rt_sigtimedwait" number="176" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="177" groups="signal"/> + <syscall name="rt_sigsuspend" number="178" groups="signal"/> + <syscall name="pread64" number="179" groups="descriptor"/> + <syscall name="pwrite64" number="180" groups="descriptor"/> + <syscall name="chown" number="181" groups="file"/> + <syscall name="getcwd" number="182" groups="file"/> <syscall name="capget" number="183"/> <syscall name="capset" number="184"/> - <syscall name="sigaltstack" number="185"/> - <syscall name="sendfile" number="186"/> + <syscall name="sigaltstack" number="185" groups="signal"/> + <syscall name="sendfile" number="186" groups="descriptor,network"/> <syscall name="getpmsg" number="187"/> <syscall name="putpmsg" number="188"/> - <syscall name="vfork" number="189"/> + <syscall name="vfork" number="189" groups="process"/> <syscall name="ugetrlimit" number="190"/> - <syscall name="readahead" number="191"/> - <syscall name="mmap2" number="192"/> - <syscall name="truncate64" number="193"/> - <syscall name="ftruncate64" number="194"/> - <syscall name="stat64" number="195"/> - <syscall name="lstat64" number="196"/> - <syscall name="fstat64" number="197"/> + <syscall name="readahead" number="191" groups="descriptor"/> + <syscall name="mmap2" number="192" groups="descriptor,memory"/> + <syscall name="truncate64" number="193" groups="file"/> + <syscall name="ftruncate64" number="194" groups="descriptor"/> + <syscall name="stat64" number="195" groups="file"/> + <syscall name="lstat64" number="196" groups="file"/> + <syscall name="fstat64" number="197" groups="descriptor"/> <syscall name="pciconfig_read" number="198"/> <syscall name="pciconfig_write" number="199"/> <syscall name="pciconfig_iobase" number="200"/> <syscall name="multiplexer" number="201"/> - <syscall name="getdents64" number="202"/> - <syscall name="pivot_root" number="203"/> - <syscall name="fcntl64" number="204"/> - <syscall name="madvise" number="205"/> - <syscall name="mincore" number="206"/> + <syscall name="getdents64" number="202" groups="descriptor"/> + <syscall name="pivot_root" number="203" groups="file"/> + <syscall name="fcntl64" number="204" groups="descriptor"/> + <syscall name="madvise" number="205" groups="memory"/> + <syscall name="mincore" number="206" groups="memory"/> <syscall name="gettid" number="207"/> - <syscall name="tkill" number="208"/> - <syscall name="setxattr" number="209"/> - <syscall name="lsetxattr" number="210"/> - <syscall name="fsetxattr" number="211"/> - <syscall name="getxattr" number="212"/> - <syscall name="lgetxattr" number="213"/> - <syscall name="fgetxattr" number="214"/> - <syscall name="listxattr" number="215"/> - <syscall name="llistxattr" number="216"/> - <syscall name="flistxattr" number="217"/> - <syscall name="removexattr" number="218"/> - <syscall name="lremovexattr" number="219"/> - <syscall name="fremovexattr" number="220"/> + <syscall name="tkill" number="208" groups="signal"/> + <syscall name="setxattr" number="209" groups="file"/> + <syscall name="lsetxattr" number="210" groups="file"/> + <syscall name="fsetxattr" number="211" groups="descriptor"/> + <syscall name="getxattr" number="212" groups="file"/> + <syscall name="lgetxattr" number="213" groups="file"/> + <syscall name="fgetxattr" number="214" groups="descriptor"/> + <syscall name="listxattr" number="215" groups="file"/> + <syscall name="llistxattr" number="216" groups="file"/> + <syscall name="flistxattr" number="217" groups="descriptor"/> + <syscall name="removexattr" number="218" groups="file"/> + <syscall name="lremovexattr" number="219" groups="file"/> + <syscall name="fremovexattr" number="220" groups="descriptor"/> <syscall name="futex" number="221"/> <syscall name="sched_setaffinity" number="222"/> <syscall name="sched_getaffinity" number="223"/> <syscall name="tuxcall" number="225"/> - <syscall name="sendfile64" number="226"/> + <syscall name="sendfile64" number="226" groups="descriptor,network"/> <syscall name="io_setup" number="227"/> <syscall name="io_destroy" number="228"/> <syscall name="io_getevents" number="229"/> <syscall name="io_submit" number="230"/> <syscall name="io_cancel" number="231"/> <syscall name="set_tid_address" number="232"/> - <syscall name="fadvise64" number="233"/> - <syscall name="exit_group" number="234"/> + <syscall name="fadvise64" number="233" groups="descriptor"/> + <syscall name="exit_group" number="234" groups="process"/> <syscall name="lookup_dcookie" number="235"/> - <syscall name="epoll_create" number="236"/> - <syscall name="epoll_ctl" number="237"/> - <syscall name="epoll_wait" number="238"/> - <syscall name="remap_file_pages" number="239"/> + <syscall name="epoll_create" number="236" groups="descriptor"/> + <syscall name="epoll_ctl" number="237" groups="descriptor"/> + <syscall name="epoll_wait" number="238" groups="descriptor"/> + <syscall name="remap_file_pages" number="239" groups="memory"/> <syscall name="timer_create" number="240"/> <syscall name="timer_settime" number="241"/> <syscall name="timer_gettime" number="242"/> @@ -263,16 +260,16 @@ <syscall name="clock_getres" number="247"/> <syscall name="clock_nanosleep" number="248"/> <syscall name="swapcontext" number="249"/> - <syscall name="tgkill" number="250"/> - <syscall name="utimes" number="251"/> - <syscall name="statfs64" number="252"/> - <syscall name="fstatfs64" number="253"/> - <syscall name="fadvise64_64" number="254"/> + <syscall name="tgkill" number="250" groups="signal"/> + <syscall name="utimes" number="251" groups="file"/> + <syscall name="statfs64" number="252" groups="file"/> + <syscall name="fstatfs64" number="253" groups="descriptor"/> + <syscall name="fadvise64_64" number="254" groups="descriptor"/> <syscall name="rtas" number="255"/> <syscall name="sys_debug_setcontext" number="256"/> - <syscall name="mbind" number="259"/> - <syscall name="get_mempolicy" number="260"/> - <syscall name="set_mempolicy" number="261"/> + <syscall name="mbind" number="259" groups="memory"/> + <syscall name="get_mempolicy" number="260" groups="memory"/> + <syscall name="set_mempolicy" number="261" groups="memory"/> <syscall name="mq_open" number="262"/> <syscall name="mq_unlink" number="263"/> <syscall name="mq_timedsend" number="264"/> @@ -283,28 +280,28 @@ <syscall name="add_key" number="269"/> <syscall name="request_key" number="270"/> <syscall name="keyctl" number="271"/> - <syscall name="waitid" number="272"/> + <syscall name="waitid" number="272" groups="process"/> <syscall name="ioprio_set" number="273"/> <syscall name="ioprio_get" number="274"/> - <syscall name="inotify_init" number="275"/> - <syscall name="inotify_add_watch" number="276"/> - <syscall name="inotify_rm_watch" number="277"/> + <syscall name="inotify_init" number="275" groups="descriptor"/> + <syscall name="inotify_add_watch" number="276" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="277" groups="descriptor"/> <syscall name="spu_run" number="278"/> <syscall name="spu_create" number="279"/> - <syscall name="pselect6" number="280"/> - <syscall name="ppoll" number="281"/> - <syscall name="unshare" number="282"/> - <syscall name="openat" number="286"/> - <syscall name="mkdirat" number="287"/> - <syscall name="mknodat" number="288"/> - <syscall name="fchownat" number="289"/> - <syscall name="futimesat" number="290"/> - <syscall name="fstatat64" number="291"/> - <syscall name="unlinkat" number="292"/> - <syscall name="renameat" number="293"/> - <syscall name="linkat" number="294"/> - <syscall name="symlinkat" number="295"/> - <syscall name="readlinkat" number="296"/> - <syscall name="fchmodat" number="297"/> - <syscall name="faccessat" number="298"/> + <syscall name="pselect6" number="280" groups="descriptor"/> + <syscall name="ppoll" number="281" groups="descriptor"/> + <syscall name="unshare" number="282" groups="process"/> + <syscall name="openat" number="286" groups="descriptor,file"/> + <syscall name="mkdirat" number="287" groups="descriptor,file"/> + <syscall name="mknodat" number="288" groups="descriptor,file"/> + <syscall name="fchownat" number="289" groups="descriptor,file"/> + <syscall name="futimesat" number="290" groups="descriptor,file"/> + <syscall name="fstatat64" number="291" groups="descriptor,file"/> + <syscall name="unlinkat" number="292" groups="descriptor,file"/> + <syscall name="renameat" number="293" groups="descriptor,file"/> + <syscall name="linkat" number="294" groups="descriptor,file"/> + <syscall name="symlinkat" number="295" groups="descriptor,file"/> + <syscall name="readlinkat" number="296" groups="descriptor,file"/> + <syscall name="fchmodat" number="297" groups="descriptor,file"/> + <syscall name="faccessat" number="298" groups="descriptor,file"/> </syscalls_info> diff --git a/gdb/syscalls/ppc-linux.xml.in b/gdb/syscalls/ppc-linux.xml.in new file mode 100644 index 0000000..71e7cd6 --- /dev/null +++ b/gdb/syscalls/ppc-linux.xml.in @@ -0,0 +1,310 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + /usr/src/linux/arch/powerpc/include/asm/unistd.h + + The file mentioned above belongs to the Linux Kernel. --> + +<syscalls_info> + <syscall name="restart_syscall" number="0"/> + <syscall name="exit" number="1"/> + <syscall name="fork" number="2"/> + <syscall name="read" number="3"/> + <syscall name="write" number="4"/> + <syscall name="open" number="5"/> + <syscall name="close" number="6"/> + <syscall name="waitpid" number="7"/> + <syscall name="creat" number="8"/> + <syscall name="link" number="9"/> + <syscall name="unlink" number="10"/> + <syscall name="execve" number="11"/> + <syscall name="chdir" number="12"/> + <syscall name="time" number="13"/> + <syscall name="mknod" number="14"/> + <syscall name="chmod" number="15"/> + <syscall name="lchown" number="16"/> + <syscall name="break" number="17"/> + <syscall name="oldstat" number="18"/> + <syscall name="lseek" number="19"/> + <syscall name="getpid" number="20"/> + <syscall name="mount" number="21"/> + <syscall name="umount" number="22"/> + <syscall name="setuid" number="23"/> + <syscall name="getuid" number="24"/> + <syscall name="stime" number="25"/> + <syscall name="ptrace" number="26"/> + <syscall name="alarm" number="27"/> + <syscall name="oldfstat" number="28"/> + <syscall name="pause" number="29"/> + <syscall name="utime" number="30"/> + <syscall name="stty" number="31"/> + <syscall name="gtty" number="32"/> + <syscall name="access" number="33"/> + <syscall name="nice" number="34"/> + <syscall name="ftime" number="35"/> + <syscall name="sync" number="36"/> + <syscall name="kill" number="37"/> + <syscall name="rename" number="38"/> + <syscall name="mkdir" number="39"/> + <syscall name="rmdir" number="40"/> + <syscall name="dup" number="41"/> + <syscall name="pipe" number="42"/> + <syscall name="times" number="43"/> + <syscall name="prof" number="44"/> + <syscall name="brk" number="45"/> + <syscall name="setgid" number="46"/> + <syscall name="getgid" number="47"/> + <syscall name="signal" number="48"/> + <syscall name="geteuid" number="49"/> + <syscall name="getegid" number="50"/> + <syscall name="acct" number="51"/> + <syscall name="umount2" number="52"/> + <syscall name="lock" number="53"/> + <syscall name="ioctl" number="54"/> + <syscall name="fcntl" number="55"/> + <syscall name="mpx" number="56"/> + <syscall name="setpgid" number="57"/> + <syscall name="ulimit" number="58"/> + <syscall name="oldolduname" number="59"/> + <syscall name="umask" number="60"/> + <syscall name="chroot" number="61"/> + <syscall name="ustat" number="62"/> + <syscall name="dup2" number="63"/> + <syscall name="getppid" number="64"/> + <syscall name="getpgrp" number="65"/> + <syscall name="setsid" number="66"/> + <syscall name="sigaction" number="67"/> + <syscall name="sgetmask" number="68"/> + <syscall name="ssetmask" number="69"/> + <syscall name="setreuid" number="70"/> + <syscall name="setregid" number="71"/> + <syscall name="sigsuspend" number="72"/> + <syscall name="sigpending" number="73"/> + <syscall name="sethostname" number="74"/> + <syscall name="setrlimit" number="75"/> + <syscall name="getrlimit" number="76"/> + <syscall name="getrusage" number="77"/> + <syscall name="gettimeofday" number="78"/> + <syscall name="settimeofday" number="79"/> + <syscall name="getgroups" number="80"/> + <syscall name="setgroups" number="81"/> + <syscall name="select" number="82"/> + <syscall name="symlink" number="83"/> + <syscall name="oldlstat" number="84"/> + <syscall name="readlink" number="85"/> + <syscall name="uselib" number="86"/> + <syscall name="swapon" number="87"/> + <syscall name="reboot" number="88"/> + <syscall name="readdir" number="89"/> + <syscall name="mmap" number="90"/> + <syscall name="munmap" number="91"/> + <syscall name="truncate" number="92"/> + <syscall name="ftruncate" number="93"/> + <syscall name="fchmod" number="94"/> + <syscall name="fchown" number="95"/> + <syscall name="getpriority" number="96"/> + <syscall name="setpriority" number="97"/> + <syscall name="profil" number="98"/> + <syscall name="statfs" number="99"/> + <syscall name="fstatfs" number="100"/> + <syscall name="ioperm" number="101"/> + <syscall name="socketcall" number="102"/> + <syscall name="syslog" number="103"/> + <syscall name="setitimer" number="104"/> + <syscall name="getitimer" number="105"/> + <syscall name="stat" number="106"/> + <syscall name="lstat" number="107"/> + <syscall name="fstat" number="108"/> + <syscall name="olduname" number="109"/> + <syscall name="iopl" number="110"/> + <syscall name="vhangup" number="111"/> + <syscall name="idle" number="112"/> + <syscall name="vm86" number="113"/> + <syscall name="wait4" number="114"/> + <syscall name="swapoff" number="115"/> + <syscall name="sysinfo" number="116"/> + <syscall name="ipc" number="117"/> + <syscall name="fsync" number="118"/> + <syscall name="sigreturn" number="119"/> + <syscall name="clone" number="120"/> + <syscall name="setdomainname" number="121"/> + <syscall name="uname" number="122"/> + <syscall name="modify_ldt" number="123"/> + <syscall name="adjtimex" number="124"/> + <syscall name="mprotect" number="125"/> + <syscall name="sigprocmask" number="126"/> + <syscall name="create_module" number="127"/> + <syscall name="init_module" number="128"/> + <syscall name="delete_module" number="129"/> + <syscall name="get_kernel_syms" number="130"/> + <syscall name="quotactl" number="131"/> + <syscall name="getpgid" number="132"/> + <syscall name="fchdir" number="133"/> + <syscall name="bdflush" number="134"/> + <syscall name="sysfs" number="135"/> + <syscall name="personality" number="136"/> + <syscall name="afs_syscall" number="137"/> + <syscall name="setfsuid" number="138"/> + <syscall name="setfsgid" number="139"/> + <syscall name="_llseek" number="140"/> + <syscall name="getdents" number="141"/> + <syscall name="_newselect" number="142"/> + <syscall name="flock" number="143"/> + <syscall name="msync" number="144"/> + <syscall name="readv" number="145"/> + <syscall name="writev" number="146"/> + <syscall name="getsid" number="147"/> + <syscall name="fdatasync" number="148"/> + <syscall name="_sysctl" number="149"/> + <syscall name="mlock" number="150"/> + <syscall name="munlock" number="151"/> + <syscall name="mlockall" number="152"/> + <syscall name="munlockall" number="153"/> + <syscall name="sched_setparam" number="154"/> + <syscall name="sched_getparam" number="155"/> + <syscall name="sched_setscheduler" number="156"/> + <syscall name="sched_getscheduler" number="157"/> + <syscall name="sched_yield" number="158"/> + <syscall name="sched_get_priority_max" number="159"/> + <syscall name="sched_get_priority_min" number="160"/> + <syscall name="sched_rr_get_interval" number="161"/> + <syscall name="nanosleep" number="162"/> + <syscall name="mremap" number="163"/> + <syscall name="setresuid" number="164"/> + <syscall name="getresuid" number="165"/> + <syscall name="query_module" number="166"/> + <syscall name="poll" number="167"/> + <syscall name="nfsservctl" number="168"/> + <syscall name="setresgid" number="169"/> + <syscall name="getresgid" number="170"/> + <syscall name="prctl" number="171"/> + <syscall name="rt_sigreturn" number="172"/> + <syscall name="rt_sigaction" number="173"/> + <syscall name="rt_sigprocmask" number="174"/> + <syscall name="rt_sigpending" number="175"/> + <syscall name="rt_sigtimedwait" number="176"/> + <syscall name="rt_sigqueueinfo" number="177"/> + <syscall name="rt_sigsuspend" number="178"/> + <syscall name="pread64" number="179"/> + <syscall name="pwrite64" number="180"/> + <syscall name="chown" number="181"/> + <syscall name="getcwd" number="182"/> + <syscall name="capget" number="183"/> + <syscall name="capset" number="184"/> + <syscall name="sigaltstack" number="185"/> + <syscall name="sendfile" number="186"/> + <syscall name="getpmsg" number="187"/> + <syscall name="putpmsg" number="188"/> + <syscall name="vfork" number="189"/> + <syscall name="ugetrlimit" number="190"/> + <syscall name="readahead" number="191"/> + <syscall name="mmap2" number="192"/> + <syscall name="truncate64" number="193"/> + <syscall name="ftruncate64" number="194"/> + <syscall name="stat64" number="195"/> + <syscall name="lstat64" number="196"/> + <syscall name="fstat64" number="197"/> + <syscall name="pciconfig_read" number="198"/> + <syscall name="pciconfig_write" number="199"/> + <syscall name="pciconfig_iobase" number="200"/> + <syscall name="multiplexer" number="201"/> + <syscall name="getdents64" number="202"/> + <syscall name="pivot_root" number="203"/> + <syscall name="fcntl64" number="204"/> + <syscall name="madvise" number="205"/> + <syscall name="mincore" number="206"/> + <syscall name="gettid" number="207"/> + <syscall name="tkill" number="208"/> + <syscall name="setxattr" number="209"/> + <syscall name="lsetxattr" number="210"/> + <syscall name="fsetxattr" number="211"/> + <syscall name="getxattr" number="212"/> + <syscall name="lgetxattr" number="213"/> + <syscall name="fgetxattr" number="214"/> + <syscall name="listxattr" number="215"/> + <syscall name="llistxattr" number="216"/> + <syscall name="flistxattr" number="217"/> + <syscall name="removexattr" number="218"/> + <syscall name="lremovexattr" number="219"/> + <syscall name="fremovexattr" number="220"/> + <syscall name="futex" number="221"/> + <syscall name="sched_setaffinity" number="222"/> + <syscall name="sched_getaffinity" number="223"/> + <syscall name="tuxcall" number="225"/> + <syscall name="sendfile64" number="226"/> + <syscall name="io_setup" number="227"/> + <syscall name="io_destroy" number="228"/> + <syscall name="io_getevents" number="229"/> + <syscall name="io_submit" number="230"/> + <syscall name="io_cancel" number="231"/> + <syscall name="set_tid_address" number="232"/> + <syscall name="fadvise64" number="233"/> + <syscall name="exit_group" number="234"/> + <syscall name="lookup_dcookie" number="235"/> + <syscall name="epoll_create" number="236"/> + <syscall name="epoll_ctl" number="237"/> + <syscall name="epoll_wait" number="238"/> + <syscall name="remap_file_pages" number="239"/> + <syscall name="timer_create" number="240"/> + <syscall name="timer_settime" number="241"/> + <syscall name="timer_gettime" number="242"/> + <syscall name="timer_getoverrun" number="243"/> + <syscall name="timer_delete" number="244"/> + <syscall name="clock_settime" number="245"/> + <syscall name="clock_gettime" number="246"/> + <syscall name="clock_getres" number="247"/> + <syscall name="clock_nanosleep" number="248"/> + <syscall name="swapcontext" number="249"/> + <syscall name="tgkill" number="250"/> + <syscall name="utimes" number="251"/> + <syscall name="statfs64" number="252"/> + <syscall name="fstatfs64" number="253"/> + <syscall name="fadvise64_64" number="254"/> + <syscall name="rtas" number="255"/> + <syscall name="sys_debug_setcontext" number="256"/> + <syscall name="mbind" number="259"/> + <syscall name="get_mempolicy" number="260"/> + <syscall name="set_mempolicy" number="261"/> + <syscall name="mq_open" number="262"/> + <syscall name="mq_unlink" number="263"/> + <syscall name="mq_timedsend" number="264"/> + <syscall name="mq_timedreceive" number="265"/> + <syscall name="mq_notify" number="266"/> + <syscall name="mq_getsetattr" number="267"/> + <syscall name="kexec_load" number="268"/> + <syscall name="add_key" number="269"/> + <syscall name="request_key" number="270"/> + <syscall name="keyctl" number="271"/> + <syscall name="waitid" number="272"/> + <syscall name="ioprio_set" number="273"/> + <syscall name="ioprio_get" number="274"/> + <syscall name="inotify_init" number="275"/> + <syscall name="inotify_add_watch" number="276"/> + <syscall name="inotify_rm_watch" number="277"/> + <syscall name="spu_run" number="278"/> + <syscall name="spu_create" number="279"/> + <syscall name="pselect6" number="280"/> + <syscall name="ppoll" number="281"/> + <syscall name="unshare" number="282"/> + <syscall name="openat" number="286"/> + <syscall name="mkdirat" number="287"/> + <syscall name="mknodat" number="288"/> + <syscall name="fchownat" number="289"/> + <syscall name="futimesat" number="290"/> + <syscall name="fstatat64" number="291"/> + <syscall name="unlinkat" number="292"/> + <syscall name="renameat" number="293"/> + <syscall name="linkat" number="294"/> + <syscall name="symlinkat" number="295"/> + <syscall name="readlinkat" number="296"/> + <syscall name="fchmodat" number="297"/> + <syscall name="faccessat" number="298"/> +</syscalls_info> diff --git a/gdb/syscalls/ppc64-linux.xml b/gdb/syscalls/ppc64-linux.xml index 6906e7e..784a79b 100644 --- a/gdb/syscalls/ppc64-linux.xml +++ b/gdb/syscalls/ppc64-linux.xml @@ -1,93 +1,90 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: /usr/src/linux/arch/powerpc/include/asm/unistd.h The file mentioned above belongs to the Linux Kernel. --> - <syscalls_info> <syscall name="restart_syscall" number="0"/> - <syscall name="exit" number="1"/> - <syscall name="fork" number="2"/> - <syscall name="read" number="3"/> - <syscall name="write" number="4"/> - <syscall name="open" number="5"/> - <syscall name="close" number="6"/> - <syscall name="waitpid" number="7"/> - <syscall name="creat" number="8"/> - <syscall name="link" number="9"/> - <syscall name="unlink" number="10"/> - <syscall name="execve" number="11"/> - <syscall name="chdir" number="12"/> + <syscall name="exit" number="1" groups="process"/> + <syscall name="fork" number="2" groups="process"/> + <syscall name="read" number="3" groups="descriptor"/> + <syscall name="write" number="4" groups="descriptor"/> + <syscall name="open" number="5" groups="descriptor,file"/> + <syscall name="close" number="6" groups="descriptor"/> + <syscall name="waitpid" number="7" groups="process"/> + <syscall name="creat" number="8" groups="descriptor,file"/> + <syscall name="link" number="9" groups="file"/> + <syscall name="unlink" number="10" groups="file"/> + <syscall name="execve" number="11" groups="file,process"/> + <syscall name="chdir" number="12" groups="file"/> <syscall name="time" number="13"/> - <syscall name="mknod" number="14"/> - <syscall name="chmod" number="15"/> - <syscall name="lchown" number="16"/> - <syscall name="break" number="17"/> - <syscall name="oldstat" number="18"/> - <syscall name="lseek" number="19"/> + <syscall name="mknod" number="14" groups="file"/> + <syscall name="chmod" number="15" groups="file"/> + <syscall name="lchown" number="16" groups="file"/> + <syscall name="break" number="17" groups="memory"/> + <syscall name="oldstat" number="18" groups="file"/> + <syscall name="lseek" number="19" groups="descriptor"/> <syscall name="getpid" number="20"/> - <syscall name="mount" number="21"/> - <syscall name="umount" number="22"/> + <syscall name="mount" number="21" groups="file"/> + <syscall name="umount" number="22" groups="file"/> <syscall name="setuid" number="23"/> <syscall name="getuid" number="24"/> <syscall name="stime" number="25"/> <syscall name="ptrace" number="26"/> <syscall name="alarm" number="27"/> - <syscall name="oldfstat" number="28"/> - <syscall name="pause" number="29"/> - <syscall name="utime" number="30"/> + <syscall name="oldfstat" number="28" groups="descriptor"/> + <syscall name="pause" number="29" groups="signal"/> + <syscall name="utime" number="30" groups="file"/> <syscall name="stty" number="31"/> <syscall name="gtty" number="32"/> - <syscall name="access" number="33"/> + <syscall name="access" number="33" groups="file"/> <syscall name="nice" number="34"/> <syscall name="ftime" number="35"/> <syscall name="sync" number="36"/> - <syscall name="kill" number="37"/> - <syscall name="rename" number="38"/> - <syscall name="mkdir" number="39"/> - <syscall name="rmdir" number="40"/> - <syscall name="dup" number="41"/> - <syscall name="pipe" number="42"/> + <syscall name="kill" number="37" groups="signal"/> + <syscall name="rename" number="38" groups="file"/> + <syscall name="mkdir" number="39" groups="file"/> + <syscall name="rmdir" number="40" groups="file"/> + <syscall name="dup" number="41" groups="descriptor"/> + <syscall name="pipe" number="42" groups="descriptor"/> <syscall name="times" number="43"/> <syscall name="prof" number="44"/> - <syscall name="brk" number="45"/> + <syscall name="brk" number="45" groups="memory"/> <syscall name="setgid" number="46"/> <syscall name="getgid" number="47"/> - <syscall name="signal" number="48"/> + <syscall name="signal" number="48" groups="signal"/> <syscall name="geteuid" number="49"/> <syscall name="getegid" number="50"/> - <syscall name="acct" number="51"/> - <syscall name="umount2" number="52"/> + <syscall name="acct" number="51" groups="file"/> + <syscall name="umount2" number="52" groups="file"/> <syscall name="lock" number="53"/> - <syscall name="ioctl" number="54"/> - <syscall name="fcntl" number="55"/> + <syscall name="ioctl" number="54" groups="descriptor"/> + <syscall name="fcntl" number="55" groups="descriptor"/> <syscall name="mpx" number="56"/> <syscall name="setpgid" number="57"/> <syscall name="ulimit" number="58"/> <syscall name="oldolduname" number="59"/> <syscall name="umask" number="60"/> - <syscall name="chroot" number="61"/> + <syscall name="chroot" number="61" groups="file"/> <syscall name="ustat" number="62"/> - <syscall name="dup2" number="63"/> + <syscall name="dup2" number="63" groups="descriptor"/> <syscall name="getppid" number="64"/> <syscall name="getpgrp" number="65"/> <syscall name="setsid" number="66"/> - <syscall name="sigaction" number="67"/> - <syscall name="sgetmask" number="68"/> - <syscall name="ssetmask" number="69"/> + <syscall name="sigaction" number="67" groups="signal"/> + <syscall name="sgetmask" number="68" groups="signal"/> + <syscall name="ssetmask" number="69" groups="signal"/> <syscall name="setreuid" number="70"/> <syscall name="setregid" number="71"/> - <syscall name="sigsuspend" number="72"/> - <syscall name="sigpending" number="73"/> + <syscall name="sigsuspend" number="72" groups="signal"/> + <syscall name="sigpending" number="73" groups="signal"/> <syscall name="sethostname" number="74"/> <syscall name="setrlimit" number="75"/> <syscall name="getrlimit" number="76"/> @@ -96,78 +93,78 @@ <syscall name="settimeofday" number="79"/> <syscall name="getgroups" number="80"/> <syscall name="setgroups" number="81"/> - <syscall name="select" number="82"/> - <syscall name="symlink" number="83"/> - <syscall name="oldlstat" number="84"/> - <syscall name="readlink" number="85"/> - <syscall name="uselib" number="86"/> - <syscall name="swapon" number="87"/> + <syscall name="select" number="82" groups="descriptor"/> + <syscall name="symlink" number="83" groups="file"/> + <syscall name="oldlstat" number="84" groups="file"/> + <syscall name="readlink" number="85" groups="file"/> + <syscall name="uselib" number="86" groups="file"/> + <syscall name="swapon" number="87" groups="file"/> <syscall name="reboot" number="88"/> - <syscall name="readdir" number="89"/> - <syscall name="mmap" number="90"/> - <syscall name="munmap" number="91"/> - <syscall name="truncate" number="92"/> - <syscall name="ftruncate" number="93"/> - <syscall name="fchmod" number="94"/> - <syscall name="fchown" number="95"/> + <syscall name="readdir" number="89" groups="descriptor"/> + <syscall name="mmap" number="90" groups="descriptor,memory"/> + <syscall name="munmap" number="91" groups="memory"/> + <syscall name="truncate" number="92" groups="file"/> + <syscall name="ftruncate" number="93" groups="descriptor"/> + <syscall name="fchmod" number="94" groups="descriptor"/> + <syscall name="fchown" number="95" groups="descriptor"/> <syscall name="getpriority" number="96"/> <syscall name="setpriority" number="97"/> <syscall name="profil" number="98"/> - <syscall name="statfs" number="99"/> - <syscall name="fstatfs" number="100"/> + <syscall name="statfs" number="99" groups="file"/> + <syscall name="fstatfs" number="100" groups="descriptor"/> <syscall name="ioperm" number="101"/> - <syscall name="socketcall" number="102"/> + <syscall name="socketcall" number="102" groups="descriptor"/> <syscall name="syslog" number="103"/> <syscall name="setitimer" number="104"/> <syscall name="getitimer" number="105"/> - <syscall name="stat" number="106"/> - <syscall name="lstat" number="107"/> - <syscall name="fstat" number="108"/> + <syscall name="stat" number="106" groups="file"/> + <syscall name="lstat" number="107" groups="file"/> + <syscall name="fstat" number="108" groups="descriptor"/> <syscall name="olduname" number="109"/> <syscall name="iopl" number="110"/> <syscall name="vhangup" number="111"/> <syscall name="idle" number="112"/> <syscall name="vm86" number="113"/> - <syscall name="wait4" number="114"/> - <syscall name="swapoff" number="115"/> + <syscall name="wait4" number="114" groups="process"/> + <syscall name="swapoff" number="115" groups="file"/> <syscall name="sysinfo" number="116"/> - <syscall name="ipc" number="117"/> - <syscall name="fsync" number="118"/> - <syscall name="sigreturn" number="119"/> - <syscall name="clone" number="120"/> + <syscall name="ipc" number="117" groups="ipc"/> + <syscall name="fsync" number="118" groups="descriptor"/> + <syscall name="sigreturn" number="119" groups="signal"/> + <syscall name="clone" number="120" groups="process"/> <syscall name="setdomainname" number="121"/> <syscall name="uname" number="122"/> <syscall name="modify_ldt" number="123"/> <syscall name="adjtimex" number="124"/> - <syscall name="mprotect" number="125"/> - <syscall name="sigprocmask" number="126"/> + <syscall name="mprotect" number="125" groups="memory"/> + <syscall name="sigprocmask" number="126" groups="signal"/> <syscall name="create_module" number="127"/> <syscall name="init_module" number="128"/> <syscall name="delete_module" number="129"/> <syscall name="get_kernel_syms" number="130"/> - <syscall name="quotactl" number="131"/> + <syscall name="quotactl" number="131" groups="file"/> <syscall name="getpgid" number="132"/> - <syscall name="fchdir" number="133"/> + <syscall name="fchdir" number="133" groups="descriptor"/> <syscall name="bdflush" number="134"/> <syscall name="sysfs" number="135"/> <syscall name="personality" number="136"/> <syscall name="afs_syscall" number="137"/> <syscall name="setfsuid" number="138"/> <syscall name="setfsgid" number="139"/> - <syscall name="_llseek" number="140"/> - <syscall name="getdents" number="141"/> - <syscall name="_newselect" number="142"/> - <syscall name="flock" number="143"/> - <syscall name="msync" number="144"/> - <syscall name="readv" number="145"/> - <syscall name="writev" number="146"/> + <syscall name="_llseek" number="140" groups="descriptor"/> + <syscall name="getdents" number="141" groups="descriptor"/> + <syscall name="_newselect" number="142" groups="descriptor"/> + <syscall name="flock" number="143" groups="descriptor"/> + <syscall name="msync" number="144" groups="memory"/> + <syscall name="readv" number="145" groups="descriptor"/> + <syscall name="writev" number="146" groups="descriptor"/> <syscall name="getsid" number="147"/> - <syscall name="fdatasync" number="148"/> + <syscall name="fdatasync" number="148" groups="descriptor"/> <syscall name="_sysctl" number="149"/> - <syscall name="mlock" number="150"/> - <syscall name="munlock" number="151"/> - <syscall name="mlockall" number="152"/> - <syscall name="munlockall" number="153"/> + <syscall name="mlock" number="150" groups="memory"/> + <syscall name="munlock" number="151" groups="memory"/> + <syscall name="mlockall" number="152" groups="memory"/> + <syscall name="munlockall" number="153" groups="memory"/> <syscall name="sched_setparam" number="154"/> <syscall name="sched_getparam" number="155"/> <syscall name="sched_setscheduler" number="156"/> @@ -177,57 +174,57 @@ <syscall name="sched_get_priority_min" number="160"/> <syscall name="sched_rr_get_interval" number="161"/> <syscall name="nanosleep" number="162"/> - <syscall name="mremap" number="163"/> + <syscall name="mremap" number="163" groups="memory"/> <syscall name="setresuid" number="164"/> <syscall name="getresuid" number="165"/> <syscall name="query_module" number="166"/> - <syscall name="poll" number="167"/> + <syscall name="poll" number="167" groups="descriptor"/> <syscall name="nfsservctl" number="168"/> <syscall name="setresgid" number="169"/> <syscall name="getresgid" number="170"/> <syscall name="prctl" number="171"/> - <syscall name="rt_sigreturn" number="172"/> - <syscall name="rt_sigaction" number="173"/> - <syscall name="rt_sigprocmask" number="174"/> - <syscall name="rt_sigpending" number="175"/> - <syscall name="rt_sigtimedwait" number="176"/> - <syscall name="rt_sigqueueinfo" number="177"/> - <syscall name="rt_sigsuspend" number="178"/> - <syscall name="pread64" number="179"/> - <syscall name="pwrite64" number="180"/> - <syscall name="chown" number="181"/> - <syscall name="getcwd" number="182"/> + <syscall name="rt_sigreturn" number="172" groups="signal"/> + <syscall name="rt_sigaction" number="173" groups="signal"/> + <syscall name="rt_sigprocmask" number="174" groups="signal"/> + <syscall name="rt_sigpending" number="175" groups="signal"/> + <syscall name="rt_sigtimedwait" number="176" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="177" groups="signal"/> + <syscall name="rt_sigsuspend" number="178" groups="signal"/> + <syscall name="pread64" number="179" groups="descriptor"/> + <syscall name="pwrite64" number="180" groups="descriptor"/> + <syscall name="chown" number="181" groups="file"/> + <syscall name="getcwd" number="182" groups="file"/> <syscall name="capget" number="183"/> <syscall name="capset" number="184"/> - <syscall name="sigaltstack" number="185"/> - <syscall name="sendfile" number="186"/> + <syscall name="sigaltstack" number="185" groups="signal"/> + <syscall name="sendfile" number="186" groups="descriptor,network"/> <syscall name="getpmsg" number="187"/> <syscall name="putpmsg" number="188"/> - <syscall name="vfork" number="189"/> + <syscall name="vfork" number="189" groups="process"/> <syscall name="ugetrlimit" number="190"/> - <syscall name="readahead" number="191"/> + <syscall name="readahead" number="191" groups="descriptor"/> <syscall name="pciconfig_read" number="198"/> <syscall name="pciconfig_write" number="199"/> <syscall name="pciconfig_iobase" number="200"/> <syscall name="multiplexer" number="201"/> - <syscall name="getdents64" number="202"/> - <syscall name="pivot_root" number="203"/> - <syscall name="madvise" number="205"/> - <syscall name="mincore" number="206"/> + <syscall name="getdents64" number="202" groups="descriptor"/> + <syscall name="pivot_root" number="203" groups="file"/> + <syscall name="madvise" number="205" groups="memory"/> + <syscall name="mincore" number="206" groups="memory"/> <syscall name="gettid" number="207"/> - <syscall name="tkill" number="208"/> - <syscall name="setxattr" number="209"/> - <syscall name="lsetxattr" number="210"/> - <syscall name="fsetxattr" number="211"/> - <syscall name="getxattr" number="212"/> - <syscall name="lgetxattr" number="213"/> - <syscall name="fgetxattr" number="214"/> - <syscall name="listxattr" number="215"/> - <syscall name="llistxattr" number="216"/> - <syscall name="flistxattr" number="217"/> - <syscall name="removexattr" number="218"/> - <syscall name="lremovexattr" number="219"/> - <syscall name="fremovexattr" number="220"/> + <syscall name="tkill" number="208" groups="signal"/> + <syscall name="setxattr" number="209" groups="file"/> + <syscall name="lsetxattr" number="210" groups="file"/> + <syscall name="fsetxattr" number="211" groups="descriptor"/> + <syscall name="getxattr" number="212" groups="file"/> + <syscall name="lgetxattr" number="213" groups="file"/> + <syscall name="fgetxattr" number="214" groups="descriptor"/> + <syscall name="listxattr" number="215" groups="file"/> + <syscall name="llistxattr" number="216" groups="file"/> + <syscall name="flistxattr" number="217" groups="descriptor"/> + <syscall name="removexattr" number="218" groups="file"/> + <syscall name="lremovexattr" number="219" groups="file"/> + <syscall name="fremovexattr" number="220" groups="descriptor"/> <syscall name="futex" number="221"/> <syscall name="sched_setaffinity" number="222"/> <syscall name="sched_getaffinity" number="223"/> @@ -238,13 +235,13 @@ <syscall name="io_submit" number="230"/> <syscall name="io_cancel" number="231"/> <syscall name="set_tid_address" number="232"/> - <syscall name="fadvise64" number="233"/> - <syscall name="exit_group" number="234"/> + <syscall name="fadvise64" number="233" groups="descriptor"/> + <syscall name="exit_group" number="234" groups="process"/> <syscall name="lookup_dcookie" number="235"/> - <syscall name="epoll_create" number="236"/> - <syscall name="epoll_ctl" number="237"/> - <syscall name="epoll_wait" number="238"/> - <syscall name="remap_file_pages" number="239"/> + <syscall name="epoll_create" number="236" groups="descriptor"/> + <syscall name="epoll_ctl" number="237" groups="descriptor"/> + <syscall name="epoll_wait" number="238" groups="descriptor"/> + <syscall name="remap_file_pages" number="239" groups="memory"/> <syscall name="timer_create" number="240"/> <syscall name="timer_settime" number="241"/> <syscall name="timer_gettime" number="242"/> @@ -255,15 +252,15 @@ <syscall name="clock_getres" number="247"/> <syscall name="clock_nanosleep" number="248"/> <syscall name="swapcontext" number="249"/> - <syscall name="tgkill" number="250"/> - <syscall name="utimes" number="251"/> - <syscall name="statfs64" number="252"/> - <syscall name="fstatfs64" number="253"/> + <syscall name="tgkill" number="250" groups="signal"/> + <syscall name="utimes" number="251" groups="file"/> + <syscall name="statfs64" number="252" groups="file"/> + <syscall name="fstatfs64" number="253" groups="descriptor"/> <syscall name="rtas" number="255"/> <syscall name="sys_debug_setcontext" number="256"/> - <syscall name="mbind" number="259"/> - <syscall name="get_mempolicy" number="260"/> - <syscall name="set_mempolicy" number="261"/> + <syscall name="mbind" number="259" groups="memory"/> + <syscall name="get_mempolicy" number="260" groups="memory"/> + <syscall name="set_mempolicy" number="261" groups="memory"/> <syscall name="mq_open" number="262"/> <syscall name="mq_unlink" number="263"/> <syscall name="mq_timedsend" number="264"/> @@ -274,22 +271,22 @@ <syscall name="add_key" number="269"/> <syscall name="request_key" number="270"/> <syscall name="keyctl" number="271"/> - <syscall name="waitid" number="272"/> + <syscall name="waitid" number="272" groups="process"/> <syscall name="ioprio_set" number="273"/> <syscall name="ioprio_get" number="274"/> - <syscall name="inotify_init" number="275"/> - <syscall name="inotify_add_watch" number="276"/> - <syscall name="inotify_rm_watch" number="277"/> + <syscall name="inotify_init" number="275" groups="descriptor"/> + <syscall name="inotify_add_watch" number="276" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="277" groups="descriptor"/> <syscall name="spu_run" number="278"/> <syscall name="spu_create" number="279"/> - <syscall name="pselect6" number="280"/> - <syscall name="ppoll" number="281"/> - <syscall name="unshare" number="282"/> - <syscall name="unlinkat" number="286"/> - <syscall name="renameat" number="287"/> - <syscall name="linkat" number="288"/> - <syscall name="symlinkat" number="289"/> - <syscall name="readlinkat" number="290"/> - <syscall name="fchmodat" number="291"/> - <syscall name="faccessat" number="292"/> + <syscall name="pselect6" number="280" groups="descriptor"/> + <syscall name="ppoll" number="281" groups="descriptor"/> + <syscall name="unshare" number="282" groups="process"/> + <syscall name="unlinkat" number="286" groups="descriptor,file"/> + <syscall name="renameat" number="287" groups="descriptor,file"/> + <syscall name="linkat" number="288" groups="descriptor,file"/> + <syscall name="symlinkat" number="289" groups="descriptor,file"/> + <syscall name="readlinkat" number="290" groups="descriptor,file"/> + <syscall name="fchmodat" number="291" groups="descriptor,file"/> + <syscall name="faccessat" number="292" groups="descriptor,file"/> </syscalls_info> diff --git a/gdb/syscalls/ppc64-linux.xml.in b/gdb/syscalls/ppc64-linux.xml.in new file mode 100644 index 0000000..6906e7e --- /dev/null +++ b/gdb/syscalls/ppc64-linux.xml.in @@ -0,0 +1,295 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + /usr/src/linux/arch/powerpc/include/asm/unistd.h + + The file mentioned above belongs to the Linux Kernel. --> + +<syscalls_info> + <syscall name="restart_syscall" number="0"/> + <syscall name="exit" number="1"/> + <syscall name="fork" number="2"/> + <syscall name="read" number="3"/> + <syscall name="write" number="4"/> + <syscall name="open" number="5"/> + <syscall name="close" number="6"/> + <syscall name="waitpid" number="7"/> + <syscall name="creat" number="8"/> + <syscall name="link" number="9"/> + <syscall name="unlink" number="10"/> + <syscall name="execve" number="11"/> + <syscall name="chdir" number="12"/> + <syscall name="time" number="13"/> + <syscall name="mknod" number="14"/> + <syscall name="chmod" number="15"/> + <syscall name="lchown" number="16"/> + <syscall name="break" number="17"/> + <syscall name="oldstat" number="18"/> + <syscall name="lseek" number="19"/> + <syscall name="getpid" number="20"/> + <syscall name="mount" number="21"/> + <syscall name="umount" number="22"/> + <syscall name="setuid" number="23"/> + <syscall name="getuid" number="24"/> + <syscall name="stime" number="25"/> + <syscall name="ptrace" number="26"/> + <syscall name="alarm" number="27"/> + <syscall name="oldfstat" number="28"/> + <syscall name="pause" number="29"/> + <syscall name="utime" number="30"/> + <syscall name="stty" number="31"/> + <syscall name="gtty" number="32"/> + <syscall name="access" number="33"/> + <syscall name="nice" number="34"/> + <syscall name="ftime" number="35"/> + <syscall name="sync" number="36"/> + <syscall name="kill" number="37"/> + <syscall name="rename" number="38"/> + <syscall name="mkdir" number="39"/> + <syscall name="rmdir" number="40"/> + <syscall name="dup" number="41"/> + <syscall name="pipe" number="42"/> + <syscall name="times" number="43"/> + <syscall name="prof" number="44"/> + <syscall name="brk" number="45"/> + <syscall name="setgid" number="46"/> + <syscall name="getgid" number="47"/> + <syscall name="signal" number="48"/> + <syscall name="geteuid" number="49"/> + <syscall name="getegid" number="50"/> + <syscall name="acct" number="51"/> + <syscall name="umount2" number="52"/> + <syscall name="lock" number="53"/> + <syscall name="ioctl" number="54"/> + <syscall name="fcntl" number="55"/> + <syscall name="mpx" number="56"/> + <syscall name="setpgid" number="57"/> + <syscall name="ulimit" number="58"/> + <syscall name="oldolduname" number="59"/> + <syscall name="umask" number="60"/> + <syscall name="chroot" number="61"/> + <syscall name="ustat" number="62"/> + <syscall name="dup2" number="63"/> + <syscall name="getppid" number="64"/> + <syscall name="getpgrp" number="65"/> + <syscall name="setsid" number="66"/> + <syscall name="sigaction" number="67"/> + <syscall name="sgetmask" number="68"/> + <syscall name="ssetmask" number="69"/> + <syscall name="setreuid" number="70"/> + <syscall name="setregid" number="71"/> + <syscall name="sigsuspend" number="72"/> + <syscall name="sigpending" number="73"/> + <syscall name="sethostname" number="74"/> + <syscall name="setrlimit" number="75"/> + <syscall name="getrlimit" number="76"/> + <syscall name="getrusage" number="77"/> + <syscall name="gettimeofday" number="78"/> + <syscall name="settimeofday" number="79"/> + <syscall name="getgroups" number="80"/> + <syscall name="setgroups" number="81"/> + <syscall name="select" number="82"/> + <syscall name="symlink" number="83"/> + <syscall name="oldlstat" number="84"/> + <syscall name="readlink" number="85"/> + <syscall name="uselib" number="86"/> + <syscall name="swapon" number="87"/> + <syscall name="reboot" number="88"/> + <syscall name="readdir" number="89"/> + <syscall name="mmap" number="90"/> + <syscall name="munmap" number="91"/> + <syscall name="truncate" number="92"/> + <syscall name="ftruncate" number="93"/> + <syscall name="fchmod" number="94"/> + <syscall name="fchown" number="95"/> + <syscall name="getpriority" number="96"/> + <syscall name="setpriority" number="97"/> + <syscall name="profil" number="98"/> + <syscall name="statfs" number="99"/> + <syscall name="fstatfs" number="100"/> + <syscall name="ioperm" number="101"/> + <syscall name="socketcall" number="102"/> + <syscall name="syslog" number="103"/> + <syscall name="setitimer" number="104"/> + <syscall name="getitimer" number="105"/> + <syscall name="stat" number="106"/> + <syscall name="lstat" number="107"/> + <syscall name="fstat" number="108"/> + <syscall name="olduname" number="109"/> + <syscall name="iopl" number="110"/> + <syscall name="vhangup" number="111"/> + <syscall name="idle" number="112"/> + <syscall name="vm86" number="113"/> + <syscall name="wait4" number="114"/> + <syscall name="swapoff" number="115"/> + <syscall name="sysinfo" number="116"/> + <syscall name="ipc" number="117"/> + <syscall name="fsync" number="118"/> + <syscall name="sigreturn" number="119"/> + <syscall name="clone" number="120"/> + <syscall name="setdomainname" number="121"/> + <syscall name="uname" number="122"/> + <syscall name="modify_ldt" number="123"/> + <syscall name="adjtimex" number="124"/> + <syscall name="mprotect" number="125"/> + <syscall name="sigprocmask" number="126"/> + <syscall name="create_module" number="127"/> + <syscall name="init_module" number="128"/> + <syscall name="delete_module" number="129"/> + <syscall name="get_kernel_syms" number="130"/> + <syscall name="quotactl" number="131"/> + <syscall name="getpgid" number="132"/> + <syscall name="fchdir" number="133"/> + <syscall name="bdflush" number="134"/> + <syscall name="sysfs" number="135"/> + <syscall name="personality" number="136"/> + <syscall name="afs_syscall" number="137"/> + <syscall name="setfsuid" number="138"/> + <syscall name="setfsgid" number="139"/> + <syscall name="_llseek" number="140"/> + <syscall name="getdents" number="141"/> + <syscall name="_newselect" number="142"/> + <syscall name="flock" number="143"/> + <syscall name="msync" number="144"/> + <syscall name="readv" number="145"/> + <syscall name="writev" number="146"/> + <syscall name="getsid" number="147"/> + <syscall name="fdatasync" number="148"/> + <syscall name="_sysctl" number="149"/> + <syscall name="mlock" number="150"/> + <syscall name="munlock" number="151"/> + <syscall name="mlockall" number="152"/> + <syscall name="munlockall" number="153"/> + <syscall name="sched_setparam" number="154"/> + <syscall name="sched_getparam" number="155"/> + <syscall name="sched_setscheduler" number="156"/> + <syscall name="sched_getscheduler" number="157"/> + <syscall name="sched_yield" number="158"/> + <syscall name="sched_get_priority_max" number="159"/> + <syscall name="sched_get_priority_min" number="160"/> + <syscall name="sched_rr_get_interval" number="161"/> + <syscall name="nanosleep" number="162"/> + <syscall name="mremap" number="163"/> + <syscall name="setresuid" number="164"/> + <syscall name="getresuid" number="165"/> + <syscall name="query_module" number="166"/> + <syscall name="poll" number="167"/> + <syscall name="nfsservctl" number="168"/> + <syscall name="setresgid" number="169"/> + <syscall name="getresgid" number="170"/> + <syscall name="prctl" number="171"/> + <syscall name="rt_sigreturn" number="172"/> + <syscall name="rt_sigaction" number="173"/> + <syscall name="rt_sigprocmask" number="174"/> + <syscall name="rt_sigpending" number="175"/> + <syscall name="rt_sigtimedwait" number="176"/> + <syscall name="rt_sigqueueinfo" number="177"/> + <syscall name="rt_sigsuspend" number="178"/> + <syscall name="pread64" number="179"/> + <syscall name="pwrite64" number="180"/> + <syscall name="chown" number="181"/> + <syscall name="getcwd" number="182"/> + <syscall name="capget" number="183"/> + <syscall name="capset" number="184"/> + <syscall name="sigaltstack" number="185"/> + <syscall name="sendfile" number="186"/> + <syscall name="getpmsg" number="187"/> + <syscall name="putpmsg" number="188"/> + <syscall name="vfork" number="189"/> + <syscall name="ugetrlimit" number="190"/> + <syscall name="readahead" number="191"/> + <syscall name="pciconfig_read" number="198"/> + <syscall name="pciconfig_write" number="199"/> + <syscall name="pciconfig_iobase" number="200"/> + <syscall name="multiplexer" number="201"/> + <syscall name="getdents64" number="202"/> + <syscall name="pivot_root" number="203"/> + <syscall name="madvise" number="205"/> + <syscall name="mincore" number="206"/> + <syscall name="gettid" number="207"/> + <syscall name="tkill" number="208"/> + <syscall name="setxattr" number="209"/> + <syscall name="lsetxattr" number="210"/> + <syscall name="fsetxattr" number="211"/> + <syscall name="getxattr" number="212"/> + <syscall name="lgetxattr" number="213"/> + <syscall name="fgetxattr" number="214"/> + <syscall name="listxattr" number="215"/> + <syscall name="llistxattr" number="216"/> + <syscall name="flistxattr" number="217"/> + <syscall name="removexattr" number="218"/> + <syscall name="lremovexattr" number="219"/> + <syscall name="fremovexattr" number="220"/> + <syscall name="futex" number="221"/> + <syscall name="sched_setaffinity" number="222"/> + <syscall name="sched_getaffinity" number="223"/> + <syscall name="tuxcall" number="225"/> + <syscall name="io_setup" number="227"/> + <syscall name="io_destroy" number="228"/> + <syscall name="io_getevents" number="229"/> + <syscall name="io_submit" number="230"/> + <syscall name="io_cancel" number="231"/> + <syscall name="set_tid_address" number="232"/> + <syscall name="fadvise64" number="233"/> + <syscall name="exit_group" number="234"/> + <syscall name="lookup_dcookie" number="235"/> + <syscall name="epoll_create" number="236"/> + <syscall name="epoll_ctl" number="237"/> + <syscall name="epoll_wait" number="238"/> + <syscall name="remap_file_pages" number="239"/> + <syscall name="timer_create" number="240"/> + <syscall name="timer_settime" number="241"/> + <syscall name="timer_gettime" number="242"/> + <syscall name="timer_getoverrun" number="243"/> + <syscall name="timer_delete" number="244"/> + <syscall name="clock_settime" number="245"/> + <syscall name="clock_gettime" number="246"/> + <syscall name="clock_getres" number="247"/> + <syscall name="clock_nanosleep" number="248"/> + <syscall name="swapcontext" number="249"/> + <syscall name="tgkill" number="250"/> + <syscall name="utimes" number="251"/> + <syscall name="statfs64" number="252"/> + <syscall name="fstatfs64" number="253"/> + <syscall name="rtas" number="255"/> + <syscall name="sys_debug_setcontext" number="256"/> + <syscall name="mbind" number="259"/> + <syscall name="get_mempolicy" number="260"/> + <syscall name="set_mempolicy" number="261"/> + <syscall name="mq_open" number="262"/> + <syscall name="mq_unlink" number="263"/> + <syscall name="mq_timedsend" number="264"/> + <syscall name="mq_timedreceive" number="265"/> + <syscall name="mq_notify" number="266"/> + <syscall name="mq_getsetattr" number="267"/> + <syscall name="kexec_load" number="268"/> + <syscall name="add_key" number="269"/> + <syscall name="request_key" number="270"/> + <syscall name="keyctl" number="271"/> + <syscall name="waitid" number="272"/> + <syscall name="ioprio_set" number="273"/> + <syscall name="ioprio_get" number="274"/> + <syscall name="inotify_init" number="275"/> + <syscall name="inotify_add_watch" number="276"/> + <syscall name="inotify_rm_watch" number="277"/> + <syscall name="spu_run" number="278"/> + <syscall name="spu_create" number="279"/> + <syscall name="pselect6" number="280"/> + <syscall name="ppoll" number="281"/> + <syscall name="unshare" number="282"/> + <syscall name="unlinkat" number="286"/> + <syscall name="renameat" number="287"/> + <syscall name="linkat" number="288"/> + <syscall name="symlinkat" number="289"/> + <syscall name="readlinkat" number="290"/> + <syscall name="fchmodat" number="291"/> + <syscall name="faccessat" number="292"/> +</syscalls_info> diff --git a/gdb/syscalls/s390-linux.xml b/gdb/syscalls/s390-linux.xml index 56e9287..cbab4e1 100644 --- a/gdb/syscalls/s390-linux.xml +++ b/gdb/syscalls/s390-linux.xml @@ -1,79 +1,76 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: /usr/include/asm/unistd.h The file mentioned above belongs to the Linux Kernel. --> - <syscalls_info> - <syscall name="exit" number="1"/> - <syscall name="fork" number="2"/> - <syscall name="read" number="3"/> - <syscall name="write" number="4"/> - <syscall name="open" number="5"/> - <syscall name="close" number="6"/> + <syscall name="exit" number="1" groups="process"/> + <syscall name="fork" number="2" groups="process"/> + <syscall name="read" number="3" groups="descriptor"/> + <syscall name="write" number="4" groups="descriptor"/> + <syscall name="open" number="5" groups="descriptor,file"/> + <syscall name="close" number="6" groups="descriptor"/> <syscall name="restart_syscall" number="7"/> - <syscall name="creat" number="8"/> - <syscall name="link" number="9"/> - <syscall name="unlink" number="10"/> - <syscall name="execve" number="11"/> - <syscall name="chdir" number="12"/> + <syscall name="creat" number="8" groups="descriptor,file"/> + <syscall name="link" number="9" groups="file"/> + <syscall name="unlink" number="10" groups="file"/> + <syscall name="execve" number="11" groups="file,process"/> + <syscall name="chdir" number="12" groups="file"/> <syscall name="time" number="13"/> - <syscall name="mknod" number="14"/> - <syscall name="chmod" number="15"/> - <syscall name="lchown" number="16"/> - <syscall name="lseek" number="19"/> + <syscall name="mknod" number="14" groups="file"/> + <syscall name="chmod" number="15" groups="file"/> + <syscall name="lchown" number="16" groups="file"/> + <syscall name="lseek" number="19" groups="descriptor"/> <syscall name="getpid" number="20"/> - <syscall name="mount" number="21"/> - <syscall name="umount" number="22"/> + <syscall name="mount" number="21" groups="file"/> + <syscall name="umount" number="22" groups="file"/> <syscall name="setuid" number="23"/> <syscall name="getuid" number="24"/> <syscall name="stime" number="25"/> <syscall name="ptrace" number="26"/> <syscall name="alarm" number="27"/> - <syscall name="pause" number="29"/> - <syscall name="utime" number="30"/> - <syscall name="access" number="33"/> + <syscall name="pause" number="29" groups="signal"/> + <syscall name="utime" number="30" groups="file"/> + <syscall name="access" number="33" groups="file"/> <syscall name="nice" number="34"/> <syscall name="sync" number="36"/> - <syscall name="kill" number="37"/> - <syscall name="rename" number="38"/> - <syscall name="mkdir" number="39"/> - <syscall name="rmdir" number="40"/> - <syscall name="dup" number="41"/> - <syscall name="pipe" number="42"/> + <syscall name="kill" number="37" groups="signal"/> + <syscall name="rename" number="38" groups="file"/> + <syscall name="mkdir" number="39" groups="file"/> + <syscall name="rmdir" number="40" groups="file"/> + <syscall name="dup" number="41" groups="descriptor"/> + <syscall name="pipe" number="42" groups="descriptor"/> <syscall name="times" number="43"/> - <syscall name="brk" number="45"/> + <syscall name="brk" number="45" groups="memory"/> <syscall name="setgid" number="46"/> <syscall name="getgid" number="47"/> - <syscall name="signal" number="48"/> + <syscall name="signal" number="48" groups="signal"/> <syscall name="geteuid" number="49"/> <syscall name="getegid" number="50"/> - <syscall name="acct" number="51"/> - <syscall name="umount2" number="52"/> - <syscall name="ioctl" number="54"/> - <syscall name="fcntl" number="55"/> + <syscall name="acct" number="51" groups="file"/> + <syscall name="umount2" number="52" groups="file"/> + <syscall name="ioctl" number="54" groups="descriptor"/> + <syscall name="fcntl" number="55" groups="descriptor"/> <syscall name="setpgid" number="57"/> <syscall name="umask" number="60"/> - <syscall name="chroot" number="61"/> + <syscall name="chroot" number="61" groups="file"/> <syscall name="ustat" number="62"/> - <syscall name="dup2" number="63"/> + <syscall name="dup2" number="63" groups="descriptor"/> <syscall name="getppid" number="64"/> <syscall name="getpgrp" number="65"/> <syscall name="setsid" number="66"/> - <syscall name="sigaction" number="67"/> + <syscall name="sigaction" number="67" groups="signal"/> <syscall name="setreuid" number="70"/> <syscall name="setregid" number="71"/> - <syscall name="sigsuspend" number="72"/> - <syscall name="sigpending" number="73"/> + <syscall name="sigsuspend" number="72" groups="signal"/> + <syscall name="sigpending" number="73" groups="signal"/> <syscall name="sethostname" number="74"/> <syscall name="setrlimit" number="75"/> <syscall name="getrlimit" number="76"/> @@ -82,72 +79,72 @@ <syscall name="settimeofday" number="79"/> <syscall name="getgroups" number="80"/> <syscall name="setgroups" number="81"/> - <syscall name="symlink" number="83"/> - <syscall name="readlink" number="85"/> - <syscall name="uselib" number="86"/> - <syscall name="swapon" number="87"/> + <syscall name="symlink" number="83" groups="file"/> + <syscall name="readlink" number="85" groups="file"/> + <syscall name="uselib" number="86" groups="file"/> + <syscall name="swapon" number="87" groups="file"/> <syscall name="reboot" number="88"/> - <syscall name="readdir" number="89"/> - <syscall name="mmap" number="90"/> - <syscall name="munmap" number="91"/> - <syscall name="truncate" number="92"/> - <syscall name="ftruncate" number="93"/> - <syscall name="fchmod" number="94"/> - <syscall name="fchown" number="95"/> + <syscall name="readdir" number="89" groups="descriptor"/> + <syscall name="mmap" number="90" groups="descriptor,memory"/> + <syscall name="munmap" number="91" groups="memory"/> + <syscall name="truncate" number="92" groups="file"/> + <syscall name="ftruncate" number="93" groups="descriptor"/> + <syscall name="fchmod" number="94" groups="descriptor"/> + <syscall name="fchown" number="95" groups="descriptor"/> <syscall name="getpriority" number="96"/> <syscall name="setpriority" number="97"/> - <syscall name="statfs" number="99"/> - <syscall name="fstatfs" number="100"/> + <syscall name="statfs" number="99" groups="file"/> + <syscall name="fstatfs" number="100" groups="descriptor"/> <syscall name="ioperm" number="101"/> - <syscall name="socketcall" number="102"/> + <syscall name="socketcall" number="102" groups="descriptor"/> <syscall name="syslog" number="103"/> <syscall name="setitimer" number="104"/> <syscall name="getitimer" number="105"/> - <syscall name="stat" number="106"/> - <syscall name="lstat" number="107"/> - <syscall name="fstat" number="108"/> + <syscall name="stat" number="106" groups="file"/> + <syscall name="lstat" number="107" groups="file"/> + <syscall name="fstat" number="108" groups="descriptor"/> <syscall name="lookup_dcookie" number="110"/> <syscall name="vhangup" number="111"/> <syscall name="idle" number="112"/> - <syscall name="wait4" number="114"/> - <syscall name="swapoff" number="115"/> + <syscall name="wait4" number="114" groups="process"/> + <syscall name="swapoff" number="115" groups="file"/> <syscall name="sysinfo" number="116"/> - <syscall name="ipc" number="117"/> - <syscall name="fsync" number="118"/> - <syscall name="sigreturn" number="119"/> - <syscall name="clone" number="120"/> + <syscall name="ipc" number="117" groups="ipc"/> + <syscall name="fsync" number="118" groups="descriptor"/> + <syscall name="sigreturn" number="119" groups="signal"/> + <syscall name="clone" number="120" groups="process"/> <syscall name="setdomainname" number="121"/> <syscall name="uname" number="122"/> <syscall name="adjtimex" number="124"/> - <syscall name="mprotect" number="125"/> - <syscall name="sigprocmask" number="126"/> + <syscall name="mprotect" number="125" groups="memory"/> + <syscall name="sigprocmask" number="126" groups="signal"/> <syscall name="create_module" number="127"/> <syscall name="init_module" number="128"/> <syscall name="delete_module" number="129"/> <syscall name="get_kernel_syms" number="130"/> - <syscall name="quotactl" number="131"/> + <syscall name="quotactl" number="131" groups="file"/> <syscall name="getpgid" number="132"/> - <syscall name="fchdir" number="133"/> + <syscall name="fchdir" number="133" groups="descriptor"/> <syscall name="bdflush" number="134"/> <syscall name="sysfs" number="135"/> <syscall name="personality" number="136"/> <syscall name="afs_syscall" number="137"/> <syscall name="setfsuid" number="138"/> <syscall name="setfsgid" number="139"/> - <syscall name="_llseek" number="140"/> - <syscall name="getdents" number="141"/> - <syscall name="_newselect" number="142"/> - <syscall name="flock" number="143"/> - <syscall name="msync" number="144"/> - <syscall name="readv" number="145"/> - <syscall name="writev" number="146"/> + <syscall name="_llseek" number="140" groups="descriptor"/> + <syscall name="getdents" number="141" groups="descriptor"/> + <syscall name="_newselect" number="142" groups="descriptor"/> + <syscall name="flock" number="143" groups="descriptor"/> + <syscall name="msync" number="144" groups="memory"/> + <syscall name="readv" number="145" groups="descriptor"/> + <syscall name="writev" number="146" groups="descriptor"/> <syscall name="getsid" number="147"/> - <syscall name="fdatasync" number="148"/> + <syscall name="fdatasync" number="148" groups="descriptor"/> <syscall name="_sysctl" number="149"/> - <syscall name="mlock" number="150"/> - <syscall name="munlock" number="151"/> - <syscall name="mlockall" number="152"/> - <syscall name="munlockall" number="153"/> + <syscall name="mlock" number="150" groups="memory"/> + <syscall name="munlock" number="151" groups="memory"/> + <syscall name="mlockall" number="152" groups="memory"/> + <syscall name="munlockall" number="153" groups="memory"/> <syscall name="sched_setparam" number="154"/> <syscall name="sched_getparam" number="155"/> <syscall name="sched_setscheduler" number="156"/> @@ -157,41 +154,41 @@ <syscall name="sched_get_priority_min" number="160"/> <syscall name="sched_rr_get_interval" number="161"/> <syscall name="nanosleep" number="162"/> - <syscall name="mremap" number="163"/> + <syscall name="mremap" number="163" groups="memory"/> <syscall name="setresuid" number="164"/> <syscall name="getresuid" number="165"/> <syscall name="query_module" number="167"/> - <syscall name="poll" number="168"/> + <syscall name="poll" number="168" groups="descriptor"/> <syscall name="nfsservctl" number="169"/> <syscall name="setresgid" number="170"/> <syscall name="getresgid" number="171"/> <syscall name="prctl" number="172"/> - <syscall name="rt_sigreturn" number="173"/> - <syscall name="rt_sigaction" number="174"/> - <syscall name="rt_sigprocmask" number="175"/> - <syscall name="rt_sigpending" number="176"/> - <syscall name="rt_sigtimedwait" number="177"/> - <syscall name="rt_sigqueueinfo" number="178"/> - <syscall name="rt_sigsuspend" number="179"/> - <syscall name="pread64" number="180"/> - <syscall name="pwrite64" number="181"/> - <syscall name="chown" number="182"/> - <syscall name="getcwd" number="183"/> + <syscall name="rt_sigreturn" number="173" groups="signal"/> + <syscall name="rt_sigaction" number="174" groups="signal"/> + <syscall name="rt_sigprocmask" number="175" groups="signal"/> + <syscall name="rt_sigpending" number="176" groups="signal"/> + <syscall name="rt_sigtimedwait" number="177" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="178" groups="signal"/> + <syscall name="rt_sigsuspend" number="179" groups="signal"/> + <syscall name="pread64" number="180" groups="descriptor"/> + <syscall name="pwrite64" number="181" groups="descriptor"/> + <syscall name="chown" number="182" groups="file"/> + <syscall name="getcwd" number="183" groups="file"/> <syscall name="capget" number="184"/> <syscall name="capset" number="185"/> - <syscall name="sigaltstack" number="186"/> - <syscall name="sendfile" number="187"/> + <syscall name="sigaltstack" number="186" groups="signal"/> + <syscall name="sendfile" number="187" groups="descriptor,network"/> <syscall name="getpmsg" number="188"/> <syscall name="putpmsg" number="189"/> - <syscall name="vfork" number="190"/> + <syscall name="vfork" number="190" groups="process"/> <syscall name="ugetrlimit" number="191"/> - <syscall name="mmap2" number="192"/> - <syscall name="truncate64" number="193"/> - <syscall name="ftruncate64" number="194"/> - <syscall name="stat64" number="195"/> - <syscall name="lstat64" number="196"/> - <syscall name="fstat64" number="197"/> - <syscall name="lchown32" number="198"/> + <syscall name="mmap2" number="192" groups="descriptor,memory"/> + <syscall name="truncate64" number="193" groups="file"/> + <syscall name="ftruncate64" number="194" groups="descriptor"/> + <syscall name="stat64" number="195" groups="file"/> + <syscall name="lstat64" number="196" groups="file"/> + <syscall name="fstat64" number="197" groups="descriptor"/> + <syscall name="lchown32" number="198" groups="file"/> <syscall name="getuid32" number="199"/> <syscall name="getgid32" number="200"/> <syscall name="geteuid32" number="201"/> @@ -200,52 +197,52 @@ <syscall name="setregid32" number="204"/> <syscall name="getgroups32" number="205"/> <syscall name="setgroups32" number="206"/> - <syscall name="fchown32" number="207"/> + <syscall name="fchown32" number="207" groups="descriptor"/> <syscall name="setresuid32" number="208"/> <syscall name="getresuid32" number="209"/> <syscall name="setresgid32" number="210"/> <syscall name="getresgid32" number="211"/> - <syscall name="chown32" number="212"/> + <syscall name="chown32" number="212" groups="file"/> <syscall name="setuid32" number="213"/> <syscall name="setgid32" number="214"/> <syscall name="setfsuid32" number="215"/> <syscall name="setfsgid32" number="216"/> - <syscall name="pivot_root" number="217"/> - <syscall name="mincore" number="218"/> - <syscall name="madvise" number="219"/> - <syscall name="getdents64" number="220"/> - <syscall name="fcntl64" number="221"/> - <syscall name="readahead" number="222"/> - <syscall name="sendfile64" number="223"/> - <syscall name="setxattr" number="224"/> - <syscall name="lsetxattr" number="225"/> - <syscall name="fsetxattr" number="226"/> - <syscall name="getxattr" number="227"/> - <syscall name="lgetxattr" number="228"/> - <syscall name="fgetxattr" number="229"/> - <syscall name="listxattr" number="230"/> - <syscall name="llistxattr" number="231"/> - <syscall name="flistxattr" number="232"/> - <syscall name="removexattr" number="233"/> - <syscall name="lremovexattr" number="234"/> - <syscall name="fremovexattr" number="235"/> + <syscall name="pivot_root" number="217" groups="file"/> + <syscall name="mincore" number="218" groups="memory"/> + <syscall name="madvise" number="219" groups="memory"/> + <syscall name="getdents64" number="220" groups="descriptor"/> + <syscall name="fcntl64" number="221" groups="descriptor"/> + <syscall name="readahead" number="222" groups="descriptor"/> + <syscall name="sendfile64" number="223" groups="descriptor,network"/> + <syscall name="setxattr" number="224" groups="file"/> + <syscall name="lsetxattr" number="225" groups="file"/> + <syscall name="fsetxattr" number="226" groups="descriptor"/> + <syscall name="getxattr" number="227" groups="file"/> + <syscall name="lgetxattr" number="228" groups="file"/> + <syscall name="fgetxattr" number="229" groups="descriptor"/> + <syscall name="listxattr" number="230" groups="file"/> + <syscall name="llistxattr" number="231" groups="file"/> + <syscall name="flistxattr" number="232" groups="descriptor"/> + <syscall name="removexattr" number="233" groups="file"/> + <syscall name="lremovexattr" number="234" groups="file"/> + <syscall name="fremovexattr" number="235" groups="descriptor"/> <syscall name="gettid" number="236"/> - <syscall name="tkill" number="237"/> + <syscall name="tkill" number="237" groups="signal"/> <syscall name="futex" number="238"/> <syscall name="sched_setaffinity" number="239"/> <syscall name="sched_getaffinity" number="240"/> - <syscall name="tgkill" number="241"/> + <syscall name="tgkill" number="241" groups="signal"/> <syscall name="io_setup" number="243"/> <syscall name="io_destroy" number="244"/> <syscall name="io_getevents" number="245"/> <syscall name="io_submit" number="246"/> <syscall name="io_cancel" number="247"/> - <syscall name="exit_group" number="248"/> - <syscall name="epoll_create" number="249"/> - <syscall name="epoll_ctl" number="250"/> - <syscall name="epoll_wait" number="251"/> + <syscall name="exit_group" number="248" groups="process"/> + <syscall name="epoll_create" number="249" groups="descriptor"/> + <syscall name="epoll_ctl" number="250" groups="descriptor"/> + <syscall name="epoll_wait" number="251" groups="descriptor"/> <syscall name="set_tid_address" number="252"/> - <syscall name="fadvise64" number="253"/> + <syscall name="fadvise64" number="253" groups="descriptor"/> <syscall name="timer_create" number="254"/> <syscall name="timer_settime" number="255"/> <syscall name="timer_gettime" number="256"/> @@ -255,13 +252,13 @@ <syscall name="clock_gettime" number="260"/> <syscall name="clock_getres" number="261"/> <syscall name="clock_nanosleep" number="262"/> - <syscall name="fadvise64_64" number="264"/> - <syscall name="statfs64" number="265"/> - <syscall name="fstatfs64" number="266"/> - <syscall name="remap_file_pages" number="267"/> - <syscall name="mbind" number="268"/> - <syscall name="get_mempolicy" number="269"/> - <syscall name="set_mempolicy" number="270"/> + <syscall name="fadvise64_64" number="264" groups="descriptor"/> + <syscall name="statfs64" number="265" groups="file"/> + <syscall name="fstatfs64" number="266" groups="descriptor"/> + <syscall name="remap_file_pages" number="267" groups="memory"/> + <syscall name="mbind" number="268" groups="memory"/> + <syscall name="get_mempolicy" number="269" groups="memory"/> + <syscall name="set_mempolicy" number="270" groups="memory"/> <syscall name="mq_open" number="271"/> <syscall name="mq_unlink" number="272"/> <syscall name="mq_timedsend" number="273"/> @@ -272,68 +269,68 @@ <syscall name="add_key" number="278"/> <syscall name="request_key" number="279"/> <syscall name="keyctl" number="280"/> - <syscall name="waitid" number="281"/> + <syscall name="waitid" number="281" groups="process"/> <syscall name="ioprio_set" number="282"/> <syscall name="ioprio_get" number="283"/> - <syscall name="inotify_init" number="284"/> - <syscall name="inotify_add_watch" number="285"/> - <syscall name="inotify_rm_watch" number="286"/> - <syscall name="migrate_pages" number="287"/> - <syscall name="openat" number="288"/> - <syscall name="mkdirat" number="289"/> - <syscall name="mknodat" number="290"/> - <syscall name="fchownat" number="291"/> - <syscall name="futimesat" number="292"/> - <syscall name="fstatat64" number="293"/> - <syscall name="unlinkat" number="294"/> - <syscall name="renameat" number="295"/> - <syscall name="linkat" number="296"/> - <syscall name="symlinkat" number="297"/> - <syscall name="readlinkat" number="298"/> - <syscall name="fchmodat" number="299"/> - <syscall name="faccessat" number="300"/> - <syscall name="pselect6" number="301"/> - <syscall name="ppoll" number="302"/> - <syscall name="unshare" number="303"/> + <syscall name="inotify_init" number="284" groups="descriptor"/> + <syscall name="inotify_add_watch" number="285" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="286" groups="descriptor"/> + <syscall name="migrate_pages" number="287" groups="memory"/> + <syscall name="openat" number="288" groups="descriptor,file"/> + <syscall name="mkdirat" number="289" groups="descriptor,file"/> + <syscall name="mknodat" number="290" groups="descriptor,file"/> + <syscall name="fchownat" number="291" groups="descriptor,file"/> + <syscall name="futimesat" number="292" groups="descriptor,file"/> + <syscall name="fstatat64" number="293" groups="descriptor,file"/> + <syscall name="unlinkat" number="294" groups="descriptor,file"/> + <syscall name="renameat" number="295" groups="descriptor,file"/> + <syscall name="linkat" number="296" groups="descriptor,file"/> + <syscall name="symlinkat" number="297" groups="descriptor,file"/> + <syscall name="readlinkat" number="298" groups="descriptor,file"/> + <syscall name="fchmodat" number="299" groups="descriptor,file"/> + <syscall name="faccessat" number="300" groups="descriptor,file"/> + <syscall name="pselect6" number="301" groups="descriptor"/> + <syscall name="ppoll" number="302" groups="descriptor"/> + <syscall name="unshare" number="303" groups="process"/> <syscall name="set_robust_list" number="304"/> <syscall name="get_robust_list" number="305"/> - <syscall name="splice" number="306"/> - <syscall name="sync_file_range" number="307"/> - <syscall name="tee" number="308"/> - <syscall name="vmsplice" number="309"/> - <syscall name="move_pages" number="310"/> + <syscall name="splice" number="306" groups="descriptor"/> + <syscall name="sync_file_range" number="307" groups="descriptor"/> + <syscall name="tee" number="308" groups="descriptor"/> + <syscall name="vmsplice" number="309" groups="descriptor"/> + <syscall name="move_pages" number="310" groups="memory"/> <syscall name="getcpu" number="311"/> - <syscall name="epoll_pwait" number="312"/> - <syscall name="utimes" number="313"/> - <syscall name="fallocate" number="314"/> - <syscall name="utimensat" number="315"/> - <syscall name="signalfd" number="316"/> - <syscall name="timerfd" number="317"/> - <syscall name="eventfd" number="318"/> - <syscall name="timerfd_create" number="319"/> - <syscall name="timerfd_settime" number="320"/> - <syscall name="timerfd_gettime" number="321"/> - <syscall name="signalfd4" number="322"/> - <syscall name="eventfd2" number="323"/> - <syscall name="inotify_init1" number="324"/> - <syscall name="pipe2" number="325"/> - <syscall name="dup3" number="326"/> - <syscall name="epoll_create1" number="327"/> - <syscall name="rt_tgsigqueueinfo" number="330"/> - <syscall name="perf_event_open" number="331"/> - <syscall name="fanotify_init" number="332"/> - <syscall name="fanotify_mark" number="333"/> + <syscall name="epoll_pwait" number="312" groups="descriptor"/> + <syscall name="utimes" number="313" groups="file"/> + <syscall name="fallocate" number="314" groups="descriptor"/> + <syscall name="utimensat" number="315" groups="descriptor,file"/> + <syscall name="signalfd" number="316" groups="descriptor,signal"/> + <syscall name="timerfd" number="317" groups="descriptor"/> + <syscall name="eventfd" number="318" groups="descriptor"/> + <syscall name="timerfd_create" number="319" groups="descriptor"/> + <syscall name="timerfd_settime" number="320" groups="descriptor"/> + <syscall name="timerfd_gettime" number="321" groups="descriptor"/> + <syscall name="signalfd4" number="322" groups="descriptor,signal"/> + <syscall name="eventfd2" number="323" groups="descriptor"/> + <syscall name="inotify_init1" number="324" groups="descriptor"/> + <syscall name="pipe2" number="325" groups="descriptor"/> + <syscall name="dup3" number="326" groups="descriptor"/> + <syscall name="epoll_create1" number="327" groups="descriptor"/> + <syscall name="rt_tgsigqueueinfo" number="330" groups="process,signal"/> + <syscall name="perf_event_open" number="331" groups="descriptor"/> + <syscall name="fanotify_init" number="332" groups="descriptor"/> + <syscall name="fanotify_mark" number="333" groups="descriptor,file"/> <syscall name="prlimit64" number="334"/> - <syscall name="name_to_handle_at" number="335"/> - <syscall name="open_by_handle_at" number="336"/> + <syscall name="name_to_handle_at" number="335" groups="descriptor,file"/> + <syscall name="open_by_handle_at" number="336" groups="descriptor"/> <syscall name="clock_adjtime" number="337"/> - <syscall name="syncfs" number="338"/> - <syscall name="setns" number="339"/> + <syscall name="syncfs" number="338" groups="descriptor"/> + <syscall name="setns" number="339" groups="descriptor"/> <syscall name="process_vm_readv" number="340"/> <syscall name="process_vm_writev" number="341"/> <syscall name="s390_runtime_instr" number="342"/> <syscall name="kcmp" number="343"/> - <syscall name="finit_module" number="344"/> + <syscall name="finit_module" number="344" groups="descriptor"/> <syscall name="sched_setattr" number="345"/> <syscall name="sched_getattr" number="346"/> <syscall name="renameat2" number="347"/> @@ -346,22 +343,22 @@ <syscall name="execveat" number="354"/> <syscall name="userfaultfd" number="355"/> <syscall name="membarrier" number="356"/> - <syscall name="recvmmsg" number="357"/> - <syscall name="sendmmsg" number="358"/> - <syscall name="socket" number="359"/> - <syscall name="socketpair" number="360"/> - <syscall name="bind" number="361"/> - <syscall name="connect" number="362"/> - <syscall name="listen" number="363"/> - <syscall name="accept4" number="364"/> - <syscall name="getsockopt" number="365"/> - <syscall name="setsockopt" number="366"/> - <syscall name="getsockname" number="367"/> - <syscall name="getpeername" number="368"/> - <syscall name="sendto" number="369"/> - <syscall name="sendmsg" number="370"/> - <syscall name="recvfrom" number="371"/> - <syscall name="recvmsg" number="372"/> - <syscall name="shutdown" number="373"/> + <syscall name="recvmmsg" number="357" groups="network"/> + <syscall name="sendmmsg" number="358" groups="network"/> + <syscall name="socket" number="359" groups="network"/> + <syscall name="socketpair" number="360" groups="network"/> + <syscall name="bind" number="361" groups="network"/> + <syscall name="connect" number="362" groups="network"/> + <syscall name="listen" number="363" groups="network"/> + <syscall name="accept4" number="364" groups="network"/> + <syscall name="getsockopt" number="365" groups="network"/> + <syscall name="setsockopt" number="366" groups="network"/> + <syscall name="getsockname" number="367" groups="network"/> + <syscall name="getpeername" number="368" groups="network"/> + <syscall name="sendto" number="369" groups="network"/> + <syscall name="sendmsg" number="370" groups="network"/> + <syscall name="recvfrom" number="371" groups="network"/> + <syscall name="recvmsg" number="372" groups="network"/> + <syscall name="shutdown" number="373" groups="network"/> <syscall name="mlock2" number="374"/> </syscalls_info> diff --git a/gdb/syscalls/s390-linux.xml.in b/gdb/syscalls/s390-linux.xml.in new file mode 100644 index 0000000..56e9287 --- /dev/null +++ b/gdb/syscalls/s390-linux.xml.in @@ -0,0 +1,367 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + /usr/include/asm/unistd.h + + The file mentioned above belongs to the Linux Kernel. --> + +<syscalls_info> + <syscall name="exit" number="1"/> + <syscall name="fork" number="2"/> + <syscall name="read" number="3"/> + <syscall name="write" number="4"/> + <syscall name="open" number="5"/> + <syscall name="close" number="6"/> + <syscall name="restart_syscall" number="7"/> + <syscall name="creat" number="8"/> + <syscall name="link" number="9"/> + <syscall name="unlink" number="10"/> + <syscall name="execve" number="11"/> + <syscall name="chdir" number="12"/> + <syscall name="time" number="13"/> + <syscall name="mknod" number="14"/> + <syscall name="chmod" number="15"/> + <syscall name="lchown" number="16"/> + <syscall name="lseek" number="19"/> + <syscall name="getpid" number="20"/> + <syscall name="mount" number="21"/> + <syscall name="umount" number="22"/> + <syscall name="setuid" number="23"/> + <syscall name="getuid" number="24"/> + <syscall name="stime" number="25"/> + <syscall name="ptrace" number="26"/> + <syscall name="alarm" number="27"/> + <syscall name="pause" number="29"/> + <syscall name="utime" number="30"/> + <syscall name="access" number="33"/> + <syscall name="nice" number="34"/> + <syscall name="sync" number="36"/> + <syscall name="kill" number="37"/> + <syscall name="rename" number="38"/> + <syscall name="mkdir" number="39"/> + <syscall name="rmdir" number="40"/> + <syscall name="dup" number="41"/> + <syscall name="pipe" number="42"/> + <syscall name="times" number="43"/> + <syscall name="brk" number="45"/> + <syscall name="setgid" number="46"/> + <syscall name="getgid" number="47"/> + <syscall name="signal" number="48"/> + <syscall name="geteuid" number="49"/> + <syscall name="getegid" number="50"/> + <syscall name="acct" number="51"/> + <syscall name="umount2" number="52"/> + <syscall name="ioctl" number="54"/> + <syscall name="fcntl" number="55"/> + <syscall name="setpgid" number="57"/> + <syscall name="umask" number="60"/> + <syscall name="chroot" number="61"/> + <syscall name="ustat" number="62"/> + <syscall name="dup2" number="63"/> + <syscall name="getppid" number="64"/> + <syscall name="getpgrp" number="65"/> + <syscall name="setsid" number="66"/> + <syscall name="sigaction" number="67"/> + <syscall name="setreuid" number="70"/> + <syscall name="setregid" number="71"/> + <syscall name="sigsuspend" number="72"/> + <syscall name="sigpending" number="73"/> + <syscall name="sethostname" number="74"/> + <syscall name="setrlimit" number="75"/> + <syscall name="getrlimit" number="76"/> + <syscall name="getrusage" number="77"/> + <syscall name="gettimeofday" number="78"/> + <syscall name="settimeofday" number="79"/> + <syscall name="getgroups" number="80"/> + <syscall name="setgroups" number="81"/> + <syscall name="symlink" number="83"/> + <syscall name="readlink" number="85"/> + <syscall name="uselib" number="86"/> + <syscall name="swapon" number="87"/> + <syscall name="reboot" number="88"/> + <syscall name="readdir" number="89"/> + <syscall name="mmap" number="90"/> + <syscall name="munmap" number="91"/> + <syscall name="truncate" number="92"/> + <syscall name="ftruncate" number="93"/> + <syscall name="fchmod" number="94"/> + <syscall name="fchown" number="95"/> + <syscall name="getpriority" number="96"/> + <syscall name="setpriority" number="97"/> + <syscall name="statfs" number="99"/> + <syscall name="fstatfs" number="100"/> + <syscall name="ioperm" number="101"/> + <syscall name="socketcall" number="102"/> + <syscall name="syslog" number="103"/> + <syscall name="setitimer" number="104"/> + <syscall name="getitimer" number="105"/> + <syscall name="stat" number="106"/> + <syscall name="lstat" number="107"/> + <syscall name="fstat" number="108"/> + <syscall name="lookup_dcookie" number="110"/> + <syscall name="vhangup" number="111"/> + <syscall name="idle" number="112"/> + <syscall name="wait4" number="114"/> + <syscall name="swapoff" number="115"/> + <syscall name="sysinfo" number="116"/> + <syscall name="ipc" number="117"/> + <syscall name="fsync" number="118"/> + <syscall name="sigreturn" number="119"/> + <syscall name="clone" number="120"/> + <syscall name="setdomainname" number="121"/> + <syscall name="uname" number="122"/> + <syscall name="adjtimex" number="124"/> + <syscall name="mprotect" number="125"/> + <syscall name="sigprocmask" number="126"/> + <syscall name="create_module" number="127"/> + <syscall name="init_module" number="128"/> + <syscall name="delete_module" number="129"/> + <syscall name="get_kernel_syms" number="130"/> + <syscall name="quotactl" number="131"/> + <syscall name="getpgid" number="132"/> + <syscall name="fchdir" number="133"/> + <syscall name="bdflush" number="134"/> + <syscall name="sysfs" number="135"/> + <syscall name="personality" number="136"/> + <syscall name="afs_syscall" number="137"/> + <syscall name="setfsuid" number="138"/> + <syscall name="setfsgid" number="139"/> + <syscall name="_llseek" number="140"/> + <syscall name="getdents" number="141"/> + <syscall name="_newselect" number="142"/> + <syscall name="flock" number="143"/> + <syscall name="msync" number="144"/> + <syscall name="readv" number="145"/> + <syscall name="writev" number="146"/> + <syscall name="getsid" number="147"/> + <syscall name="fdatasync" number="148"/> + <syscall name="_sysctl" number="149"/> + <syscall name="mlock" number="150"/> + <syscall name="munlock" number="151"/> + <syscall name="mlockall" number="152"/> + <syscall name="munlockall" number="153"/> + <syscall name="sched_setparam" number="154"/> + <syscall name="sched_getparam" number="155"/> + <syscall name="sched_setscheduler" number="156"/> + <syscall name="sched_getscheduler" number="157"/> + <syscall name="sched_yield" number="158"/> + <syscall name="sched_get_priority_max" number="159"/> + <syscall name="sched_get_priority_min" number="160"/> + <syscall name="sched_rr_get_interval" number="161"/> + <syscall name="nanosleep" number="162"/> + <syscall name="mremap" number="163"/> + <syscall name="setresuid" number="164"/> + <syscall name="getresuid" number="165"/> + <syscall name="query_module" number="167"/> + <syscall name="poll" number="168"/> + <syscall name="nfsservctl" number="169"/> + <syscall name="setresgid" number="170"/> + <syscall name="getresgid" number="171"/> + <syscall name="prctl" number="172"/> + <syscall name="rt_sigreturn" number="173"/> + <syscall name="rt_sigaction" number="174"/> + <syscall name="rt_sigprocmask" number="175"/> + <syscall name="rt_sigpending" number="176"/> + <syscall name="rt_sigtimedwait" number="177"/> + <syscall name="rt_sigqueueinfo" number="178"/> + <syscall name="rt_sigsuspend" number="179"/> + <syscall name="pread64" number="180"/> + <syscall name="pwrite64" number="181"/> + <syscall name="chown" number="182"/> + <syscall name="getcwd" number="183"/> + <syscall name="capget" number="184"/> + <syscall name="capset" number="185"/> + <syscall name="sigaltstack" number="186"/> + <syscall name="sendfile" number="187"/> + <syscall name="getpmsg" number="188"/> + <syscall name="putpmsg" number="189"/> + <syscall name="vfork" number="190"/> + <syscall name="ugetrlimit" number="191"/> + <syscall name="mmap2" number="192"/> + <syscall name="truncate64" number="193"/> + <syscall name="ftruncate64" number="194"/> + <syscall name="stat64" number="195"/> + <syscall name="lstat64" number="196"/> + <syscall name="fstat64" number="197"/> + <syscall name="lchown32" number="198"/> + <syscall name="getuid32" number="199"/> + <syscall name="getgid32" number="200"/> + <syscall name="geteuid32" number="201"/> + <syscall name="getegid32" number="202"/> + <syscall name="setreuid32" number="203"/> + <syscall name="setregid32" number="204"/> + <syscall name="getgroups32" number="205"/> + <syscall name="setgroups32" number="206"/> + <syscall name="fchown32" number="207"/> + <syscall name="setresuid32" number="208"/> + <syscall name="getresuid32" number="209"/> + <syscall name="setresgid32" number="210"/> + <syscall name="getresgid32" number="211"/> + <syscall name="chown32" number="212"/> + <syscall name="setuid32" number="213"/> + <syscall name="setgid32" number="214"/> + <syscall name="setfsuid32" number="215"/> + <syscall name="setfsgid32" number="216"/> + <syscall name="pivot_root" number="217"/> + <syscall name="mincore" number="218"/> + <syscall name="madvise" number="219"/> + <syscall name="getdents64" number="220"/> + <syscall name="fcntl64" number="221"/> + <syscall name="readahead" number="222"/> + <syscall name="sendfile64" number="223"/> + <syscall name="setxattr" number="224"/> + <syscall name="lsetxattr" number="225"/> + <syscall name="fsetxattr" number="226"/> + <syscall name="getxattr" number="227"/> + <syscall name="lgetxattr" number="228"/> + <syscall name="fgetxattr" number="229"/> + <syscall name="listxattr" number="230"/> + <syscall name="llistxattr" number="231"/> + <syscall name="flistxattr" number="232"/> + <syscall name="removexattr" number="233"/> + <syscall name="lremovexattr" number="234"/> + <syscall name="fremovexattr" number="235"/> + <syscall name="gettid" number="236"/> + <syscall name="tkill" number="237"/> + <syscall name="futex" number="238"/> + <syscall name="sched_setaffinity" number="239"/> + <syscall name="sched_getaffinity" number="240"/> + <syscall name="tgkill" number="241"/> + <syscall name="io_setup" number="243"/> + <syscall name="io_destroy" number="244"/> + <syscall name="io_getevents" number="245"/> + <syscall name="io_submit" number="246"/> + <syscall name="io_cancel" number="247"/> + <syscall name="exit_group" number="248"/> + <syscall name="epoll_create" number="249"/> + <syscall name="epoll_ctl" number="250"/> + <syscall name="epoll_wait" number="251"/> + <syscall name="set_tid_address" number="252"/> + <syscall name="fadvise64" number="253"/> + <syscall name="timer_create" number="254"/> + <syscall name="timer_settime" number="255"/> + <syscall name="timer_gettime" number="256"/> + <syscall name="timer_getoverrun" number="257"/> + <syscall name="timer_delete" number="258"/> + <syscall name="clock_settime" number="259"/> + <syscall name="clock_gettime" number="260"/> + <syscall name="clock_getres" number="261"/> + <syscall name="clock_nanosleep" number="262"/> + <syscall name="fadvise64_64" number="264"/> + <syscall name="statfs64" number="265"/> + <syscall name="fstatfs64" number="266"/> + <syscall name="remap_file_pages" number="267"/> + <syscall name="mbind" number="268"/> + <syscall name="get_mempolicy" number="269"/> + <syscall name="set_mempolicy" number="270"/> + <syscall name="mq_open" number="271"/> + <syscall name="mq_unlink" number="272"/> + <syscall name="mq_timedsend" number="273"/> + <syscall name="mq_timedreceive" number="274"/> + <syscall name="mq_notify" number="275"/> + <syscall name="mq_getsetattr" number="276"/> + <syscall name="kexec_load" number="277"/> + <syscall name="add_key" number="278"/> + <syscall name="request_key" number="279"/> + <syscall name="keyctl" number="280"/> + <syscall name="waitid" number="281"/> + <syscall name="ioprio_set" number="282"/> + <syscall name="ioprio_get" number="283"/> + <syscall name="inotify_init" number="284"/> + <syscall name="inotify_add_watch" number="285"/> + <syscall name="inotify_rm_watch" number="286"/> + <syscall name="migrate_pages" number="287"/> + <syscall name="openat" number="288"/> + <syscall name="mkdirat" number="289"/> + <syscall name="mknodat" number="290"/> + <syscall name="fchownat" number="291"/> + <syscall name="futimesat" number="292"/> + <syscall name="fstatat64" number="293"/> + <syscall name="unlinkat" number="294"/> + <syscall name="renameat" number="295"/> + <syscall name="linkat" number="296"/> + <syscall name="symlinkat" number="297"/> + <syscall name="readlinkat" number="298"/> + <syscall name="fchmodat" number="299"/> + <syscall name="faccessat" number="300"/> + <syscall name="pselect6" number="301"/> + <syscall name="ppoll" number="302"/> + <syscall name="unshare" number="303"/> + <syscall name="set_robust_list" number="304"/> + <syscall name="get_robust_list" number="305"/> + <syscall name="splice" number="306"/> + <syscall name="sync_file_range" number="307"/> + <syscall name="tee" number="308"/> + <syscall name="vmsplice" number="309"/> + <syscall name="move_pages" number="310"/> + <syscall name="getcpu" number="311"/> + <syscall name="epoll_pwait" number="312"/> + <syscall name="utimes" number="313"/> + <syscall name="fallocate" number="314"/> + <syscall name="utimensat" number="315"/> + <syscall name="signalfd" number="316"/> + <syscall name="timerfd" number="317"/> + <syscall name="eventfd" number="318"/> + <syscall name="timerfd_create" number="319"/> + <syscall name="timerfd_settime" number="320"/> + <syscall name="timerfd_gettime" number="321"/> + <syscall name="signalfd4" number="322"/> + <syscall name="eventfd2" number="323"/> + <syscall name="inotify_init1" number="324"/> + <syscall name="pipe2" number="325"/> + <syscall name="dup3" number="326"/> + <syscall name="epoll_create1" number="327"/> + <syscall name="rt_tgsigqueueinfo" number="330"/> + <syscall name="perf_event_open" number="331"/> + <syscall name="fanotify_init" number="332"/> + <syscall name="fanotify_mark" number="333"/> + <syscall name="prlimit64" number="334"/> + <syscall name="name_to_handle_at" number="335"/> + <syscall name="open_by_handle_at" number="336"/> + <syscall name="clock_adjtime" number="337"/> + <syscall name="syncfs" number="338"/> + <syscall name="setns" number="339"/> + <syscall name="process_vm_readv" number="340"/> + <syscall name="process_vm_writev" number="341"/> + <syscall name="s390_runtime_instr" number="342"/> + <syscall name="kcmp" number="343"/> + <syscall name="finit_module" number="344"/> + <syscall name="sched_setattr" number="345"/> + <syscall name="sched_getattr" number="346"/> + <syscall name="renameat2" number="347"/> + <syscall name="seccomp" number="348"/> + <syscall name="getrandom" number="349"/> + <syscall name="memfd_create" number="350"/> + <syscall name="bpf" number="351"/> + <syscall name="s390_pci_mmio_write" number="352"/> + <syscall name="s390_pci_mmio_read" number="353"/> + <syscall name="execveat" number="354"/> + <syscall name="userfaultfd" number="355"/> + <syscall name="membarrier" number="356"/> + <syscall name="recvmmsg" number="357"/> + <syscall name="sendmmsg" number="358"/> + <syscall name="socket" number="359"/> + <syscall name="socketpair" number="360"/> + <syscall name="bind" number="361"/> + <syscall name="connect" number="362"/> + <syscall name="listen" number="363"/> + <syscall name="accept4" number="364"/> + <syscall name="getsockopt" number="365"/> + <syscall name="setsockopt" number="366"/> + <syscall name="getsockname" number="367"/> + <syscall name="getpeername" number="368"/> + <syscall name="sendto" number="369"/> + <syscall name="sendmsg" number="370"/> + <syscall name="recvfrom" number="371"/> + <syscall name="recvmsg" number="372"/> + <syscall name="shutdown" number="373"/> + <syscall name="mlock2" number="374"/> +</syscalls_info> diff --git a/gdb/syscalls/s390x-linux.xml b/gdb/syscalls/s390x-linux.xml index 91a8927..57b837e 100644 --- a/gdb/syscalls/s390x-linux.xml +++ b/gdb/syscalls/s390x-linux.xml @@ -1,134 +1,131 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: /usr/include/asm/unistd.h The file mentioned above belongs to the Linux Kernel. --> - <syscalls_info> - <syscall name="exit" number="1"/> - <syscall name="fork" number="2"/> - <syscall name="read" number="3"/> - <syscall name="write" number="4"/> - <syscall name="open" number="5"/> - <syscall name="close" number="6"/> + <syscall name="exit" number="1" groups="process"/> + <syscall name="fork" number="2" groups="process"/> + <syscall name="read" number="3" groups="descriptor"/> + <syscall name="write" number="4" groups="descriptor"/> + <syscall name="open" number="5" groups="descriptor,file"/> + <syscall name="close" number="6" groups="descriptor"/> <syscall name="restart_syscall" number="7"/> - <syscall name="creat" number="8"/> - <syscall name="link" number="9"/> - <syscall name="unlink" number="10"/> - <syscall name="execve" number="11"/> - <syscall name="chdir" number="12"/> - <syscall name="mknod" number="14"/> - <syscall name="chmod" number="15"/> - <syscall name="lseek" number="19"/> + <syscall name="creat" number="8" groups="descriptor,file"/> + <syscall name="link" number="9" groups="file"/> + <syscall name="unlink" number="10" groups="file"/> + <syscall name="execve" number="11" groups="file,process"/> + <syscall name="chdir" number="12" groups="file"/> + <syscall name="mknod" number="14" groups="file"/> + <syscall name="chmod" number="15" groups="file"/> + <syscall name="lseek" number="19" groups="descriptor"/> <syscall name="getpid" number="20"/> - <syscall name="mount" number="21"/> - <syscall name="umount" number="22"/> + <syscall name="mount" number="21" groups="file"/> + <syscall name="umount" number="22" groups="file"/> <syscall name="ptrace" number="26"/> <syscall name="alarm" number="27"/> - <syscall name="pause" number="29"/> - <syscall name="utime" number="30"/> - <syscall name="access" number="33"/> + <syscall name="pause" number="29" groups="signal"/> + <syscall name="utime" number="30" groups="file"/> + <syscall name="access" number="33" groups="file"/> <syscall name="nice" number="34"/> <syscall name="sync" number="36"/> - <syscall name="kill" number="37"/> - <syscall name="rename" number="38"/> - <syscall name="mkdir" number="39"/> - <syscall name="rmdir" number="40"/> - <syscall name="dup" number="41"/> - <syscall name="pipe" number="42"/> + <syscall name="kill" number="37" groups="signal"/> + <syscall name="rename" number="38" groups="file"/> + <syscall name="mkdir" number="39" groups="file"/> + <syscall name="rmdir" number="40" groups="file"/> + <syscall name="dup" number="41" groups="descriptor"/> + <syscall name="pipe" number="42" groups="descriptor"/> <syscall name="times" number="43"/> - <syscall name="brk" number="45"/> - <syscall name="signal" number="48"/> - <syscall name="acct" number="51"/> - <syscall name="umount2" number="52"/> - <syscall name="ioctl" number="54"/> - <syscall name="fcntl" number="55"/> + <syscall name="brk" number="45" groups="memory"/> + <syscall name="signal" number="48" groups="signal"/> + <syscall name="acct" number="51" groups="file"/> + <syscall name="umount2" number="52" groups="file"/> + <syscall name="ioctl" number="54" groups="descriptor"/> + <syscall name="fcntl" number="55" groups="descriptor"/> <syscall name="setpgid" number="57"/> <syscall name="umask" number="60"/> - <syscall name="chroot" number="61"/> + <syscall name="chroot" number="61" groups="file"/> <syscall name="ustat" number="62"/> - <syscall name="dup2" number="63"/> + <syscall name="dup2" number="63" groups="descriptor"/> <syscall name="getppid" number="64"/> <syscall name="getpgrp" number="65"/> <syscall name="setsid" number="66"/> - <syscall name="sigaction" number="67"/> - <syscall name="sigsuspend" number="72"/> - <syscall name="sigpending" number="73"/> + <syscall name="sigaction" number="67" groups="signal"/> + <syscall name="sigsuspend" number="72" groups="signal"/> + <syscall name="sigpending" number="73" groups="signal"/> <syscall name="sethostname" number="74"/> <syscall name="setrlimit" number="75"/> <syscall name="getrusage" number="77"/> <syscall name="gettimeofday" number="78"/> <syscall name="settimeofday" number="79"/> - <syscall name="symlink" number="83"/> - <syscall name="readlink" number="85"/> - <syscall name="uselib" number="86"/> - <syscall name="swapon" number="87"/> + <syscall name="symlink" number="83" groups="file"/> + <syscall name="readlink" number="85" groups="file"/> + <syscall name="uselib" number="86" groups="file"/> + <syscall name="swapon" number="87" groups="file"/> <syscall name="reboot" number="88"/> - <syscall name="readdir" number="89"/> - <syscall name="mmap" number="90"/> - <syscall name="munmap" number="91"/> - <syscall name="truncate" number="92"/> - <syscall name="ftruncate" number="93"/> - <syscall name="fchmod" number="94"/> + <syscall name="readdir" number="89" groups="descriptor"/> + <syscall name="mmap" number="90" groups="descriptor,memory"/> + <syscall name="munmap" number="91" groups="memory"/> + <syscall name="truncate" number="92" groups="file"/> + <syscall name="ftruncate" number="93" groups="descriptor"/> + <syscall name="fchmod" number="94" groups="descriptor"/> <syscall name="getpriority" number="96"/> <syscall name="setpriority" number="97"/> - <syscall name="statfs" number="99"/> - <syscall name="fstatfs" number="100"/> - <syscall name="socketcall" number="102"/> + <syscall name="statfs" number="99" groups="file"/> + <syscall name="fstatfs" number="100" groups="descriptor"/> + <syscall name="socketcall" number="102" groups="descriptor"/> <syscall name="syslog" number="103"/> <syscall name="setitimer" number="104"/> <syscall name="getitimer" number="105"/> - <syscall name="stat" number="106"/> - <syscall name="lstat" number="107"/> - <syscall name="fstat" number="108"/> + <syscall name="stat" number="106" groups="file"/> + <syscall name="lstat" number="107" groups="file"/> + <syscall name="fstat" number="108" groups="descriptor"/> <syscall name="lookup_dcookie" number="110"/> <syscall name="vhangup" number="111"/> <syscall name="idle" number="112"/> - <syscall name="wait4" number="114"/> - <syscall name="swapoff" number="115"/> + <syscall name="wait4" number="114" groups="process"/> + <syscall name="swapoff" number="115" groups="file"/> <syscall name="sysinfo" number="116"/> - <syscall name="ipc" number="117"/> - <syscall name="fsync" number="118"/> - <syscall name="sigreturn" number="119"/> - <syscall name="clone" number="120"/> + <syscall name="ipc" number="117" groups="ipc"/> + <syscall name="fsync" number="118" groups="descriptor"/> + <syscall name="sigreturn" number="119" groups="signal"/> + <syscall name="clone" number="120" groups="process"/> <syscall name="setdomainname" number="121"/> <syscall name="uname" number="122"/> <syscall name="adjtimex" number="124"/> - <syscall name="mprotect" number="125"/> - <syscall name="sigprocmask" number="126"/> + <syscall name="mprotect" number="125" groups="memory"/> + <syscall name="sigprocmask" number="126" groups="signal"/> <syscall name="create_module" number="127"/> <syscall name="init_module" number="128"/> <syscall name="delete_module" number="129"/> <syscall name="get_kernel_syms" number="130"/> - <syscall name="quotactl" number="131"/> + <syscall name="quotactl" number="131" groups="file"/> <syscall name="getpgid" number="132"/> - <syscall name="fchdir" number="133"/> + <syscall name="fchdir" number="133" groups="descriptor"/> <syscall name="bdflush" number="134"/> <syscall name="sysfs" number="135"/> <syscall name="personality" number="136"/> <syscall name="afs_syscall" number="137"/> - <syscall name="getdents" number="141"/> - <syscall name="select" number="142"/> - <syscall name="flock" number="143"/> - <syscall name="msync" number="144"/> - <syscall name="readv" number="145"/> - <syscall name="writev" number="146"/> + <syscall name="getdents" number="141" groups="descriptor"/> + <syscall name="select" number="142" groups="descriptor"/> + <syscall name="flock" number="143" groups="descriptor"/> + <syscall name="msync" number="144" groups="memory"/> + <syscall name="readv" number="145" groups="descriptor"/> + <syscall name="writev" number="146" groups="descriptor"/> <syscall name="getsid" number="147"/> - <syscall name="fdatasync" number="148"/> + <syscall name="fdatasync" number="148" groups="descriptor"/> <syscall name="_sysctl" number="149"/> - <syscall name="mlock" number="150"/> - <syscall name="munlock" number="151"/> - <syscall name="mlockall" number="152"/> - <syscall name="munlockall" number="153"/> + <syscall name="mlock" number="150" groups="memory"/> + <syscall name="munlock" number="151" groups="memory"/> + <syscall name="mlockall" number="152" groups="memory"/> + <syscall name="munlockall" number="153" groups="memory"/> <syscall name="sched_setparam" number="154"/> <syscall name="sched_getparam" number="155"/> <syscall name="sched_setscheduler" number="156"/> @@ -138,30 +135,30 @@ <syscall name="sched_get_priority_min" number="160"/> <syscall name="sched_rr_get_interval" number="161"/> <syscall name="nanosleep" number="162"/> - <syscall name="mremap" number="163"/> + <syscall name="mremap" number="163" groups="memory"/> <syscall name="query_module" number="167"/> - <syscall name="poll" number="168"/> + <syscall name="poll" number="168" groups="descriptor"/> <syscall name="nfsservctl" number="169"/> <syscall name="prctl" number="172"/> - <syscall name="rt_sigreturn" number="173"/> - <syscall name="rt_sigaction" number="174"/> - <syscall name="rt_sigprocmask" number="175"/> - <syscall name="rt_sigpending" number="176"/> - <syscall name="rt_sigtimedwait" number="177"/> - <syscall name="rt_sigqueueinfo" number="178"/> - <syscall name="rt_sigsuspend" number="179"/> - <syscall name="pread64" number="180"/> - <syscall name="pwrite64" number="181"/> - <syscall name="getcwd" number="183"/> + <syscall name="rt_sigreturn" number="173" groups="signal"/> + <syscall name="rt_sigaction" number="174" groups="signal"/> + <syscall name="rt_sigprocmask" number="175" groups="signal"/> + <syscall name="rt_sigpending" number="176" groups="signal"/> + <syscall name="rt_sigtimedwait" number="177" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="178" groups="signal"/> + <syscall name="rt_sigsuspend" number="179" groups="signal"/> + <syscall name="pread64" number="180" groups="descriptor"/> + <syscall name="pwrite64" number="181" groups="descriptor"/> + <syscall name="getcwd" number="183" groups="file"/> <syscall name="capget" number="184"/> <syscall name="capset" number="185"/> - <syscall name="sigaltstack" number="186"/> - <syscall name="sendfile" number="187"/> + <syscall name="sigaltstack" number="186" groups="signal"/> + <syscall name="sendfile" number="187" groups="descriptor,network"/> <syscall name="getpmsg" number="188"/> <syscall name="putpmsg" number="189"/> - <syscall name="vfork" number="190"/> + <syscall name="vfork" number="190" groups="process"/> <syscall name="getrlimit" number="191"/> - <syscall name="lchown" number="198"/> + <syscall name="lchown" number="198" groups="file"/> <syscall name="getuid" number="199"/> <syscall name="getgid" number="200"/> <syscall name="geteuid" number="201"/> @@ -170,50 +167,50 @@ <syscall name="setregid" number="204"/> <syscall name="getgroups" number="205"/> <syscall name="setgroups" number="206"/> - <syscall name="fchown" number="207"/> + <syscall name="fchown" number="207" groups="descriptor"/> <syscall name="setresuid" number="208"/> <syscall name="getresuid" number="209"/> <syscall name="setresgid" number="210"/> <syscall name="getresgid" number="211"/> - <syscall name="chown" number="212"/> + <syscall name="chown" number="212" groups="file"/> <syscall name="setuid" number="213"/> <syscall name="setgid" number="214"/> <syscall name="setfsuid" number="215"/> <syscall name="setfsgid" number="216"/> - <syscall name="pivot_root" number="217"/> - <syscall name="mincore" number="218"/> - <syscall name="madvise" number="219"/> - <syscall name="getdents64" number="220"/> - <syscall name="readahead" number="222"/> - <syscall name="setxattr" number="224"/> - <syscall name="lsetxattr" number="225"/> - <syscall name="fsetxattr" number="226"/> - <syscall name="getxattr" number="227"/> - <syscall name="lgetxattr" number="228"/> - <syscall name="fgetxattr" number="229"/> - <syscall name="listxattr" number="230"/> - <syscall name="llistxattr" number="231"/> - <syscall name="flistxattr" number="232"/> - <syscall name="removexattr" number="233"/> - <syscall name="lremovexattr" number="234"/> - <syscall name="fremovexattr" number="235"/> + <syscall name="pivot_root" number="217" groups="file"/> + <syscall name="mincore" number="218" groups="memory"/> + <syscall name="madvise" number="219" groups="memory"/> + <syscall name="getdents64" number="220" groups="descriptor"/> + <syscall name="readahead" number="222" groups="descriptor"/> + <syscall name="setxattr" number="224" groups="file"/> + <syscall name="lsetxattr" number="225" groups="file"/> + <syscall name="fsetxattr" number="226" groups="descriptor"/> + <syscall name="getxattr" number="227" groups="file"/> + <syscall name="lgetxattr" number="228" groups="file"/> + <syscall name="fgetxattr" number="229" groups="descriptor"/> + <syscall name="listxattr" number="230" groups="file"/> + <syscall name="llistxattr" number="231" groups="file"/> + <syscall name="flistxattr" number="232" groups="descriptor"/> + <syscall name="removexattr" number="233" groups="file"/> + <syscall name="lremovexattr" number="234" groups="file"/> + <syscall name="fremovexattr" number="235" groups="descriptor"/> <syscall name="gettid" number="236"/> - <syscall name="tkill" number="237"/> + <syscall name="tkill" number="237" groups="signal"/> <syscall name="futex" number="238"/> <syscall name="sched_setaffinity" number="239"/> <syscall name="sched_getaffinity" number="240"/> - <syscall name="tgkill" number="241"/> + <syscall name="tgkill" number="241" groups="signal"/> <syscall name="io_setup" number="243"/> <syscall name="io_destroy" number="244"/> <syscall name="io_getevents" number="245"/> <syscall name="io_submit" number="246"/> <syscall name="io_cancel" number="247"/> - <syscall name="exit_group" number="248"/> - <syscall name="epoll_create" number="249"/> - <syscall name="epoll_ctl" number="250"/> - <syscall name="epoll_wait" number="251"/> + <syscall name="exit_group" number="248" groups="process"/> + <syscall name="epoll_create" number="249" groups="descriptor"/> + <syscall name="epoll_ctl" number="250" groups="descriptor"/> + <syscall name="epoll_wait" number="251" groups="descriptor"/> <syscall name="set_tid_address" number="252"/> - <syscall name="fadvise64" number="253"/> + <syscall name="fadvise64" number="253" groups="descriptor"/> <syscall name="timer_create" number="254"/> <syscall name="timer_settime" number="255"/> <syscall name="timer_gettime" number="256"/> @@ -223,12 +220,12 @@ <syscall name="clock_gettime" number="260"/> <syscall name="clock_getres" number="261"/> <syscall name="clock_nanosleep" number="262"/> - <syscall name="statfs64" number="265"/> - <syscall name="fstatfs64" number="266"/> - <syscall name="remap_file_pages" number="267"/> - <syscall name="mbind" number="268"/> - <syscall name="get_mempolicy" number="269"/> - <syscall name="set_mempolicy" number="270"/> + <syscall name="statfs64" number="265" groups="file"/> + <syscall name="fstatfs64" number="266" groups="descriptor"/> + <syscall name="remap_file_pages" number="267" groups="memory"/> + <syscall name="mbind" number="268" groups="memory"/> + <syscall name="get_mempolicy" number="269" groups="memory"/> + <syscall name="set_mempolicy" number="270" groups="memory"/> <syscall name="mq_open" number="271"/> <syscall name="mq_unlink" number="272"/> <syscall name="mq_timedsend" number="273"/> @@ -239,68 +236,68 @@ <syscall name="add_key" number="278"/> <syscall name="request_key" number="279"/> <syscall name="keyctl" number="280"/> - <syscall name="waitid" number="281"/> + <syscall name="waitid" number="281" groups="process"/> <syscall name="ioprio_set" number="282"/> <syscall name="ioprio_get" number="283"/> - <syscall name="inotify_init" number="284"/> - <syscall name="inotify_add_watch" number="285"/> - <syscall name="inotify_rm_watch" number="286"/> - <syscall name="migrate_pages" number="287"/> - <syscall name="openat" number="288"/> - <syscall name="mkdirat" number="289"/> - <syscall name="mknodat" number="290"/> - <syscall name="fchownat" number="291"/> - <syscall name="futimesat" number="292"/> - <syscall name="newfstatat" number="293"/> - <syscall name="unlinkat" number="294"/> - <syscall name="renameat" number="295"/> - <syscall name="linkat" number="296"/> - <syscall name="symlinkat" number="297"/> - <syscall name="readlinkat" number="298"/> - <syscall name="fchmodat" number="299"/> - <syscall name="faccessat" number="300"/> - <syscall name="pselect6" number="301"/> - <syscall name="ppoll" number="302"/> - <syscall name="unshare" number="303"/> + <syscall name="inotify_init" number="284" groups="descriptor"/> + <syscall name="inotify_add_watch" number="285" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="286" groups="descriptor"/> + <syscall name="migrate_pages" number="287" groups="memory"/> + <syscall name="openat" number="288" groups="descriptor,file"/> + <syscall name="mkdirat" number="289" groups="descriptor,file"/> + <syscall name="mknodat" number="290" groups="descriptor,file"/> + <syscall name="fchownat" number="291" groups="descriptor,file"/> + <syscall name="futimesat" number="292" groups="descriptor,file"/> + <syscall name="newfstatat" number="293" groups="descriptor,file"/> + <syscall name="unlinkat" number="294" groups="descriptor,file"/> + <syscall name="renameat" number="295" groups="descriptor,file"/> + <syscall name="linkat" number="296" groups="descriptor,file"/> + <syscall name="symlinkat" number="297" groups="descriptor,file"/> + <syscall name="readlinkat" number="298" groups="descriptor,file"/> + <syscall name="fchmodat" number="299" groups="descriptor,file"/> + <syscall name="faccessat" number="300" groups="descriptor,file"/> + <syscall name="pselect6" number="301" groups="descriptor"/> + <syscall name="ppoll" number="302" groups="descriptor"/> + <syscall name="unshare" number="303" groups="process"/> <syscall name="set_robust_list" number="304"/> <syscall name="get_robust_list" number="305"/> - <syscall name="splice" number="306"/> - <syscall name="sync_file_range" number="307"/> - <syscall name="tee" number="308"/> - <syscall name="vmsplice" number="309"/> - <syscall name="move_pages" number="310"/> + <syscall name="splice" number="306" groups="descriptor"/> + <syscall name="sync_file_range" number="307" groups="descriptor"/> + <syscall name="tee" number="308" groups="descriptor"/> + <syscall name="vmsplice" number="309" groups="descriptor"/> + <syscall name="move_pages" number="310" groups="memory"/> <syscall name="getcpu" number="311"/> - <syscall name="epoll_pwait" number="312"/> - <syscall name="utimes" number="313"/> - <syscall name="fallocate" number="314"/> - <syscall name="utimensat" number="315"/> - <syscall name="signalfd" number="316"/> - <syscall name="timerfd" number="317"/> - <syscall name="eventfd" number="318"/> - <syscall name="timerfd_create" number="319"/> - <syscall name="timerfd_settime" number="320"/> - <syscall name="timerfd_gettime" number="321"/> - <syscall name="signalfd4" number="322"/> - <syscall name="eventfd2" number="323"/> - <syscall name="inotify_init1" number="324"/> - <syscall name="pipe2" number="325"/> - <syscall name="dup3" number="326"/> - <syscall name="epoll_create1" number="327"/> - <syscall name="rt_tgsigqueueinfo" number="330"/> - <syscall name="perf_event_open" number="331"/> - <syscall name="fanotify_init" number="332"/> - <syscall name="fanotify_mark" number="333"/> + <syscall name="epoll_pwait" number="312" groups="descriptor"/> + <syscall name="utimes" number="313" groups="file"/> + <syscall name="fallocate" number="314" groups="descriptor"/> + <syscall name="utimensat" number="315" groups="descriptor,file"/> + <syscall name="signalfd" number="316" groups="descriptor,signal"/> + <syscall name="timerfd" number="317" groups="descriptor"/> + <syscall name="eventfd" number="318" groups="descriptor"/> + <syscall name="timerfd_create" number="319" groups="descriptor"/> + <syscall name="timerfd_settime" number="320" groups="descriptor"/> + <syscall name="timerfd_gettime" number="321" groups="descriptor"/> + <syscall name="signalfd4" number="322" groups="descriptor,signal"/> + <syscall name="eventfd2" number="323" groups="descriptor"/> + <syscall name="inotify_init1" number="324" groups="descriptor"/> + <syscall name="pipe2" number="325" groups="descriptor"/> + <syscall name="dup3" number="326" groups="descriptor"/> + <syscall name="epoll_create1" number="327" groups="descriptor"/> + <syscall name="rt_tgsigqueueinfo" number="330" groups="process,signal"/> + <syscall name="perf_event_open" number="331" groups="descriptor"/> + <syscall name="fanotify_init" number="332" groups="descriptor"/> + <syscall name="fanotify_mark" number="333" groups="descriptor,file"/> <syscall name="prlimit64" number="334"/> - <syscall name="name_to_handle_at" number="335"/> - <syscall name="open_by_handle_at" number="336"/> + <syscall name="name_to_handle_at" number="335" groups="descriptor,file"/> + <syscall name="open_by_handle_at" number="336" groups="descriptor"/> <syscall name="clock_adjtime" number="337"/> - <syscall name="syncfs" number="338"/> - <syscall name="setns" number="339"/> + <syscall name="syncfs" number="338" groups="descriptor"/> + <syscall name="setns" number="339" groups="descriptor"/> <syscall name="process_vm_readv" number="340"/> <syscall name="process_vm_writev" number="341"/> <syscall name="s390_runtime_instr" number="342"/> <syscall name="kcmp" number="343"/> - <syscall name="finit_module" number="344"/> + <syscall name="finit_module" number="344" groups="descriptor"/> <syscall name="sched_setattr" number="345"/> <syscall name="sched_getattr" number="346"/> <syscall name="renameat2" number="347"/> @@ -313,22 +310,22 @@ <syscall name="execveat" number="354"/> <syscall name="userfaultfd" number="355"/> <syscall name="membarrier" number="356"/> - <syscall name="recvmmsg" number="357"/> - <syscall name="sendmmsg" number="358"/> - <syscall name="socket" number="359"/> - <syscall name="socketpair" number="360"/> - <syscall name="bind" number="361"/> - <syscall name="connect" number="362"/> - <syscall name="listen" number="363"/> - <syscall name="accept4" number="364"/> - <syscall name="getsockopt" number="365"/> - <syscall name="setsockopt" number="366"/> - <syscall name="getsockname" number="367"/> - <syscall name="getpeername" number="368"/> - <syscall name="sendto" number="369"/> - <syscall name="sendmsg" number="370"/> - <syscall name="recvfrom" number="371"/> - <syscall name="recvmsg" number="372"/> - <syscall name="shutdown" number="373"/> + <syscall name="recvmmsg" number="357" groups="network"/> + <syscall name="sendmmsg" number="358" groups="network"/> + <syscall name="socket" number="359" groups="network"/> + <syscall name="socketpair" number="360" groups="network"/> + <syscall name="bind" number="361" groups="network"/> + <syscall name="connect" number="362" groups="network"/> + <syscall name="listen" number="363" groups="network"/> + <syscall name="accept4" number="364" groups="network"/> + <syscall name="getsockopt" number="365" groups="network"/> + <syscall name="setsockopt" number="366" groups="network"/> + <syscall name="getsockname" number="367" groups="network"/> + <syscall name="getpeername" number="368" groups="network"/> + <syscall name="sendto" number="369" groups="network"/> + <syscall name="sendmsg" number="370" groups="network"/> + <syscall name="recvfrom" number="371" groups="network"/> + <syscall name="recvmsg" number="372" groups="network"/> + <syscall name="shutdown" number="373" groups="network"/> <syscall name="mlock2" number="374"/> </syscalls_info> diff --git a/gdb/syscalls/s390x-linux.xml.in b/gdb/syscalls/s390x-linux.xml.in new file mode 100644 index 0000000..91a8927 --- /dev/null +++ b/gdb/syscalls/s390x-linux.xml.in @@ -0,0 +1,334 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2009-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + /usr/include/asm/unistd.h + + The file mentioned above belongs to the Linux Kernel. --> + +<syscalls_info> + <syscall name="exit" number="1"/> + <syscall name="fork" number="2"/> + <syscall name="read" number="3"/> + <syscall name="write" number="4"/> + <syscall name="open" number="5"/> + <syscall name="close" number="6"/> + <syscall name="restart_syscall" number="7"/> + <syscall name="creat" number="8"/> + <syscall name="link" number="9"/> + <syscall name="unlink" number="10"/> + <syscall name="execve" number="11"/> + <syscall name="chdir" number="12"/> + <syscall name="mknod" number="14"/> + <syscall name="chmod" number="15"/> + <syscall name="lseek" number="19"/> + <syscall name="getpid" number="20"/> + <syscall name="mount" number="21"/> + <syscall name="umount" number="22"/> + <syscall name="ptrace" number="26"/> + <syscall name="alarm" number="27"/> + <syscall name="pause" number="29"/> + <syscall name="utime" number="30"/> + <syscall name="access" number="33"/> + <syscall name="nice" number="34"/> + <syscall name="sync" number="36"/> + <syscall name="kill" number="37"/> + <syscall name="rename" number="38"/> + <syscall name="mkdir" number="39"/> + <syscall name="rmdir" number="40"/> + <syscall name="dup" number="41"/> + <syscall name="pipe" number="42"/> + <syscall name="times" number="43"/> + <syscall name="brk" number="45"/> + <syscall name="signal" number="48"/> + <syscall name="acct" number="51"/> + <syscall name="umount2" number="52"/> + <syscall name="ioctl" number="54"/> + <syscall name="fcntl" number="55"/> + <syscall name="setpgid" number="57"/> + <syscall name="umask" number="60"/> + <syscall name="chroot" number="61"/> + <syscall name="ustat" number="62"/> + <syscall name="dup2" number="63"/> + <syscall name="getppid" number="64"/> + <syscall name="getpgrp" number="65"/> + <syscall name="setsid" number="66"/> + <syscall name="sigaction" number="67"/> + <syscall name="sigsuspend" number="72"/> + <syscall name="sigpending" number="73"/> + <syscall name="sethostname" number="74"/> + <syscall name="setrlimit" number="75"/> + <syscall name="getrusage" number="77"/> + <syscall name="gettimeofday" number="78"/> + <syscall name="settimeofday" number="79"/> + <syscall name="symlink" number="83"/> + <syscall name="readlink" number="85"/> + <syscall name="uselib" number="86"/> + <syscall name="swapon" number="87"/> + <syscall name="reboot" number="88"/> + <syscall name="readdir" number="89"/> + <syscall name="mmap" number="90"/> + <syscall name="munmap" number="91"/> + <syscall name="truncate" number="92"/> + <syscall name="ftruncate" number="93"/> + <syscall name="fchmod" number="94"/> + <syscall name="getpriority" number="96"/> + <syscall name="setpriority" number="97"/> + <syscall name="statfs" number="99"/> + <syscall name="fstatfs" number="100"/> + <syscall name="socketcall" number="102"/> + <syscall name="syslog" number="103"/> + <syscall name="setitimer" number="104"/> + <syscall name="getitimer" number="105"/> + <syscall name="stat" number="106"/> + <syscall name="lstat" number="107"/> + <syscall name="fstat" number="108"/> + <syscall name="lookup_dcookie" number="110"/> + <syscall name="vhangup" number="111"/> + <syscall name="idle" number="112"/> + <syscall name="wait4" number="114"/> + <syscall name="swapoff" number="115"/> + <syscall name="sysinfo" number="116"/> + <syscall name="ipc" number="117"/> + <syscall name="fsync" number="118"/> + <syscall name="sigreturn" number="119"/> + <syscall name="clone" number="120"/> + <syscall name="setdomainname" number="121"/> + <syscall name="uname" number="122"/> + <syscall name="adjtimex" number="124"/> + <syscall name="mprotect" number="125"/> + <syscall name="sigprocmask" number="126"/> + <syscall name="create_module" number="127"/> + <syscall name="init_module" number="128"/> + <syscall name="delete_module" number="129"/> + <syscall name="get_kernel_syms" number="130"/> + <syscall name="quotactl" number="131"/> + <syscall name="getpgid" number="132"/> + <syscall name="fchdir" number="133"/> + <syscall name="bdflush" number="134"/> + <syscall name="sysfs" number="135"/> + <syscall name="personality" number="136"/> + <syscall name="afs_syscall" number="137"/> + <syscall name="getdents" number="141"/> + <syscall name="select" number="142"/> + <syscall name="flock" number="143"/> + <syscall name="msync" number="144"/> + <syscall name="readv" number="145"/> + <syscall name="writev" number="146"/> + <syscall name="getsid" number="147"/> + <syscall name="fdatasync" number="148"/> + <syscall name="_sysctl" number="149"/> + <syscall name="mlock" number="150"/> + <syscall name="munlock" number="151"/> + <syscall name="mlockall" number="152"/> + <syscall name="munlockall" number="153"/> + <syscall name="sched_setparam" number="154"/> + <syscall name="sched_getparam" number="155"/> + <syscall name="sched_setscheduler" number="156"/> + <syscall name="sched_getscheduler" number="157"/> + <syscall name="sched_yield" number="158"/> + <syscall name="sched_get_priority_max" number="159"/> + <syscall name="sched_get_priority_min" number="160"/> + <syscall name="sched_rr_get_interval" number="161"/> + <syscall name="nanosleep" number="162"/> + <syscall name="mremap" number="163"/> + <syscall name="query_module" number="167"/> + <syscall name="poll" number="168"/> + <syscall name="nfsservctl" number="169"/> + <syscall name="prctl" number="172"/> + <syscall name="rt_sigreturn" number="173"/> + <syscall name="rt_sigaction" number="174"/> + <syscall name="rt_sigprocmask" number="175"/> + <syscall name="rt_sigpending" number="176"/> + <syscall name="rt_sigtimedwait" number="177"/> + <syscall name="rt_sigqueueinfo" number="178"/> + <syscall name="rt_sigsuspend" number="179"/> + <syscall name="pread64" number="180"/> + <syscall name="pwrite64" number="181"/> + <syscall name="getcwd" number="183"/> + <syscall name="capget" number="184"/> + <syscall name="capset" number="185"/> + <syscall name="sigaltstack" number="186"/> + <syscall name="sendfile" number="187"/> + <syscall name="getpmsg" number="188"/> + <syscall name="putpmsg" number="189"/> + <syscall name="vfork" number="190"/> + <syscall name="getrlimit" number="191"/> + <syscall name="lchown" number="198"/> + <syscall name="getuid" number="199"/> + <syscall name="getgid" number="200"/> + <syscall name="geteuid" number="201"/> + <syscall name="getegid" number="202"/> + <syscall name="setreuid" number="203"/> + <syscall name="setregid" number="204"/> + <syscall name="getgroups" number="205"/> + <syscall name="setgroups" number="206"/> + <syscall name="fchown" number="207"/> + <syscall name="setresuid" number="208"/> + <syscall name="getresuid" number="209"/> + <syscall name="setresgid" number="210"/> + <syscall name="getresgid" number="211"/> + <syscall name="chown" number="212"/> + <syscall name="setuid" number="213"/> + <syscall name="setgid" number="214"/> + <syscall name="setfsuid" number="215"/> + <syscall name="setfsgid" number="216"/> + <syscall name="pivot_root" number="217"/> + <syscall name="mincore" number="218"/> + <syscall name="madvise" number="219"/> + <syscall name="getdents64" number="220"/> + <syscall name="readahead" number="222"/> + <syscall name="setxattr" number="224"/> + <syscall name="lsetxattr" number="225"/> + <syscall name="fsetxattr" number="226"/> + <syscall name="getxattr" number="227"/> + <syscall name="lgetxattr" number="228"/> + <syscall name="fgetxattr" number="229"/> + <syscall name="listxattr" number="230"/> + <syscall name="llistxattr" number="231"/> + <syscall name="flistxattr" number="232"/> + <syscall name="removexattr" number="233"/> + <syscall name="lremovexattr" number="234"/> + <syscall name="fremovexattr" number="235"/> + <syscall name="gettid" number="236"/> + <syscall name="tkill" number="237"/> + <syscall name="futex" number="238"/> + <syscall name="sched_setaffinity" number="239"/> + <syscall name="sched_getaffinity" number="240"/> + <syscall name="tgkill" number="241"/> + <syscall name="io_setup" number="243"/> + <syscall name="io_destroy" number="244"/> + <syscall name="io_getevents" number="245"/> + <syscall name="io_submit" number="246"/> + <syscall name="io_cancel" number="247"/> + <syscall name="exit_group" number="248"/> + <syscall name="epoll_create" number="249"/> + <syscall name="epoll_ctl" number="250"/> + <syscall name="epoll_wait" number="251"/> + <syscall name="set_tid_address" number="252"/> + <syscall name="fadvise64" number="253"/> + <syscall name="timer_create" number="254"/> + <syscall name="timer_settime" number="255"/> + <syscall name="timer_gettime" number="256"/> + <syscall name="timer_getoverrun" number="257"/> + <syscall name="timer_delete" number="258"/> + <syscall name="clock_settime" number="259"/> + <syscall name="clock_gettime" number="260"/> + <syscall name="clock_getres" number="261"/> + <syscall name="clock_nanosleep" number="262"/> + <syscall name="statfs64" number="265"/> + <syscall name="fstatfs64" number="266"/> + <syscall name="remap_file_pages" number="267"/> + <syscall name="mbind" number="268"/> + <syscall name="get_mempolicy" number="269"/> + <syscall name="set_mempolicy" number="270"/> + <syscall name="mq_open" number="271"/> + <syscall name="mq_unlink" number="272"/> + <syscall name="mq_timedsend" number="273"/> + <syscall name="mq_timedreceive" number="274"/> + <syscall name="mq_notify" number="275"/> + <syscall name="mq_getsetattr" number="276"/> + <syscall name="kexec_load" number="277"/> + <syscall name="add_key" number="278"/> + <syscall name="request_key" number="279"/> + <syscall name="keyctl" number="280"/> + <syscall name="waitid" number="281"/> + <syscall name="ioprio_set" number="282"/> + <syscall name="ioprio_get" number="283"/> + <syscall name="inotify_init" number="284"/> + <syscall name="inotify_add_watch" number="285"/> + <syscall name="inotify_rm_watch" number="286"/> + <syscall name="migrate_pages" number="287"/> + <syscall name="openat" number="288"/> + <syscall name="mkdirat" number="289"/> + <syscall name="mknodat" number="290"/> + <syscall name="fchownat" number="291"/> + <syscall name="futimesat" number="292"/> + <syscall name="newfstatat" number="293"/> + <syscall name="unlinkat" number="294"/> + <syscall name="renameat" number="295"/> + <syscall name="linkat" number="296"/> + <syscall name="symlinkat" number="297"/> + <syscall name="readlinkat" number="298"/> + <syscall name="fchmodat" number="299"/> + <syscall name="faccessat" number="300"/> + <syscall name="pselect6" number="301"/> + <syscall name="ppoll" number="302"/> + <syscall name="unshare" number="303"/> + <syscall name="set_robust_list" number="304"/> + <syscall name="get_robust_list" number="305"/> + <syscall name="splice" number="306"/> + <syscall name="sync_file_range" number="307"/> + <syscall name="tee" number="308"/> + <syscall name="vmsplice" number="309"/> + <syscall name="move_pages" number="310"/> + <syscall name="getcpu" number="311"/> + <syscall name="epoll_pwait" number="312"/> + <syscall name="utimes" number="313"/> + <syscall name="fallocate" number="314"/> + <syscall name="utimensat" number="315"/> + <syscall name="signalfd" number="316"/> + <syscall name="timerfd" number="317"/> + <syscall name="eventfd" number="318"/> + <syscall name="timerfd_create" number="319"/> + <syscall name="timerfd_settime" number="320"/> + <syscall name="timerfd_gettime" number="321"/> + <syscall name="signalfd4" number="322"/> + <syscall name="eventfd2" number="323"/> + <syscall name="inotify_init1" number="324"/> + <syscall name="pipe2" number="325"/> + <syscall name="dup3" number="326"/> + <syscall name="epoll_create1" number="327"/> + <syscall name="rt_tgsigqueueinfo" number="330"/> + <syscall name="perf_event_open" number="331"/> + <syscall name="fanotify_init" number="332"/> + <syscall name="fanotify_mark" number="333"/> + <syscall name="prlimit64" number="334"/> + <syscall name="name_to_handle_at" number="335"/> + <syscall name="open_by_handle_at" number="336"/> + <syscall name="clock_adjtime" number="337"/> + <syscall name="syncfs" number="338"/> + <syscall name="setns" number="339"/> + <syscall name="process_vm_readv" number="340"/> + <syscall name="process_vm_writev" number="341"/> + <syscall name="s390_runtime_instr" number="342"/> + <syscall name="kcmp" number="343"/> + <syscall name="finit_module" number="344"/> + <syscall name="sched_setattr" number="345"/> + <syscall name="sched_getattr" number="346"/> + <syscall name="renameat2" number="347"/> + <syscall name="seccomp" number="348"/> + <syscall name="getrandom" number="349"/> + <syscall name="memfd_create" number="350"/> + <syscall name="bpf" number="351"/> + <syscall name="s390_pci_mmio_write" number="352"/> + <syscall name="s390_pci_mmio_read" number="353"/> + <syscall name="execveat" number="354"/> + <syscall name="userfaultfd" number="355"/> + <syscall name="membarrier" number="356"/> + <syscall name="recvmmsg" number="357"/> + <syscall name="sendmmsg" number="358"/> + <syscall name="socket" number="359"/> + <syscall name="socketpair" number="360"/> + <syscall name="bind" number="361"/> + <syscall name="connect" number="362"/> + <syscall name="listen" number="363"/> + <syscall name="accept4" number="364"/> + <syscall name="getsockopt" number="365"/> + <syscall name="setsockopt" number="366"/> + <syscall name="getsockname" number="367"/> + <syscall name="getpeername" number="368"/> + <syscall name="sendto" number="369"/> + <syscall name="sendmsg" number="370"/> + <syscall name="recvfrom" number="371"/> + <syscall name="recvmsg" number="372"/> + <syscall name="shutdown" number="373"/> + <syscall name="mlock2" number="374"/> +</syscalls_info> diff --git a/gdb/syscalls/sparc-linux.xml b/gdb/syscalls/sparc-linux.xml index 70115ab..79ba7f0 100644 --- a/gdb/syscalls/sparc-linux.xml +++ b/gdb/syscalls/sparc-linux.xml @@ -1,238 +1,235 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2010-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: /usr/src/linux/arch/sparc/include/asm/unistd.h The file mentioned above belongs to the Linux Kernel. --> - <syscalls_info> <syscall name="restart_syscall" number="0"/> - <syscall name="exit" number="1"/> - <syscall name="fork" number="2"/> - <syscall name="read" number="3"/> - <syscall name="write" number="4"/> - <syscall name="open" number="5"/> - <syscall name="close" number="6"/> - <syscall name="wait4" number="7"/> - <syscall name="creat" number="8"/> - <syscall name="link" number="9"/> - <syscall name="unlink" number="10"/> - <syscall name="execv" number="11"/> - <syscall name="chdir" number="12"/> - <syscall name="chown" number="13"/> - <syscall name="mknod" number="14"/> - <syscall name="chmod" number="15"/> - <syscall name="lchown" number="16"/> - <syscall name="brk" number="17"/> + <syscall name="exit" number="1" groups="process"/> + <syscall name="fork" number="2" groups="process"/> + <syscall name="read" number="3" groups="descriptor"/> + <syscall name="write" number="4" groups="descriptor"/> + <syscall name="open" number="5" groups="descriptor,file"/> + <syscall name="close" number="6" groups="descriptor"/> + <syscall name="wait4" number="7" groups="process"/> + <syscall name="creat" number="8" groups="descriptor,file"/> + <syscall name="link" number="9" groups="file"/> + <syscall name="unlink" number="10" groups="file"/> + <syscall name="execv" number="11" groups="file,process"/> + <syscall name="chdir" number="12" groups="file"/> + <syscall name="chown" number="13" groups="file"/> + <syscall name="mknod" number="14" groups="file"/> + <syscall name="chmod" number="15" groups="file"/> + <syscall name="lchown" number="16" groups="file"/> + <syscall name="brk" number="17" groups="memory"/> <syscall name="perfctr" number="18"/> - <syscall name="lseek" number="19"/> + <syscall name="lseek" number="19" groups="descriptor"/> <syscall name="getpid" number="20"/> <syscall name="capget" number="21"/> <syscall name="capset" number="22"/> <syscall name="setuid" number="23"/> <syscall name="getuid" number="24"/> - <syscall name="vmsplice" number="25"/> + <syscall name="vmsplice" number="25" groups="descriptor"/> <syscall name="ptrace" number="26"/> <syscall name="alarm" number="27"/> - <syscall name="sigaltstack" number="28"/> - <syscall name="pause" number="29"/> - <syscall name="utime" number="30"/> - <syscall name="lchown32" number="31"/> - <syscall name="fchown32" number="32"/> - <syscall name="access" number="33"/> + <syscall name="sigaltstack" number="28" groups="signal"/> + <syscall name="pause" number="29" groups="signal"/> + <syscall name="utime" number="30" groups="file"/> + <syscall name="lchown32" number="31" groups="file"/> + <syscall name="fchown32" number="32" groups="descriptor"/> + <syscall name="access" number="33" groups="file"/> <syscall name="nice" number="34"/> - <syscall name="chown32" number="35"/> + <syscall name="chown32" number="35" groups="file"/> <syscall name="sync" number="36"/> - <syscall name="kill" number="37"/> - <syscall name="stat" number="38"/> - <syscall name="sendfile" number="39"/> - <syscall name="lstat" number="40"/> - <syscall name="dup" number="41"/> - <syscall name="pipe" number="42"/> + <syscall name="kill" number="37" groups="signal"/> + <syscall name="stat" number="38" groups="file"/> + <syscall name="sendfile" number="39" groups="descriptor,network"/> + <syscall name="lstat" number="40" groups="file"/> + <syscall name="dup" number="41" groups="descriptor"/> + <syscall name="pipe" number="42" groups="descriptor"/> <syscall name="times" number="43"/> <syscall name="getuid32" number="44"/> - <syscall name="umount2" number="45"/> + <syscall name="umount2" number="45" groups="file"/> <syscall name="setgid" number="46"/> <syscall name="getgid" number="47"/> - <syscall name="signal" number="48"/> + <syscall name="signal" number="48" groups="signal"/> <syscall name="geteuid" number="49"/> <syscall name="getegid" number="50"/> - <syscall name="acct" number="51"/> + <syscall name="acct" number="51" groups="file"/> <syscall name="getgid32" number="53"/> - <syscall name="ioctl" number="54"/> + <syscall name="ioctl" number="54" groups="descriptor"/> <syscall name="reboot" number="55"/> - <syscall name="mmap2" number="56"/> - <syscall name="symlink" number="57"/> - <syscall name="readlink" number="58"/> - <syscall name="execve" number="59"/> + <syscall name="mmap2" number="56" groups="descriptor,memory"/> + <syscall name="symlink" number="57" groups="file"/> + <syscall name="readlink" number="58" groups="file"/> + <syscall name="execve" number="59" groups="file,process"/> <syscall name="umask" number="60"/> - <syscall name="chroot" number="61"/> - <syscall name="fstat" number="62"/> - <syscall name="fstat64" number="63"/> + <syscall name="chroot" number="61" groups="file"/> + <syscall name="fstat" number="62" groups="descriptor"/> + <syscall name="fstat64" number="63" groups="descriptor"/> <syscall name="getpagesize" number="64"/> - <syscall name="msync" number="65"/> - <syscall name="vfork" number="66"/> - <syscall name="pread64" number="67"/> - <syscall name="pwrite64" number="68"/> + <syscall name="msync" number="65" groups="memory"/> + <syscall name="vfork" number="66" groups="process"/> + <syscall name="pread64" number="67" groups="descriptor"/> + <syscall name="pwrite64" number="68" groups="descriptor"/> <syscall name="geteuid32" number="69"/> <syscall name="getegid32" number="70"/> - <syscall name="mmap" number="71"/> + <syscall name="mmap" number="71" groups="descriptor,memory"/> <syscall name="setreuid32" number="72"/> - <syscall name="munmap" number="73"/> - <syscall name="mprotect" number="74"/> - <syscall name="madvise" number="75"/> + <syscall name="munmap" number="73" groups="memory"/> + <syscall name="mprotect" number="74" groups="memory"/> + <syscall name="madvise" number="75" groups="memory"/> <syscall name="vhangup" number="76"/> - <syscall name="truncate64" number="77"/> - <syscall name="mincore" number="78"/> + <syscall name="truncate64" number="77" groups="file"/> + <syscall name="mincore" number="78" groups="memory"/> <syscall name="getgroups" number="79"/> <syscall name="setgroups" number="80"/> <syscall name="getpgrp" number="81"/> <syscall name="setgroups32" number="82"/> <syscall name="setitimer" number="83"/> - <syscall name="ftruncate64" number="84"/> - <syscall name="swapon" number="85"/> + <syscall name="ftruncate64" number="84" groups="descriptor"/> + <syscall name="swapon" number="85" groups="file"/> <syscall name="getitimer" number="86"/> <syscall name="setuid32" number="87"/> <syscall name="sethostname" number="88"/> <syscall name="setgid32" number="89"/> - <syscall name="dup2" number="90"/> + <syscall name="dup2" number="90" groups="descriptor"/> <syscall name="setfsuid32" number="91"/> - <syscall name="fcntl" number="92"/> - <syscall name="select" number="93"/> + <syscall name="fcntl" number="92" groups="descriptor"/> + <syscall name="select" number="93" groups="descriptor"/> <syscall name="setfsgid32" number="94"/> - <syscall name="fsync" number="95"/> + <syscall name="fsync" number="95" groups="descriptor"/> <syscall name="setpriority" number="96"/> - <syscall name="socket" number="97"/> - <syscall name="connect" number="98"/> - <syscall name="accept" number="99"/> + <syscall name="socket" number="97" groups="network"/> + <syscall name="connect" number="98" groups="network"/> + <syscall name="accept" number="99" groups="network"/> <syscall name="getpriority" number="100"/> - <syscall name="rt_sigreturn" number="101"/> - <syscall name="rt_sigaction" number="102"/> - <syscall name="rt_sigprocmask" number="103"/> - <syscall name="rt_sigpending" number="104"/> - <syscall name="rt_sigtimedwait" number="105"/> - <syscall name="rt_sigqueueinfo" number="106"/> - <syscall name="rt_sigsuspend" number="107"/> + <syscall name="rt_sigreturn" number="101" groups="signal"/> + <syscall name="rt_sigaction" number="102" groups="signal"/> + <syscall name="rt_sigprocmask" number="103" groups="signal"/> + <syscall name="rt_sigpending" number="104" groups="signal"/> + <syscall name="rt_sigtimedwait" number="105" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="106" groups="signal"/> + <syscall name="rt_sigsuspend" number="107" groups="signal"/> <syscall name="setresuid32" number="108"/> <syscall name="getresuid32" number="109"/> <syscall name="setresgid32" number="110"/> <syscall name="getresgid32" number="111"/> <syscall name="setregid32" number="112"/> - <syscall name="recvmsg" number="113"/> - <syscall name="sendmsg" number="114"/> + <syscall name="recvmsg" number="113" groups="network"/> + <syscall name="sendmsg" number="114" groups="network"/> <syscall name="getgroups32" number="115"/> <syscall name="gettimeofday" number="116"/> <syscall name="getrusage" number="117"/> - <syscall name="getsockopt" number="118"/> - <syscall name="getcwd" number="119"/> - <syscall name="readv" number="120"/> - <syscall name="writev" number="121"/> + <syscall name="getsockopt" number="118" groups="network"/> + <syscall name="getcwd" number="119" groups="file"/> + <syscall name="readv" number="120" groups="descriptor"/> + <syscall name="writev" number="121" groups="descriptor"/> <syscall name="settimeofday" number="122"/> - <syscall name="fchown" number="123"/> - <syscall name="fchmod" number="124"/> - <syscall name="recvfrom" number="125"/> + <syscall name="fchown" number="123" groups="descriptor"/> + <syscall name="fchmod" number="124" groups="descriptor"/> + <syscall name="recvfrom" number="125" groups="network"/> <syscall name="setreuid" number="126"/> <syscall name="setregid" number="127"/> - <syscall name="rename" number="128"/> - <syscall name="truncate" number="129"/> - <syscall name="ftruncate" number="130"/> - <syscall name="flock" number="131"/> - <syscall name="lstat64" number="132"/> - <syscall name="sendto" number="133"/> - <syscall name="shutdown" number="134"/> - <syscall name="socketpair" number="135"/> - <syscall name="mkdir" number="136"/> - <syscall name="rmdir" number="137"/> - <syscall name="utimes" number="138"/> - <syscall name="stat64" number="139"/> - <syscall name="sendfile64" number="140"/> - <syscall name="getpeername" number="141"/> + <syscall name="rename" number="128" groups="file"/> + <syscall name="truncate" number="129" groups="file"/> + <syscall name="ftruncate" number="130" groups="descriptor"/> + <syscall name="flock" number="131" groups="descriptor"/> + <syscall name="lstat64" number="132" groups="file"/> + <syscall name="sendto" number="133" groups="network"/> + <syscall name="shutdown" number="134" groups="network"/> + <syscall name="socketpair" number="135" groups="network"/> + <syscall name="mkdir" number="136" groups="file"/> + <syscall name="rmdir" number="137" groups="file"/> + <syscall name="utimes" number="138" groups="file"/> + <syscall name="stat64" number="139" groups="file"/> + <syscall name="sendfile64" number="140" groups="descriptor,network"/> + <syscall name="getpeername" number="141" groups="network"/> <syscall name="futex" number="142"/> <syscall name="gettid" number="143"/> <syscall name="getrlimit" number="144"/> <syscall name="setrlimit" number="145"/> - <syscall name="pivot_root" number="146"/> + <syscall name="pivot_root" number="146" groups="file"/> <syscall name="prctl" number="147"/> <syscall name="pciconfig_read" number="148"/> <syscall name="pciconfig_write" number="149"/> - <syscall name="getsockname" number="150"/> - <syscall name="inotify_init" number="151"/> - <syscall name="inotify_add_watch" number="152"/> - <syscall name="poll" number="153"/> - <syscall name="getdents64" number="154"/> - <syscall name="fcntl64" number="155"/> - <syscall name="inotify_rm_watch" number="156"/> - <syscall name="statfs" number="157"/> - <syscall name="fstatfs" number="158"/> - <syscall name="umount" number="159"/> + <syscall name="getsockname" number="150" groups="network"/> + <syscall name="inotify_init" number="151" groups="descriptor"/> + <syscall name="inotify_add_watch" number="152" groups="descriptor"/> + <syscall name="poll" number="153" groups="descriptor"/> + <syscall name="getdents64" number="154" groups="descriptor"/> + <syscall name="fcntl64" number="155" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="156" groups="descriptor"/> + <syscall name="statfs" number="157" groups="file"/> + <syscall name="fstatfs" number="158" groups="descriptor"/> + <syscall name="umount" number="159" groups="file"/> <syscall name="sched_set_affinity" number="160"/> <syscall name="sched_get_affinity" number="161"/> <syscall name="getdomainname" number="162"/> <syscall name="setdomainname" number="163"/> - <syscall name="quotactl" number="165"/> + <syscall name="quotactl" number="165" groups="file"/> <syscall name="set_tid_address" number="166"/> - <syscall name="mount" number="167"/> + <syscall name="mount" number="167" groups="file"/> <syscall name="ustat" number="168"/> - <syscall name="setxattr" number="169"/> - <syscall name="lsetxattr" number="170"/> - <syscall name="fsetxattr" number="171"/> - <syscall name="getxattr" number="172"/> - <syscall name="lgetxattr" number="173"/> - <syscall name="getdents" number="174"/> + <syscall name="setxattr" number="169" groups="file"/> + <syscall name="lsetxattr" number="170" groups="file"/> + <syscall name="fsetxattr" number="171" groups="descriptor"/> + <syscall name="getxattr" number="172" groups="file"/> + <syscall name="lgetxattr" number="173" groups="file"/> + <syscall name="getdents" number="174" groups="descriptor"/> <syscall name="setsid" number="175"/> - <syscall name="fchdir" number="176"/> - <syscall name="fgetxattr" number="177"/> - <syscall name="listxattr" number="178"/> - <syscall name="llistxattr" number="179"/> - <syscall name="flistxattr" number="180"/> - <syscall name="removexattr" number="181"/> - <syscall name="lremovexattr" number="182"/> - <syscall name="sigpending" number="183"/> + <syscall name="fchdir" number="176" groups="descriptor"/> + <syscall name="fgetxattr" number="177" groups="descriptor"/> + <syscall name="listxattr" number="178" groups="file"/> + <syscall name="llistxattr" number="179" groups="file"/> + <syscall name="flistxattr" number="180" groups="descriptor"/> + <syscall name="removexattr" number="181" groups="file"/> + <syscall name="lremovexattr" number="182" groups="file"/> + <syscall name="sigpending" number="183" groups="signal"/> <syscall name="query_module" number="184"/> <syscall name="setpgid" number="185"/> - <syscall name="fremovexattr" number="186"/> - <syscall name="tkill" number="187"/> - <syscall name="exit_group" number="188"/> + <syscall name="fremovexattr" number="186" groups="descriptor"/> + <syscall name="tkill" number="187" groups="signal"/> + <syscall name="exit_group" number="188" groups="process"/> <syscall name="uname" number="189"/> <syscall name="init_module" number="190"/> <syscall name="personality" number="191"/> - <syscall name="remap_file_pages" number="192"/> - <syscall name="epoll_create" number="193"/> - <syscall name="epoll_ctl" number="194"/> - <syscall name="epoll_wait" number="195"/> + <syscall name="remap_file_pages" number="192" groups="memory"/> + <syscall name="epoll_create" number="193" groups="descriptor"/> + <syscall name="epoll_ctl" number="194" groups="descriptor"/> + <syscall name="epoll_wait" number="195" groups="descriptor"/> <syscall name="ioprio_set" number="196"/> <syscall name="getppid" number="197"/> - <syscall name="sigaction" number="198"/> - <syscall name="sgetmask" number="199"/> - <syscall name="ssetmask" number="200"/> - <syscall name="sigsuspend" number="201"/> - <syscall name="oldlstat" number="202"/> - <syscall name="uselib" number="203"/> - <syscall name="readdir" number="204"/> - <syscall name="readahead" number="205"/> - <syscall name="socketcall" number="206"/> + <syscall name="sigaction" number="198" groups="signal"/> + <syscall name="sgetmask" number="199" groups="signal"/> + <syscall name="ssetmask" number="200" groups="signal"/> + <syscall name="sigsuspend" number="201" groups="signal"/> + <syscall name="oldlstat" number="202" groups="file"/> + <syscall name="uselib" number="203" groups="file"/> + <syscall name="readdir" number="204" groups="descriptor"/> + <syscall name="readahead" number="205" groups="descriptor"/> + <syscall name="socketcall" number="206" groups="descriptor"/> <syscall name="syslog" number="207"/> <syscall name="lookup_dcookie" number="208"/> - <syscall name="fadvise64" number="209"/> - <syscall name="fadvise64_64" number="210"/> - <syscall name="tgkill" number="211"/> - <syscall name="waitpid" number="212"/> - <syscall name="swapoff" number="213"/> + <syscall name="fadvise64" number="209" groups="descriptor"/> + <syscall name="fadvise64_64" number="210" groups="descriptor"/> + <syscall name="tgkill" number="211" groups="signal"/> + <syscall name="waitpid" number="212" groups="process"/> + <syscall name="swapoff" number="213" groups="file"/> <syscall name="sysinfo" number="214"/> - <syscall name="ipc" number="215"/> - <syscall name="sigreturn" number="216"/> - <syscall name="clone" number="217"/> + <syscall name="ipc" number="215" groups="ipc"/> + <syscall name="sigreturn" number="216" groups="signal"/> + <syscall name="clone" number="217" groups="process"/> <syscall name="ioprio_get" number="218"/> <syscall name="adjtimex" number="219"/> - <syscall name="sigprocmask" number="220"/> + <syscall name="sigprocmask" number="220" groups="signal"/> <syscall name="create_module" number="221"/> <syscall name="delete_module" number="222"/> <syscall name="get_kernel_syms" number="223"/> @@ -242,17 +239,17 @@ <syscall name="afs_syscall" number="227"/> <syscall name="setfsuid" number="228"/> <syscall name="setfsgid" number="229"/> - <syscall name="_newselect" number="230"/> + <syscall name="_newselect" number="230" groups="descriptor"/> <syscall name="time" number="231"/> - <syscall name="splice" number="232"/> + <syscall name="splice" number="232" groups="descriptor"/> <syscall name="stime" number="233"/> - <syscall name="statfs64" number="234"/> - <syscall name="fstatfs64" number="235"/> - <syscall name="_llseek" number="236"/> - <syscall name="mlock" number="237"/> - <syscall name="munlock" number="238"/> - <syscall name="mlockall" number="239"/> - <syscall name="munlockall" number="240"/> + <syscall name="statfs64" number="234" groups="file"/> + <syscall name="fstatfs64" number="235" groups="descriptor"/> + <syscall name="_llseek" number="236" groups="descriptor"/> + <syscall name="mlock" number="237" groups="memory"/> + <syscall name="munlock" number="238" groups="memory"/> + <syscall name="mlockall" number="239" groups="memory"/> + <syscall name="munlockall" number="240" groups="memory"/> <syscall name="sched_setparam" number="241"/> <syscall name="sched_getparam" number="242"/> <syscall name="sched_setscheduler" number="243"/> @@ -262,12 +259,12 @@ <syscall name="sched_get_priority_min" number="247"/> <syscall name="sched_rr_get_interval" number="248"/> <syscall name="nanosleep" number="249"/> - <syscall name="mremap" number="250"/> + <syscall name="mremap" number="250" groups="memory"/> <syscall name="_sysctl" number="251"/> <syscall name="getsid" number="252"/> - <syscall name="fdatasync" number="253"/> + <syscall name="fdatasync" number="253" groups="descriptor"/> <syscall name="nfsservctl" number="254"/> - <syscall name="sync_file_range" number="255"/> + <syscall name="sync_file_range" number="255" groups="descriptor"/> <syscall name="clock_settime" number="256"/> <syscall name="clock_gettime" number="257"/> <syscall name="clock_getres" number="258"/> @@ -291,54 +288,54 @@ <syscall name="mq_timedreceive" number="276"/> <syscall name="mq_notify" number="277"/> <syscall name="mq_getsetattr" number="278"/> - <syscall name="waitid" number="279"/> - <syscall name="tee" number="280"/> + <syscall name="waitid" number="279" groups="process"/> + <syscall name="tee" number="280" groups="descriptor"/> <syscall name="add_key" number="281"/> <syscall name="request_key" number="282"/> <syscall name="keyctl" number="283"/> - <syscall name="openat" number="284"/> - <syscall name="mkdirat" number="285"/> - <syscall name="mknodat" number="286"/> - <syscall name="fchownat" number="287"/> - <syscall name="futimesat" number="288"/> - <syscall name="fstatat64" number="289"/> - <syscall name="unlinkat" number="290"/> - <syscall name="renameat" number="291"/> - <syscall name="linkat" number="292"/> - <syscall name="symlinkat" number="293"/> - <syscall name="readlinkat" number="294"/> - <syscall name="fchmodat" number="295"/> - <syscall name="faccessat" number="296"/> - <syscall name="pselect6" number="297"/> - <syscall name="ppoll" number="298"/> - <syscall name="unshare" number="299"/> + <syscall name="openat" number="284" groups="descriptor,file"/> + <syscall name="mkdirat" number="285" groups="descriptor,file"/> + <syscall name="mknodat" number="286" groups="descriptor,file"/> + <syscall name="fchownat" number="287" groups="descriptor,file"/> + <syscall name="futimesat" number="288" groups="descriptor,file"/> + <syscall name="fstatat64" number="289" groups="descriptor,file"/> + <syscall name="unlinkat" number="290" groups="descriptor,file"/> + <syscall name="renameat" number="291" groups="descriptor,file"/> + <syscall name="linkat" number="292" groups="descriptor,file"/> + <syscall name="symlinkat" number="293" groups="descriptor,file"/> + <syscall name="readlinkat" number="294" groups="descriptor,file"/> + <syscall name="fchmodat" number="295" groups="descriptor,file"/> + <syscall name="faccessat" number="296" groups="descriptor,file"/> + <syscall name="pselect6" number="297" groups="descriptor"/> + <syscall name="ppoll" number="298" groups="descriptor"/> + <syscall name="unshare" number="299" groups="process"/> <syscall name="set_robust_list" number="300"/> <syscall name="get_robust_list" number="301"/> - <syscall name="migrate_pages" number="302"/> - <syscall name="mbind" number="303"/> - <syscall name="get_mempolicy" number="304"/> - <syscall name="set_mempolicy" number="305"/> + <syscall name="migrate_pages" number="302" groups="memory"/> + <syscall name="mbind" number="303" groups="memory"/> + <syscall name="get_mempolicy" number="304" groups="memory"/> + <syscall name="set_mempolicy" number="305" groups="memory"/> <syscall name="kexec_load" number="306"/> - <syscall name="move_pages" number="307"/> + <syscall name="move_pages" number="307" groups="memory"/> <syscall name="getcpu" number="308"/> - <syscall name="epoll_pwait" number="309"/> - <syscall name="utimensat" number="310"/> - <syscall name="signalfd" number="311"/> - <syscall name="timerfd_create" number="312"/> - <syscall name="eventfd" number="313"/> - <syscall name="fallocate" number="314"/> - <syscall name="timerfd_settime" number="315"/> - <syscall name="timerfd_gettime" number="316"/> - <syscall name="signalfd4" number="317"/> - <syscall name="eventfd2" number="318"/> - <syscall name="epoll_create1" number="319"/> - <syscall name="dup3" number="320"/> - <syscall name="pipe2" number="321"/> - <syscall name="inotify_init1" number="322"/> - <syscall name="accept4" number="323"/> - <syscall name="preadv" number="324"/> - <syscall name="pwritev" number="325"/> - <syscall name="rt_tgsigqueueinfo" number="326"/> - <syscall name="perf_event_open" number="327"/> - <syscall name="recvmmsg" number="328"/> + <syscall name="epoll_pwait" number="309" groups="descriptor"/> + <syscall name="utimensat" number="310" groups="descriptor,file"/> + <syscall name="signalfd" number="311" groups="descriptor,signal"/> + <syscall name="timerfd_create" number="312" groups="descriptor"/> + <syscall name="eventfd" number="313" groups="descriptor"/> + <syscall name="fallocate" number="314" groups="descriptor"/> + <syscall name="timerfd_settime" number="315" groups="descriptor"/> + <syscall name="timerfd_gettime" number="316" groups="descriptor"/> + <syscall name="signalfd4" number="317" groups="descriptor,signal"/> + <syscall name="eventfd2" number="318" groups="descriptor"/> + <syscall name="epoll_create1" number="319" groups="descriptor"/> + <syscall name="dup3" number="320" groups="descriptor"/> + <syscall name="pipe2" number="321" groups="descriptor"/> + <syscall name="inotify_init1" number="322" groups="descriptor"/> + <syscall name="accept4" number="323" groups="network"/> + <syscall name="preadv" number="324" groups="descriptor"/> + <syscall name="pwritev" number="325" groups="descriptor"/> + <syscall name="rt_tgsigqueueinfo" number="326" groups="process,signal"/> + <syscall name="perf_event_open" number="327" groups="descriptor"/> + <syscall name="recvmmsg" number="328" groups="network"/> </syscalls_info> diff --git a/gdb/syscalls/sparc-linux.xml.in b/gdb/syscalls/sparc-linux.xml.in new file mode 100644 index 0000000..70115ab --- /dev/null +++ b/gdb/syscalls/sparc-linux.xml.in @@ -0,0 +1,344 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2010-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + /usr/src/linux/arch/sparc/include/asm/unistd.h + + The file mentioned above belongs to the Linux Kernel. --> + +<syscalls_info> + <syscall name="restart_syscall" number="0"/> + <syscall name="exit" number="1"/> + <syscall name="fork" number="2"/> + <syscall name="read" number="3"/> + <syscall name="write" number="4"/> + <syscall name="open" number="5"/> + <syscall name="close" number="6"/> + <syscall name="wait4" number="7"/> + <syscall name="creat" number="8"/> + <syscall name="link" number="9"/> + <syscall name="unlink" number="10"/> + <syscall name="execv" number="11"/> + <syscall name="chdir" number="12"/> + <syscall name="chown" number="13"/> + <syscall name="mknod" number="14"/> + <syscall name="chmod" number="15"/> + <syscall name="lchown" number="16"/> + <syscall name="brk" number="17"/> + <syscall name="perfctr" number="18"/> + <syscall name="lseek" number="19"/> + <syscall name="getpid" number="20"/> + <syscall name="capget" number="21"/> + <syscall name="capset" number="22"/> + <syscall name="setuid" number="23"/> + <syscall name="getuid" number="24"/> + <syscall name="vmsplice" number="25"/> + <syscall name="ptrace" number="26"/> + <syscall name="alarm" number="27"/> + <syscall name="sigaltstack" number="28"/> + <syscall name="pause" number="29"/> + <syscall name="utime" number="30"/> + <syscall name="lchown32" number="31"/> + <syscall name="fchown32" number="32"/> + <syscall name="access" number="33"/> + <syscall name="nice" number="34"/> + <syscall name="chown32" number="35"/> + <syscall name="sync" number="36"/> + <syscall name="kill" number="37"/> + <syscall name="stat" number="38"/> + <syscall name="sendfile" number="39"/> + <syscall name="lstat" number="40"/> + <syscall name="dup" number="41"/> + <syscall name="pipe" number="42"/> + <syscall name="times" number="43"/> + <syscall name="getuid32" number="44"/> + <syscall name="umount2" number="45"/> + <syscall name="setgid" number="46"/> + <syscall name="getgid" number="47"/> + <syscall name="signal" number="48"/> + <syscall name="geteuid" number="49"/> + <syscall name="getegid" number="50"/> + <syscall name="acct" number="51"/> + <syscall name="getgid32" number="53"/> + <syscall name="ioctl" number="54"/> + <syscall name="reboot" number="55"/> + <syscall name="mmap2" number="56"/> + <syscall name="symlink" number="57"/> + <syscall name="readlink" number="58"/> + <syscall name="execve" number="59"/> + <syscall name="umask" number="60"/> + <syscall name="chroot" number="61"/> + <syscall name="fstat" number="62"/> + <syscall name="fstat64" number="63"/> + <syscall name="getpagesize" number="64"/> + <syscall name="msync" number="65"/> + <syscall name="vfork" number="66"/> + <syscall name="pread64" number="67"/> + <syscall name="pwrite64" number="68"/> + <syscall name="geteuid32" number="69"/> + <syscall name="getegid32" number="70"/> + <syscall name="mmap" number="71"/> + <syscall name="setreuid32" number="72"/> + <syscall name="munmap" number="73"/> + <syscall name="mprotect" number="74"/> + <syscall name="madvise" number="75"/> + <syscall name="vhangup" number="76"/> + <syscall name="truncate64" number="77"/> + <syscall name="mincore" number="78"/> + <syscall name="getgroups" number="79"/> + <syscall name="setgroups" number="80"/> + <syscall name="getpgrp" number="81"/> + <syscall name="setgroups32" number="82"/> + <syscall name="setitimer" number="83"/> + <syscall name="ftruncate64" number="84"/> + <syscall name="swapon" number="85"/> + <syscall name="getitimer" number="86"/> + <syscall name="setuid32" number="87"/> + <syscall name="sethostname" number="88"/> + <syscall name="setgid32" number="89"/> + <syscall name="dup2" number="90"/> + <syscall name="setfsuid32" number="91"/> + <syscall name="fcntl" number="92"/> + <syscall name="select" number="93"/> + <syscall name="setfsgid32" number="94"/> + <syscall name="fsync" number="95"/> + <syscall name="setpriority" number="96"/> + <syscall name="socket" number="97"/> + <syscall name="connect" number="98"/> + <syscall name="accept" number="99"/> + <syscall name="getpriority" number="100"/> + <syscall name="rt_sigreturn" number="101"/> + <syscall name="rt_sigaction" number="102"/> + <syscall name="rt_sigprocmask" number="103"/> + <syscall name="rt_sigpending" number="104"/> + <syscall name="rt_sigtimedwait" number="105"/> + <syscall name="rt_sigqueueinfo" number="106"/> + <syscall name="rt_sigsuspend" number="107"/> + <syscall name="setresuid32" number="108"/> + <syscall name="getresuid32" number="109"/> + <syscall name="setresgid32" number="110"/> + <syscall name="getresgid32" number="111"/> + <syscall name="setregid32" number="112"/> + <syscall name="recvmsg" number="113"/> + <syscall name="sendmsg" number="114"/> + <syscall name="getgroups32" number="115"/> + <syscall name="gettimeofday" number="116"/> + <syscall name="getrusage" number="117"/> + <syscall name="getsockopt" number="118"/> + <syscall name="getcwd" number="119"/> + <syscall name="readv" number="120"/> + <syscall name="writev" number="121"/> + <syscall name="settimeofday" number="122"/> + <syscall name="fchown" number="123"/> + <syscall name="fchmod" number="124"/> + <syscall name="recvfrom" number="125"/> + <syscall name="setreuid" number="126"/> + <syscall name="setregid" number="127"/> + <syscall name="rename" number="128"/> + <syscall name="truncate" number="129"/> + <syscall name="ftruncate" number="130"/> + <syscall name="flock" number="131"/> + <syscall name="lstat64" number="132"/> + <syscall name="sendto" number="133"/> + <syscall name="shutdown" number="134"/> + <syscall name="socketpair" number="135"/> + <syscall name="mkdir" number="136"/> + <syscall name="rmdir" number="137"/> + <syscall name="utimes" number="138"/> + <syscall name="stat64" number="139"/> + <syscall name="sendfile64" number="140"/> + <syscall name="getpeername" number="141"/> + <syscall name="futex" number="142"/> + <syscall name="gettid" number="143"/> + <syscall name="getrlimit" number="144"/> + <syscall name="setrlimit" number="145"/> + <syscall name="pivot_root" number="146"/> + <syscall name="prctl" number="147"/> + <syscall name="pciconfig_read" number="148"/> + <syscall name="pciconfig_write" number="149"/> + <syscall name="getsockname" number="150"/> + <syscall name="inotify_init" number="151"/> + <syscall name="inotify_add_watch" number="152"/> + <syscall name="poll" number="153"/> + <syscall name="getdents64" number="154"/> + <syscall name="fcntl64" number="155"/> + <syscall name="inotify_rm_watch" number="156"/> + <syscall name="statfs" number="157"/> + <syscall name="fstatfs" number="158"/> + <syscall name="umount" number="159"/> + <syscall name="sched_set_affinity" number="160"/> + <syscall name="sched_get_affinity" number="161"/> + <syscall name="getdomainname" number="162"/> + <syscall name="setdomainname" number="163"/> + <syscall name="quotactl" number="165"/> + <syscall name="set_tid_address" number="166"/> + <syscall name="mount" number="167"/> + <syscall name="ustat" number="168"/> + <syscall name="setxattr" number="169"/> + <syscall name="lsetxattr" number="170"/> + <syscall name="fsetxattr" number="171"/> + <syscall name="getxattr" number="172"/> + <syscall name="lgetxattr" number="173"/> + <syscall name="getdents" number="174"/> + <syscall name="setsid" number="175"/> + <syscall name="fchdir" number="176"/> + <syscall name="fgetxattr" number="177"/> + <syscall name="listxattr" number="178"/> + <syscall name="llistxattr" number="179"/> + <syscall name="flistxattr" number="180"/> + <syscall name="removexattr" number="181"/> + <syscall name="lremovexattr" number="182"/> + <syscall name="sigpending" number="183"/> + <syscall name="query_module" number="184"/> + <syscall name="setpgid" number="185"/> + <syscall name="fremovexattr" number="186"/> + <syscall name="tkill" number="187"/> + <syscall name="exit_group" number="188"/> + <syscall name="uname" number="189"/> + <syscall name="init_module" number="190"/> + <syscall name="personality" number="191"/> + <syscall name="remap_file_pages" number="192"/> + <syscall name="epoll_create" number="193"/> + <syscall name="epoll_ctl" number="194"/> + <syscall name="epoll_wait" number="195"/> + <syscall name="ioprio_set" number="196"/> + <syscall name="getppid" number="197"/> + <syscall name="sigaction" number="198"/> + <syscall name="sgetmask" number="199"/> + <syscall name="ssetmask" number="200"/> + <syscall name="sigsuspend" number="201"/> + <syscall name="oldlstat" number="202"/> + <syscall name="uselib" number="203"/> + <syscall name="readdir" number="204"/> + <syscall name="readahead" number="205"/> + <syscall name="socketcall" number="206"/> + <syscall name="syslog" number="207"/> + <syscall name="lookup_dcookie" number="208"/> + <syscall name="fadvise64" number="209"/> + <syscall name="fadvise64_64" number="210"/> + <syscall name="tgkill" number="211"/> + <syscall name="waitpid" number="212"/> + <syscall name="swapoff" number="213"/> + <syscall name="sysinfo" number="214"/> + <syscall name="ipc" number="215"/> + <syscall name="sigreturn" number="216"/> + <syscall name="clone" number="217"/> + <syscall name="ioprio_get" number="218"/> + <syscall name="adjtimex" number="219"/> + <syscall name="sigprocmask" number="220"/> + <syscall name="create_module" number="221"/> + <syscall name="delete_module" number="222"/> + <syscall name="get_kernel_syms" number="223"/> + <syscall name="getpgid" number="224"/> + <syscall name="bdflush" number="225"/> + <syscall name="sysfs" number="226"/> + <syscall name="afs_syscall" number="227"/> + <syscall name="setfsuid" number="228"/> + <syscall name="setfsgid" number="229"/> + <syscall name="_newselect" number="230"/> + <syscall name="time" number="231"/> + <syscall name="splice" number="232"/> + <syscall name="stime" number="233"/> + <syscall name="statfs64" number="234"/> + <syscall name="fstatfs64" number="235"/> + <syscall name="_llseek" number="236"/> + <syscall name="mlock" number="237"/> + <syscall name="munlock" number="238"/> + <syscall name="mlockall" number="239"/> + <syscall name="munlockall" number="240"/> + <syscall name="sched_setparam" number="241"/> + <syscall name="sched_getparam" number="242"/> + <syscall name="sched_setscheduler" number="243"/> + <syscall name="sched_getscheduler" number="244"/> + <syscall name="sched_yield" number="245"/> + <syscall name="sched_get_priority_max" number="246"/> + <syscall name="sched_get_priority_min" number="247"/> + <syscall name="sched_rr_get_interval" number="248"/> + <syscall name="nanosleep" number="249"/> + <syscall name="mremap" number="250"/> + <syscall name="_sysctl" number="251"/> + <syscall name="getsid" number="252"/> + <syscall name="fdatasync" number="253"/> + <syscall name="nfsservctl" number="254"/> + <syscall name="sync_file_range" number="255"/> + <syscall name="clock_settime" number="256"/> + <syscall name="clock_gettime" number="257"/> + <syscall name="clock_getres" number="258"/> + <syscall name="clock_nanosleep" number="259"/> + <syscall name="sched_getaffinity" number="260"/> + <syscall name="sched_setaffinity" number="261"/> + <syscall name="timer_settime" number="262"/> + <syscall name="timer_gettime" number="263"/> + <syscall name="timer_getoverrun" number="264"/> + <syscall name="timer_delete" number="265"/> + <syscall name="timer_create" number="266"/> + <syscall name="vserver" number="267"/> + <syscall name="io_setup" number="268"/> + <syscall name="io_destroy" number="269"/> + <syscall name="io_submit" number="270"/> + <syscall name="io_cancel" number="271"/> + <syscall name="io_getevents" number="272"/> + <syscall name="mq_open" number="273"/> + <syscall name="mq_unlink" number="274"/> + <syscall name="mq_timedsend" number="275"/> + <syscall name="mq_timedreceive" number="276"/> + <syscall name="mq_notify" number="277"/> + <syscall name="mq_getsetattr" number="278"/> + <syscall name="waitid" number="279"/> + <syscall name="tee" number="280"/> + <syscall name="add_key" number="281"/> + <syscall name="request_key" number="282"/> + <syscall name="keyctl" number="283"/> + <syscall name="openat" number="284"/> + <syscall name="mkdirat" number="285"/> + <syscall name="mknodat" number="286"/> + <syscall name="fchownat" number="287"/> + <syscall name="futimesat" number="288"/> + <syscall name="fstatat64" number="289"/> + <syscall name="unlinkat" number="290"/> + <syscall name="renameat" number="291"/> + <syscall name="linkat" number="292"/> + <syscall name="symlinkat" number="293"/> + <syscall name="readlinkat" number="294"/> + <syscall name="fchmodat" number="295"/> + <syscall name="faccessat" number="296"/> + <syscall name="pselect6" number="297"/> + <syscall name="ppoll" number="298"/> + <syscall name="unshare" number="299"/> + <syscall name="set_robust_list" number="300"/> + <syscall name="get_robust_list" number="301"/> + <syscall name="migrate_pages" number="302"/> + <syscall name="mbind" number="303"/> + <syscall name="get_mempolicy" number="304"/> + <syscall name="set_mempolicy" number="305"/> + <syscall name="kexec_load" number="306"/> + <syscall name="move_pages" number="307"/> + <syscall name="getcpu" number="308"/> + <syscall name="epoll_pwait" number="309"/> + <syscall name="utimensat" number="310"/> + <syscall name="signalfd" number="311"/> + <syscall name="timerfd_create" number="312"/> + <syscall name="eventfd" number="313"/> + <syscall name="fallocate" number="314"/> + <syscall name="timerfd_settime" number="315"/> + <syscall name="timerfd_gettime" number="316"/> + <syscall name="signalfd4" number="317"/> + <syscall name="eventfd2" number="318"/> + <syscall name="epoll_create1" number="319"/> + <syscall name="dup3" number="320"/> + <syscall name="pipe2" number="321"/> + <syscall name="inotify_init1" number="322"/> + <syscall name="accept4" number="323"/> + <syscall name="preadv" number="324"/> + <syscall name="pwritev" number="325"/> + <syscall name="rt_tgsigqueueinfo" number="326"/> + <syscall name="perf_event_open" number="327"/> + <syscall name="recvmmsg" number="328"/> +</syscalls_info> diff --git a/gdb/syscalls/sparc64-linux.xml b/gdb/syscalls/sparc64-linux.xml index 7dd62b4..7fd4d76 100644 --- a/gdb/syscalls/sparc64-linux.xml +++ b/gdb/syscalls/sparc64-linux.xml @@ -1,221 +1,218 @@ <?xml version="1.0"?> +<!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd"> <!-- Copyright (C) 2010-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. --> - -<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> - <!-- This file was generated using the following file: /usr/src/linux/arch/sparc/include/asm/unistd.h The file mentioned above belongs to the Linux Kernel. --> - <syscalls_info> <syscall name="restart_syscall" number="0"/> - <syscall name="exit" number="1"/> - <syscall name="fork" number="2"/> - <syscall name="read" number="3"/> - <syscall name="write" number="4"/> - <syscall name="open" number="5"/> - <syscall name="close" number="6"/> - <syscall name="wait4" number="7"/> - <syscall name="creat" number="8"/> - <syscall name="link" number="9"/> - <syscall name="unlink" number="10"/> - <syscall name="execv" number="11"/> - <syscall name="chdir" number="12"/> - <syscall name="chown" number="13"/> - <syscall name="mknod" number="14"/> - <syscall name="chmod" number="15"/> - <syscall name="lchown" number="16"/> - <syscall name="brk" number="17"/> + <syscall name="exit" number="1" groups="process"/> + <syscall name="fork" number="2" groups="process"/> + <syscall name="read" number="3" groups="descriptor"/> + <syscall name="write" number="4" groups="descriptor"/> + <syscall name="open" number="5" groups="descriptor,file"/> + <syscall name="close" number="6" groups="descriptor"/> + <syscall name="wait4" number="7" groups="process"/> + <syscall name="creat" number="8" groups="descriptor,file"/> + <syscall name="link" number="9" groups="file"/> + <syscall name="unlink" number="10" groups="file"/> + <syscall name="execv" number="11" groups="file,process"/> + <syscall name="chdir" number="12" groups="file"/> + <syscall name="chown" number="13" groups="file"/> + <syscall name="mknod" number="14" groups="file"/> + <syscall name="chmod" number="15" groups="file"/> + <syscall name="lchown" number="16" groups="file"/> + <syscall name="brk" number="17" groups="memory"/> <syscall name="perfctr" number="18"/> - <syscall name="lseek" number="19"/> + <syscall name="lseek" number="19" groups="descriptor"/> <syscall name="getpid" number="20"/> <syscall name="capget" number="21"/> <syscall name="capset" number="22"/> <syscall name="setuid" number="23"/> <syscall name="getuid" number="24"/> - <syscall name="vmsplice" number="25"/> + <syscall name="vmsplice" number="25" groups="descriptor"/> <syscall name="ptrace" number="26"/> <syscall name="alarm" number="27"/> - <syscall name="sigaltstack" number="28"/> - <syscall name="pause" number="29"/> - <syscall name="utime" number="30"/> - <syscall name="access" number="33"/> + <syscall name="sigaltstack" number="28" groups="signal"/> + <syscall name="pause" number="29" groups="signal"/> + <syscall name="utime" number="30" groups="file"/> + <syscall name="access" number="33" groups="file"/> <syscall name="nice" number="34"/> <syscall name="sync" number="36"/> - <syscall name="kill" number="37"/> - <syscall name="stat" number="38"/> - <syscall name="sendfile" number="39"/> - <syscall name="lstat" number="40"/> - <syscall name="dup" number="41"/> - <syscall name="pipe" number="42"/> + <syscall name="kill" number="37" groups="signal"/> + <syscall name="stat" number="38" groups="file"/> + <syscall name="sendfile" number="39" groups="descriptor,network"/> + <syscall name="lstat" number="40" groups="file"/> + <syscall name="dup" number="41" groups="descriptor"/> + <syscall name="pipe" number="42" groups="descriptor"/> <syscall name="times" number="43"/> - <syscall name="umount2" number="45"/> + <syscall name="umount2" number="45" groups="file"/> <syscall name="setgid" number="46"/> <syscall name="getgid" number="47"/> - <syscall name="signal" number="48"/> + <syscall name="signal" number="48" groups="signal"/> <syscall name="geteuid" number="49"/> <syscall name="getegid" number="50"/> - <syscall name="acct" number="51"/> + <syscall name="acct" number="51" groups="file"/> <syscall name="memory_ordering" number="52"/> - <syscall name="ioctl" number="54"/> + <syscall name="ioctl" number="54" groups="descriptor"/> <syscall name="reboot" number="55"/> - <syscall name="symlink" number="57"/> - <syscall name="readlink" number="58"/> - <syscall name="execve" number="59"/> + <syscall name="symlink" number="57" groups="file"/> + <syscall name="readlink" number="58" groups="file"/> + <syscall name="execve" number="59" groups="file,process"/> <syscall name="umask" number="60"/> - <syscall name="chroot" number="61"/> - <syscall name="fstat" number="62"/> - <syscall name="fstat64" number="63"/> + <syscall name="chroot" number="61" groups="file"/> + <syscall name="fstat" number="62" groups="descriptor"/> + <syscall name="fstat64" number="63" groups="descriptor"/> <syscall name="getpagesize" number="64"/> - <syscall name="msync" number="65"/> - <syscall name="vfork" number="66"/> - <syscall name="pread64" number="67"/> - <syscall name="pwrite64" number="68"/> - <syscall name="mmap" number="71"/> - <syscall name="munmap" number="73"/> - <syscall name="mprotect" number="74"/> - <syscall name="madvise" number="75"/> + <syscall name="msync" number="65" groups="memory"/> + <syscall name="vfork" number="66" groups="process"/> + <syscall name="pread64" number="67" groups="descriptor"/> + <syscall name="pwrite64" number="68" groups="descriptor"/> + <syscall name="mmap" number="71" groups="descriptor,memory"/> + <syscall name="munmap" number="73" groups="memory"/> + <syscall name="mprotect" number="74" groups="memory"/> + <syscall name="madvise" number="75" groups="memory"/> <syscall name="vhangup" number="76"/> - <syscall name="mincore" number="78"/> + <syscall name="mincore" number="78" groups="memory"/> <syscall name="getgroups" number="79"/> <syscall name="setgroups" number="80"/> <syscall name="getpgrp" number="81"/> <syscall name="setitimer" number="83"/> - <syscall name="swapon" number="85"/> + <syscall name="swapon" number="85" groups="file"/> <syscall name="getitimer" number="86"/> <syscall name="sethostname" number="88"/> - <syscall name="dup2" number="90"/> - <syscall name="fcntl" number="92"/> - <syscall name="select" number="93"/> - <syscall name="fsync" number="95"/> + <syscall name="dup2" number="90" groups="descriptor"/> + <syscall name="fcntl" number="92" groups="descriptor"/> + <syscall name="select" number="93" groups="descriptor"/> + <syscall name="fsync" number="95" groups="descriptor"/> <syscall name="setpriority" number="96"/> - <syscall name="socket" number="97"/> - <syscall name="connect" number="98"/> - <syscall name="accept" number="99"/> + <syscall name="socket" number="97" groups="network"/> + <syscall name="connect" number="98" groups="network"/> + <syscall name="accept" number="99" groups="network"/> <syscall name="getpriority" number="100"/> - <syscall name="rt_sigreturn" number="101"/> - <syscall name="rt_sigaction" number="102"/> - <syscall name="rt_sigprocmask" number="103"/> - <syscall name="rt_sigpending" number="104"/> - <syscall name="rt_sigtimedwait" number="105"/> - <syscall name="rt_sigqueueinfo" number="106"/> - <syscall name="rt_sigsuspend" number="107"/> + <syscall name="rt_sigreturn" number="101" groups="signal"/> + <syscall name="rt_sigaction" number="102" groups="signal"/> + <syscall name="rt_sigprocmask" number="103" groups="signal"/> + <syscall name="rt_sigpending" number="104" groups="signal"/> + <syscall name="rt_sigtimedwait" number="105" groups="signal"/> + <syscall name="rt_sigqueueinfo" number="106" groups="signal"/> + <syscall name="rt_sigsuspend" number="107" groups="signal"/> <syscall name="setresuid" number="108"/> <syscall name="getresuid" number="109"/> <syscall name="setresgid" number="110"/> <syscall name="getresgid" number="111"/> - <syscall name="recvmsg" number="113"/> - <syscall name="sendmsg" number="114"/> + <syscall name="recvmsg" number="113" groups="network"/> + <syscall name="sendmsg" number="114" groups="network"/> <syscall name="gettimeofday" number="116"/> <syscall name="getrusage" number="117"/> - <syscall name="getsockopt" number="118"/> - <syscall name="getcwd" number="119"/> - <syscall name="readv" number="120"/> - <syscall name="writev" number="121"/> + <syscall name="getsockopt" number="118" groups="network"/> + <syscall name="getcwd" number="119" groups="file"/> + <syscall name="readv" number="120" groups="descriptor"/> + <syscall name="writev" number="121" groups="descriptor"/> <syscall name="settimeofday" number="122"/> - <syscall name="fchown" number="123"/> - <syscall name="fchmod" number="124"/> - <syscall name="recvfrom" number="125"/> + <syscall name="fchown" number="123" groups="descriptor"/> + <syscall name="fchmod" number="124" groups="descriptor"/> + <syscall name="recvfrom" number="125" groups="network"/> <syscall name="setreuid" number="126"/> <syscall name="setregid" number="127"/> - <syscall name="rename" number="128"/> - <syscall name="truncate" number="129"/> - <syscall name="ftruncate" number="130"/> - <syscall name="flock" number="131"/> - <syscall name="lstat64" number="132"/> - <syscall name="sendto" number="133"/> - <syscall name="shutdown" number="134"/> - <syscall name="socketpair" number="135"/> - <syscall name="mkdir" number="136"/> - <syscall name="rmdir" number="137"/> - <syscall name="utimes" number="138"/> - <syscall name="stat64" number="139"/> - <syscall name="sendfile64" number="140"/> - <syscall name="getpeername" number="141"/> + <syscall name="rename" number="128" groups="file"/> + <syscall name="truncate" number="129" groups="file"/> + <syscall name="ftruncate" number="130" groups="descriptor"/> + <syscall name="flock" number="131" groups="descriptor"/> + <syscall name="lstat64" number="132" groups="file"/> + <syscall name="sendto" number="133" groups="network"/> + <syscall name="shutdown" number="134" groups="network"/> + <syscall name="socketpair" number="135" groups="network"/> + <syscall name="mkdir" number="136" groups="file"/> + <syscall name="rmdir" number="137" groups="file"/> + <syscall name="utimes" number="138" groups="file"/> + <syscall name="stat64" number="139" groups="file"/> + <syscall name="sendfile64" number="140" groups="descriptor,network"/> + <syscall name="getpeername" number="141" groups="network"/> <syscall name="futex" number="142"/> <syscall name="gettid" number="143"/> <syscall name="getrlimit" number="144"/> <syscall name="setrlimit" number="145"/> - <syscall name="pivot_root" number="146"/> + <syscall name="pivot_root" number="146" groups="file"/> <syscall name="prctl" number="147"/> <syscall name="pciconfig_read" number="148"/> <syscall name="pciconfig_write" number="149"/> - <syscall name="getsockname" number="150"/> - <syscall name="inotify_init" number="151"/> - <syscall name="inotify_add_watch" number="152"/> - <syscall name="poll" number="153"/> - <syscall name="getdents64" number="154"/> - <syscall name="inotify_rm_watch" number="156"/> - <syscall name="statfs" number="157"/> - <syscall name="fstatfs" number="158"/> - <syscall name="umount" number="159"/> + <syscall name="getsockname" number="150" groups="network"/> + <syscall name="inotify_init" number="151" groups="descriptor"/> + <syscall name="inotify_add_watch" number="152" groups="descriptor"/> + <syscall name="poll" number="153" groups="descriptor"/> + <syscall name="getdents64" number="154" groups="descriptor"/> + <syscall name="inotify_rm_watch" number="156" groups="descriptor"/> + <syscall name="statfs" number="157" groups="file"/> + <syscall name="fstatfs" number="158" groups="descriptor"/> + <syscall name="umount" number="159" groups="file"/> <syscall name="sched_set_affinity" number="160"/> <syscall name="sched_get_affinity" number="161"/> <syscall name="getdomainname" number="162"/> <syscall name="setdomainname" number="163"/> <syscall name="utrap_install" number="164"/> - <syscall name="quotactl" number="165"/> + <syscall name="quotactl" number="165" groups="file"/> <syscall name="set_tid_address" number="166"/> - <syscall name="mount" number="167"/> + <syscall name="mount" number="167" groups="file"/> <syscall name="ustat" number="168"/> - <syscall name="setxattr" number="169"/> - <syscall name="lsetxattr" number="170"/> - <syscall name="fsetxattr" number="171"/> - <syscall name="getxattr" number="172"/> - <syscall name="lgetxattr" number="173"/> - <syscall name="getdents" number="174"/> + <syscall name="setxattr" number="169" groups="file"/> + <syscall name="lsetxattr" number="170" groups="file"/> + <syscall name="fsetxattr" number="171" groups="descriptor"/> + <syscall name="getxattr" number="172" groups="file"/> + <syscall name="lgetxattr" number="173" groups="file"/> + <syscall name="getdents" number="174" groups="descriptor"/> <syscall name="setsid" number="175"/> - <syscall name="fchdir" number="176"/> - <syscall name="fgetxattr" number="177"/> - <syscall name="listxattr" number="178"/> - <syscall name="llistxattr" number="179"/> - <syscall name="flistxattr" number="180"/> - <syscall name="removexattr" number="181"/> - <syscall name="lremovexattr" number="182"/> - <syscall name="sigpending" number="183"/> + <syscall name="fchdir" number="176" groups="descriptor"/> + <syscall name="fgetxattr" number="177" groups="descriptor"/> + <syscall name="listxattr" number="178" groups="file"/> + <syscall name="llistxattr" number="179" groups="file"/> + <syscall name="flistxattr" number="180" groups="descriptor"/> + <syscall name="removexattr" number="181" groups="file"/> + <syscall name="lremovexattr" number="182" groups="file"/> + <syscall name="sigpending" number="183" groups="signal"/> <syscall name="query_module" number="184"/> <syscall name="setpgid" number="185"/> - <syscall name="fremovexattr" number="186"/> - <syscall name="tkill" number="187"/> - <syscall name="exit_group" number="188"/> + <syscall name="fremovexattr" number="186" groups="descriptor"/> + <syscall name="tkill" number="187" groups="signal"/> + <syscall name="exit_group" number="188" groups="process"/> <syscall name="uname" number="189"/> <syscall name="init_module" number="190"/> <syscall name="personality" number="191"/> - <syscall name="remap_file_pages" number="192"/> - <syscall name="epoll_create" number="193"/> - <syscall name="epoll_ctl" number="194"/> - <syscall name="epoll_wait" number="195"/> + <syscall name="remap_file_pages" number="192" groups="memory"/> + <syscall name="epoll_create" number="193" groups="descriptor"/> + <syscall name="epoll_ctl" number="194" groups="descriptor"/> + <syscall name="epoll_wait" number="195" groups="descriptor"/> <syscall name="ioprio_set" number="196"/> <syscall name="getppid" number="197"/> - <syscall name="sigaction" number="198"/> - <syscall name="sgetmask" number="199"/> - <syscall name="ssetmask" number="200"/> - <syscall name="sigsuspend" number="201"/> - <syscall name="oldlstat" number="202"/> - <syscall name="uselib" number="203"/> - <syscall name="readdir" number="204"/> - <syscall name="readahead" number="205"/> - <syscall name="socketcall" number="206"/> + <syscall name="sigaction" number="198" groups="signal"/> + <syscall name="sgetmask" number="199" groups="signal"/> + <syscall name="ssetmask" number="200" groups="signal"/> + <syscall name="sigsuspend" number="201" groups="signal"/> + <syscall name="oldlstat" number="202" groups="file"/> + <syscall name="uselib" number="203" groups="file"/> + <syscall name="readdir" number="204" groups="descriptor"/> + <syscall name="readahead" number="205" groups="descriptor"/> + <syscall name="socketcall" number="206" groups="descriptor"/> <syscall name="syslog" number="207"/> <syscall name="lookup_dcookie" number="208"/> - <syscall name="fadvise64" number="209"/> - <syscall name="fadvise64_64" number="210"/> - <syscall name="tgkill" number="211"/> - <syscall name="waitpid" number="212"/> - <syscall name="swapoff" number="213"/> + <syscall name="fadvise64" number="209" groups="descriptor"/> + <syscall name="fadvise64_64" number="210" groups="descriptor"/> + <syscall name="tgkill" number="211" groups="signal"/> + <syscall name="waitpid" number="212" groups="process"/> + <syscall name="swapoff" number="213" groups="file"/> <syscall name="sysinfo" number="214"/> - <syscall name="ipc" number="215"/> - <syscall name="sigreturn" number="216"/> - <syscall name="clone" number="217"/> + <syscall name="ipc" number="215" groups="ipc"/> + <syscall name="sigreturn" number="216" groups="signal"/> + <syscall name="clone" number="217" groups="process"/> <syscall name="ioprio_get" number="218"/> <syscall name="adjtimex" number="219"/> - <syscall name="sigprocmask" number="220"/> + <syscall name="sigprocmask" number="220" groups="signal"/> <syscall name="create_module" number="221"/> <syscall name="delete_module" number="222"/> <syscall name="get_kernel_syms" number="223"/> @@ -225,16 +222,16 @@ <syscall name="afs_syscall" number="227"/> <syscall name="setfsuid" number="228"/> <syscall name="setfsgid" number="229"/> - <syscall name="_newselect" number="230"/> - <syscall name="splice" number="232"/> + <syscall name="_newselect" number="230" groups="descriptor"/> + <syscall name="splice" number="232" groups="descriptor"/> <syscall name="stime" number="233"/> - <syscall name="statfs64" number="234"/> - <syscall name="fstatfs64" number="235"/> - <syscall name="_llseek" number="236"/> - <syscall name="mlock" number="237"/> - <syscall name="munlock" number="238"/> - <syscall name="mlockall" number="239"/> - <syscall name="munlockall" number="240"/> + <syscall name="statfs64" number="234" groups="file"/> + <syscall name="fstatfs64" number="235" groups="descriptor"/> + <syscall name="_llseek" number="236" groups="descriptor"/> + <syscall name="mlock" number="237" groups="memory"/> + <syscall name="munlock" number="238" groups="memory"/> + <syscall name="mlockall" number="239" groups="memory"/> + <syscall name="munlockall" number="240" groups="memory"/> <syscall name="sched_setparam" number="241"/> <syscall name="sched_getparam" number="242"/> <syscall name="sched_setscheduler" number="243"/> @@ -244,12 +241,12 @@ <syscall name="sched_get_priority_min" number="247"/> <syscall name="sched_rr_get_interval" number="248"/> <syscall name="nanosleep" number="249"/> - <syscall name="mremap" number="250"/> + <syscall name="mremap" number="250" groups="memory"/> <syscall name="_sysctl" number="251"/> <syscall name="getsid" number="252"/> - <syscall name="fdatasync" number="253"/> + <syscall name="fdatasync" number="253" groups="descriptor"/> <syscall name="nfsservctl" number="254"/> - <syscall name="sync_file_range" number="255"/> + <syscall name="sync_file_range" number="255" groups="descriptor"/> <syscall name="clock_settime" number="256"/> <syscall name="clock_gettime" number="257"/> <syscall name="clock_getres" number="258"/> @@ -273,54 +270,54 @@ <syscall name="mq_timedreceive" number="276"/> <syscall name="mq_notify" number="277"/> <syscall name="mq_getsetattr" number="278"/> - <syscall name="waitid" number="279"/> - <syscall name="tee" number="280"/> + <syscall name="waitid" number="279" groups="process"/> + <syscall name="tee" number="280" groups="descriptor"/> <syscall name="add_key" number="281"/> <syscall name="request_key" number="282"/> <syscall name="keyctl" number="283"/> - <syscall name="openat" number="284"/> - <syscall name="mkdirat" number="285"/> - <syscall name="mknodat" number="286"/> - <syscall name="fchownat" number="287"/> - <syscall name="futimesat" number="288"/> - <syscall name="fstatat64" number="289"/> - <syscall name="unlinkat" number="290"/> - <syscall name="renameat" number="291"/> - <syscall name="linkat" number="292"/> - <syscall name="symlinkat" number="293"/> - <syscall name="readlinkat" number="294"/> - <syscall name="fchmodat" number="295"/> - <syscall name="faccessat" number="296"/> - <syscall name="pselect6" number="297"/> - <syscall name="ppoll" number="298"/> - <syscall name="unshare" number="299"/> + <syscall name="openat" number="284" groups="descriptor,file"/> + <syscall name="mkdirat" number="285" groups="descriptor,file"/> + <syscall name="mknodat" number="286" groups="descriptor,file"/> + <syscall name="fchownat" number="287" groups="descriptor,file"/> + <syscall name="futimesat" number="288" groups="descriptor,file"/> + <syscall name="fstatat64" number="289" groups="descriptor,file"/> + <syscall name="unlinkat" number="290" groups="descriptor,file"/> + <syscall name="renameat" number="291" groups="descriptor,file"/> + <syscall name="linkat" number="292" groups="descriptor,file"/> + <syscall name="symlinkat" number="293" groups="descriptor,file"/> + <syscall name="readlinkat" number="294" groups="descriptor,file"/> + <syscall name="fchmodat" number="295" groups="descriptor,file"/> + <syscall name="faccessat" number="296" groups="descriptor,file"/> + <syscall name="pselect6" number="297" groups="descriptor"/> + <syscall name="ppoll" number="298" groups="descriptor"/> + <syscall name="unshare" number="299" groups="process"/> <syscall name="set_robust_list" number="300"/> <syscall name="get_robust_list" number="301"/> - <syscall name="migrate_pages" number="302"/> - <syscall name="mbind" number="303"/> - <syscall name="get_mempolicy" number="304"/> - <syscall name="set_mempolicy" number="305"/> + <syscall name="migrate_pages" number="302" groups="memory"/> + <syscall name="mbind" number="303" groups="memory"/> + <syscall name="get_mempolicy" number="304" groups="memory"/> + <syscall name="set_mempolicy" number="305" groups="memory"/> <syscall name="kexec_load" number="306"/> - <syscall name="move_pages" number="307"/> + <syscall name="move_pages" number="307" groups="memory"/> <syscall name="getcpu" number="308"/> - <syscall name="epoll_pwait" number="309"/> - <syscall name="utimensat" number="310"/> - <syscall name="signalfd" number="311"/> - <syscall name="timerfd_create" number="312"/> - <syscall name="eventfd" number="313"/> - <syscall name="fallocate" number="314"/> - <syscall name="timerfd_settime" number="315"/> - <syscall name="timerfd_gettime" number="316"/> - <syscall name="signalfd4" number="317"/> - <syscall name="eventfd2" number="318"/> - <syscall name="epoll_create1" number="319"/> - <syscall name="dup3" number="320"/> - <syscall name="pipe2" number="321"/> - <syscall name="inotify_init1" number="322"/> - <syscall name="accept4" number="323"/> - <syscall name="preadv" number="324"/> - <syscall name="pwritev" number="325"/> - <syscall name="rt_tgsigqueueinfo" number="326"/> - <syscall name="perf_event_open" number="327"/> - <syscall name="recvmmsg" number="328"/> + <syscall name="epoll_pwait" number="309" groups="descriptor"/> + <syscall name="utimensat" number="310" groups="descriptor,file"/> + <syscall name="signalfd" number="311" groups="descriptor,signal"/> + <syscall name="timerfd_create" number="312" groups="descriptor"/> + <syscall name="eventfd" number="313" groups="descriptor"/> + <syscall name="fallocate" number="314" groups="descriptor"/> + <syscall name="timerfd_settime" number="315" groups="descriptor"/> + <syscall name="timerfd_gettime" number="316" groups="descriptor"/> + <syscall name="signalfd4" number="317" groups="descriptor,signal"/> + <syscall name="eventfd2" number="318" groups="descriptor"/> + <syscall name="epoll_create1" number="319" groups="descriptor"/> + <syscall name="dup3" number="320" groups="descriptor"/> + <syscall name="pipe2" number="321" groups="descriptor"/> + <syscall name="inotify_init1" number="322" groups="descriptor"/> + <syscall name="accept4" number="323" groups="network"/> + <syscall name="preadv" number="324" groups="descriptor"/> + <syscall name="pwritev" number="325" groups="descriptor"/> + <syscall name="rt_tgsigqueueinfo" number="326" groups="process,signal"/> + <syscall name="perf_event_open" number="327" groups="descriptor"/> + <syscall name="recvmmsg" number="328" groups="network"/> </syscalls_info> diff --git a/gdb/syscalls/sparc64-linux.xml.in b/gdb/syscalls/sparc64-linux.xml.in new file mode 100644 index 0000000..7dd62b4 --- /dev/null +++ b/gdb/syscalls/sparc64-linux.xml.in @@ -0,0 +1,326 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2010-2016 Free Software Foundation, Inc. + + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. --> + +<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd"> + +<!-- This file was generated using the following file: + + /usr/src/linux/arch/sparc/include/asm/unistd.h + + The file mentioned above belongs to the Linux Kernel. --> + +<syscalls_info> + <syscall name="restart_syscall" number="0"/> + <syscall name="exit" number="1"/> + <syscall name="fork" number="2"/> + <syscall name="read" number="3"/> + <syscall name="write" number="4"/> + <syscall name="open" number="5"/> + <syscall name="close" number="6"/> + <syscall name="wait4" number="7"/> + <syscall name="creat" number="8"/> + <syscall name="link" number="9"/> + <syscall name="unlink" number="10"/> + <syscall name="execv" number="11"/> + <syscall name="chdir" number="12"/> + <syscall name="chown" number="13"/> + <syscall name="mknod" number="14"/> + <syscall name="chmod" number="15"/> + <syscall name="lchown" number="16"/> + <syscall name="brk" number="17"/> + <syscall name="perfctr" number="18"/> + <syscall name="lseek" number="19"/> + <syscall name="getpid" number="20"/> + <syscall name="capget" number="21"/> + <syscall name="capset" number="22"/> + <syscall name="setuid" number="23"/> + <syscall name="getuid" number="24"/> + <syscall name="vmsplice" number="25"/> + <syscall name="ptrace" number="26"/> + <syscall name="alarm" number="27"/> + <syscall name="sigaltstack" number="28"/> + <syscall name="pause" number="29"/> + <syscall name="utime" number="30"/> + <syscall name="access" number="33"/> + <syscall name="nice" number="34"/> + <syscall name="sync" number="36"/> + <syscall name="kill" number="37"/> + <syscall name="stat" number="38"/> + <syscall name="sendfile" number="39"/> + <syscall name="lstat" number="40"/> + <syscall name="dup" number="41"/> + <syscall name="pipe" number="42"/> + <syscall name="times" number="43"/> + <syscall name="umount2" number="45"/> + <syscall name="setgid" number="46"/> + <syscall name="getgid" number="47"/> + <syscall name="signal" number="48"/> + <syscall name="geteuid" number="49"/> + <syscall name="getegid" number="50"/> + <syscall name="acct" number="51"/> + <syscall name="memory_ordering" number="52"/> + <syscall name="ioctl" number="54"/> + <syscall name="reboot" number="55"/> + <syscall name="symlink" number="57"/> + <syscall name="readlink" number="58"/> + <syscall name="execve" number="59"/> + <syscall name="umask" number="60"/> + <syscall name="chroot" number="61"/> + <syscall name="fstat" number="62"/> + <syscall name="fstat64" number="63"/> + <syscall name="getpagesize" number="64"/> + <syscall name="msync" number="65"/> + <syscall name="vfork" number="66"/> + <syscall name="pread64" number="67"/> + <syscall name="pwrite64" number="68"/> + <syscall name="mmap" number="71"/> + <syscall name="munmap" number="73"/> + <syscall name="mprotect" number="74"/> + <syscall name="madvise" number="75"/> + <syscall name="vhangup" number="76"/> + <syscall name="mincore" number="78"/> + <syscall name="getgroups" number="79"/> + <syscall name="setgroups" number="80"/> + <syscall name="getpgrp" number="81"/> + <syscall name="setitimer" number="83"/> + <syscall name="swapon" number="85"/> + <syscall name="getitimer" number="86"/> + <syscall name="sethostname" number="88"/> + <syscall name="dup2" number="90"/> + <syscall name="fcntl" number="92"/> + <syscall name="select" number="93"/> + <syscall name="fsync" number="95"/> + <syscall name="setpriority" number="96"/> + <syscall name="socket" number="97"/> + <syscall name="connect" number="98"/> + <syscall name="accept" number="99"/> + <syscall name="getpriority" number="100"/> + <syscall name="rt_sigreturn" number="101"/> + <syscall name="rt_sigaction" number="102"/> + <syscall name="rt_sigprocmask" number="103"/> + <syscall name="rt_sigpending" number="104"/> + <syscall name="rt_sigtimedwait" number="105"/> + <syscall name="rt_sigqueueinfo" number="106"/> + <syscall name="rt_sigsuspend" number="107"/> + <syscall name="setresuid" number="108"/> + <syscall name="getresuid" number="109"/> + <syscall name="setresgid" number="110"/> + <syscall name="getresgid" number="111"/> + <syscall name="recvmsg" number="113"/> + <syscall name="sendmsg" number="114"/> + <syscall name="gettimeofday" number="116"/> + <syscall name="getrusage" number="117"/> + <syscall name="getsockopt" number="118"/> + <syscall name="getcwd" number="119"/> + <syscall name="readv" number="120"/> + <syscall name="writev" number="121"/> + <syscall name="settimeofday" number="122"/> + <syscall name="fchown" number="123"/> + <syscall name="fchmod" number="124"/> + <syscall name="recvfrom" number="125"/> + <syscall name="setreuid" number="126"/> + <syscall name="setregid" number="127"/> + <syscall name="rename" number="128"/> + <syscall name="truncate" number="129"/> + <syscall name="ftruncate" number="130"/> + <syscall name="flock" number="131"/> + <syscall name="lstat64" number="132"/> + <syscall name="sendto" number="133"/> + <syscall name="shutdown" number="134"/> + <syscall name="socketpair" number="135"/> + <syscall name="mkdir" number="136"/> + <syscall name="rmdir" number="137"/> + <syscall name="utimes" number="138"/> + <syscall name="stat64" number="139"/> + <syscall name="sendfile64" number="140"/> + <syscall name="getpeername" number="141"/> + <syscall name="futex" number="142"/> + <syscall name="gettid" number="143"/> + <syscall name="getrlimit" number="144"/> + <syscall name="setrlimit" number="145"/> + <syscall name="pivot_root" number="146"/> + <syscall name="prctl" number="147"/> + <syscall name="pciconfig_read" number="148"/> + <syscall name="pciconfig_write" number="149"/> + <syscall name="getsockname" number="150"/> + <syscall name="inotify_init" number="151"/> + <syscall name="inotify_add_watch" number="152"/> + <syscall name="poll" number="153"/> + <syscall name="getdents64" number="154"/> + <syscall name="inotify_rm_watch" number="156"/> + <syscall name="statfs" number="157"/> + <syscall name="fstatfs" number="158"/> + <syscall name="umount" number="159"/> + <syscall name="sched_set_affinity" number="160"/> + <syscall name="sched_get_affinity" number="161"/> + <syscall name="getdomainname" number="162"/> + <syscall name="setdomainname" number="163"/> + <syscall name="utrap_install" number="164"/> + <syscall name="quotactl" number="165"/> + <syscall name="set_tid_address" number="166"/> + <syscall name="mount" number="167"/> + <syscall name="ustat" number="168"/> + <syscall name="setxattr" number="169"/> + <syscall name="lsetxattr" number="170"/> + <syscall name="fsetxattr" number="171"/> + <syscall name="getxattr" number="172"/> + <syscall name="lgetxattr" number="173"/> + <syscall name="getdents" number="174"/> + <syscall name="setsid" number="175"/> + <syscall name="fchdir" number="176"/> + <syscall name="fgetxattr" number="177"/> + <syscall name="listxattr" number="178"/> + <syscall name="llistxattr" number="179"/> + <syscall name="flistxattr" number="180"/> + <syscall name="removexattr" number="181"/> + <syscall name="lremovexattr" number="182"/> + <syscall name="sigpending" number="183"/> + <syscall name="query_module" number="184"/> + <syscall name="setpgid" number="185"/> + <syscall name="fremovexattr" number="186"/> + <syscall name="tkill" number="187"/> + <syscall name="exit_group" number="188"/> + <syscall name="uname" number="189"/> + <syscall name="init_module" number="190"/> + <syscall name="personality" number="191"/> + <syscall name="remap_file_pages" number="192"/> + <syscall name="epoll_create" number="193"/> + <syscall name="epoll_ctl" number="194"/> + <syscall name="epoll_wait" number="195"/> + <syscall name="ioprio_set" number="196"/> + <syscall name="getppid" number="197"/> + <syscall name="sigaction" number="198"/> + <syscall name="sgetmask" number="199"/> + <syscall name="ssetmask" number="200"/> + <syscall name="sigsuspend" number="201"/> + <syscall name="oldlstat" number="202"/> + <syscall name="uselib" number="203"/> + <syscall name="readdir" number="204"/> + <syscall name="readahead" number="205"/> + <syscall name="socketcall" number="206"/> + <syscall name="syslog" number="207"/> + <syscall name="lookup_dcookie" number="208"/> + <syscall name="fadvise64" number="209"/> + <syscall name="fadvise64_64" number="210"/> + <syscall name="tgkill" number="211"/> + <syscall name="waitpid" number="212"/> + <syscall name="swapoff" number="213"/> + <syscall name="sysinfo" number="214"/> + <syscall name="ipc" number="215"/> + <syscall name="sigreturn" number="216"/> + <syscall name="clone" number="217"/> + <syscall name="ioprio_get" number="218"/> + <syscall name="adjtimex" number="219"/> + <syscall name="sigprocmask" number="220"/> + <syscall name="create_module" number="221"/> + <syscall name="delete_module" number="222"/> + <syscall name="get_kernel_syms" number="223"/> + <syscall name="getpgid" number="224"/> + <syscall name="bdflush" number="225"/> + <syscall name="sysfs" number="226"/> + <syscall name="afs_syscall" number="227"/> + <syscall name="setfsuid" number="228"/> + <syscall name="setfsgid" number="229"/> + <syscall name="_newselect" number="230"/> + <syscall name="splice" number="232"/> + <syscall name="stime" number="233"/> + <syscall name="statfs64" number="234"/> + <syscall name="fstatfs64" number="235"/> + <syscall name="_llseek" number="236"/> + <syscall name="mlock" number="237"/> + <syscall name="munlock" number="238"/> + <syscall name="mlockall" number="239"/> + <syscall name="munlockall" number="240"/> + <syscall name="sched_setparam" number="241"/> + <syscall name="sched_getparam" number="242"/> + <syscall name="sched_setscheduler" number="243"/> + <syscall name="sched_getscheduler" number="244"/> + <syscall name="sched_yield" number="245"/> + <syscall name="sched_get_priority_max" number="246"/> + <syscall name="sched_get_priority_min" number="247"/> + <syscall name="sched_rr_get_interval" number="248"/> + <syscall name="nanosleep" number="249"/> + <syscall name="mremap" number="250"/> + <syscall name="_sysctl" number="251"/> + <syscall name="getsid" number="252"/> + <syscall name="fdatasync" number="253"/> + <syscall name="nfsservctl" number="254"/> + <syscall name="sync_file_range" number="255"/> + <syscall name="clock_settime" number="256"/> + <syscall name="clock_gettime" number="257"/> + <syscall name="clock_getres" number="258"/> + <syscall name="clock_nanosleep" number="259"/> + <syscall name="sched_getaffinity" number="260"/> + <syscall name="sched_setaffinity" number="261"/> + <syscall name="timer_settime" number="262"/> + <syscall name="timer_gettime" number="263"/> + <syscall name="timer_getoverrun" number="264"/> + <syscall name="timer_delete" number="265"/> + <syscall name="timer_create" number="266"/> + <syscall name="vserver" number="267"/> + <syscall name="io_setup" number="268"/> + <syscall name="io_destroy" number="269"/> + <syscall name="io_submit" number="270"/> + <syscall name="io_cancel" number="271"/> + <syscall name="io_getevents" number="272"/> + <syscall name="mq_open" number="273"/> + <syscall name="mq_unlink" number="274"/> + <syscall name="mq_timedsend" number="275"/> + <syscall name="mq_timedreceive" number="276"/> + <syscall name="mq_notify" number="277"/> + <syscall name="mq_getsetattr" number="278"/> + <syscall name="waitid" number="279"/> + <syscall name="tee" number="280"/> + <syscall name="add_key" number="281"/> + <syscall name="request_key" number="282"/> + <syscall name="keyctl" number="283"/> + <syscall name="openat" number="284"/> + <syscall name="mkdirat" number="285"/> + <syscall name="mknodat" number="286"/> + <syscall name="fchownat" number="287"/> + <syscall name="futimesat" number="288"/> + <syscall name="fstatat64" number="289"/> + <syscall name="unlinkat" number="290"/> + <syscall name="renameat" number="291"/> + <syscall name="linkat" number="292"/> + <syscall name="symlinkat" number="293"/> + <syscall name="readlinkat" number="294"/> + <syscall name="fchmodat" number="295"/> + <syscall name="faccessat" number="296"/> + <syscall name="pselect6" number="297"/> + <syscall name="ppoll" number="298"/> + <syscall name="unshare" number="299"/> + <syscall name="set_robust_list" number="300"/> + <syscall name="get_robust_list" number="301"/> + <syscall name="migrate_pages" number="302"/> + <syscall name="mbind" number="303"/> + <syscall name="get_mempolicy" number="304"/> + <syscall name="set_mempolicy" number="305"/> + <syscall name="kexec_load" number="306"/> + <syscall name="move_pages" number="307"/> + <syscall name="getcpu" number="308"/> + <syscall name="epoll_pwait" number="309"/> + <syscall name="utimensat" number="310"/> + <syscall name="signalfd" number="311"/> + <syscall name="timerfd_create" number="312"/> + <syscall name="eventfd" number="313"/> + <syscall name="fallocate" number="314"/> + <syscall name="timerfd_settime" number="315"/> + <syscall name="timerfd_gettime" number="316"/> + <syscall name="signalfd4" number="317"/> + <syscall name="eventfd2" number="318"/> + <syscall name="epoll_create1" number="319"/> + <syscall name="dup3" number="320"/> + <syscall name="pipe2" number="321"/> + <syscall name="inotify_init1" number="322"/> + <syscall name="accept4" number="323"/> + <syscall name="preadv" number="324"/> + <syscall name="pwritev" number="325"/> + <syscall name="rt_tgsigqueueinfo" number="326"/> + <syscall name="perf_event_open" number="327"/> + <syscall name="recvmmsg" number="328"/> +</syscalls_info> |