binutils-gdb/gdb/syscalls/mips-n32-linux.xml
David Daney 385203ed4d gdb/
2011-02-04 David Daney <ddaney@caviumnetworks.com>

	* mips-linux-tdep.c: Include xml-syscall.h.
	(mips_linux_get_syscall_number): New function.
	(mips_linux_init_abi): Add calls to
	mips_linux_get_syscall_number() and set_xml_syscall_file_name().
	* data-directory/Makefile.in (SYSCALLS_FILES): Add
	mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
	* syscalls/mips-n32-linux.xml: New file.
	* syscalls/mips-n64-linux.xml: New file.
	* syscalls/mips-o32-linux.xml: New file.
gdb/testsuite/
2011-02-04 David Daney <ddaney@caviumnetworks.com>

	* gdb.base/catch-syscall.exp: Enable for mips*-linux*.
2011-02-04 18:34:43 +00:00

320 lines
13 KiB
XML

<?xml version="1.0"?>
<!-- Copyright (C) 2011 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>