old-cross-binutils/gdb/syscalls/mips-n64-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

312 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="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>