# XML representation of 32-bit SPARC Solaris syscalls.
# Will contribute upstream if possible.

--- gdb-7.11-orig/gdb/syscalls/sparc-solaris.xml	1969-12-31 16:00:00.000000000 -0800
+++ gdb-7.11/gdb/syscalls/sparc-solaris.xml	2016-04-20 19:01:48.341493267 -0700
@@ -0,0 +1,252 @@
+<?xml version="1.0"?>
+<!-- Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+
+    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/sys/syscall.h
+
+    The file mentioned above belongs to the Solaris Kernel.  -->
+
+<syscalls_info>
+  <syscall name="syscall" number="0"/>
+  <syscall name="exit" number="1"/>
+  <syscall name="spawn" number="2"/>
+  <syscall name="read" number="3"/>
+  <syscall name="write" number="4"/>
+  <syscall name="close" number="6"/>
+  <syscall name="linkat" number="7"/>
+  <syscall name="reflinkat" number="8"/>
+  <syscall name="recvmmsg" number="9"/>
+  <syscall name="sendmmsg" number="10"/>
+  <syscall name="symlinkat" number="11"/>
+  <syscall name="chdir" number="12"/>
+  <syscall name="time" number="13"/>
+  <syscall name="brk" number="17"/>
+  <syscall name="lseek" number="19"/>
+  <syscall name="getpid" number="20"/>
+  <syscall name="mount" number="21"/>
+  <syscall name="readlinkat" number="22"/>
+  <syscall name="setuid" number="23"/>
+  <syscall name="getuid" number="24"/>
+  <syscall name="stime" number="25"/>
+  <syscall name="pcsample" number="26"/>
+  <syscall name="alarm" number="27"/>
+  <syscall name="pause" number="29"/>
+  <syscall name="frealpathat" number="30"/>
+  <syscall name="stty" number="31"/>
+  <syscall name="gtty" number="32"/>
+  <syscall name="nice" number="34"/>
+  <syscall name="statfs" number="35"/>
+  <syscall name="sync" number="36"/>
+  <syscall name="kill" number="37"/>
+  <syscall name="fstatfs" number="38"/>
+  <syscall name="pgrpsys" number="39"/>
+  <syscall name="uucopystr" number="40"/>
+  <syscall name="pipe" number="42"/>
+  <syscall name="times" number="43"/>
+  <syscall name="profil" number="44"/>
+  <syscall name="faccessat" number="45"/>
+  <syscall name="setgid" number="46"/>
+  <syscall name="getgid" number="47"/>
+  <syscall name="mknodat" number="48"/>
+  <syscall name="msgsys" number="49"/>
+  <syscall name="sysi86" number="50"/>
+  <syscall name="acct" number="51"/>
+  <syscall name="shmsys" number="52"/>
+  <syscall name="semsys" number="53"/>
+  <syscall name="ioctl" number="54"/>
+  <syscall name="uadmin" number="55"/>
+  <syscall name="fchownat" number="56"/>
+  <syscall name="utssys" number="57"/>
+  <syscall name="fdsync" number="58"/>
+  <syscall name="execve" number="59"/>
+  <syscall name="umask" number="60"/>
+  <syscall name="chroot" number="61"/>
+  <syscall name="fcntl" number="62"/>
+  <syscall name="ulimit" number="63"/>
+  <syscall name="renameat" number="64"/>
+  <syscall name="fstatat" number="66"/>
+  <syscall name="fstatat64" number="67"/>
+  <syscall name="openat" number="68"/>
+  <syscall name="openat64" number="69"/>
+  <syscall name="tasksys" number="70"/>
+  <syscall name="acctctl" number="71"/>
+  <syscall name="exacctsys" number="72"/>
+  <syscall name="getpagesizes" number="73"/>
+  <syscall name="rctlsys" number="74"/>
+  <syscall name="sidsys" number="75"/>
+  <syscall name="unlinkat" number="76"/>
+  <syscall name="lwp_park" number="77"/>
+  <syscall name="sendfilev" number="78"/>
+  <syscall name="lwp_name" number="79"/>
+  <syscall name="getdents" number="81"/>
+  <syscall name="privsys" number="82"/>
+  <syscall name="ucredsys" number="83"/>
+  <syscall name="sysfs" number="84"/>
+  <syscall name="getmsg" number="85"/>
+  <syscall name="putmsg" number="86"/>
+  <syscall name="va_mask" number="87"/>
+  <syscall name="memsys" number="88"/>
+  <syscall name="adi" number="90"/>
+  <syscall name="setgroups" number="91"/>
+  <syscall name="getgroups" number="92"/>
+  <syscall name="sigprocmask" number="95"/>
+  <syscall name="sigsuspend" number="96"/>
+  <syscall name="sigaltstack" number="97"/>
+  <syscall name="sigaction" number="98"/>
+  <syscall name="sigpending" number="99"/>
+  <syscall name="context" number="100"/>
+  <syscall name="fchmodat" number="101"/>
+  <syscall name="mkdirat" number="102"/>
+  <syscall name="statvfs" number="103"/>
+  <syscall name="fstatvfs" number="104"/>
+  <syscall name="getloadavg" number="105"/>
+  <syscall name="nfssys" number="106"/>
+  <syscall name="waitid" number="107"/>
+  <syscall name="waitsys" number="107"/>
+  <syscall name="sigsendsys" number="108"/>
+  <syscall name="hrtsys" number="109"/>
+  <syscall name="utimensat" number="110"/>
+  <syscall name="sigresend" number="111"/>
+  <syscall name="priocntlsys" number="112"/>
+  <syscall name="pathconf" number="113"/>
+  <syscall name="mincore" number="114"/>
+  <syscall name="mmap" number="115"/>
+  <syscall name="mprotect" number="116"/>
+  <syscall name="munmap" number="117"/>
+  <syscall name="fpathconf" number="118"/>
+  <syscall name="vfork" number="119"/>
+  <syscall name="fchdir" number="120"/>
+  <syscall name="readv" number="121"/>
+  <syscall name="writev" number="122"/>
+  <syscall name="uuidsys" number="124"/>
+  <syscall name="mmapobj" number="127"/>
+  <syscall name="setrlimit" number="128"/>
+  <syscall name="getrlimit" number="129"/>
+  <syscall name="memcntl" number="131"/>
+  <syscall name="getpmsg" number="132"/>
+  <syscall name="putpmsg" number="133"/>
+  <syscall name="uname" number="135"/>
+  <syscall name="setegid" number="136"/>
+  <syscall name="sysconfig" number="137"/>
+  <syscall name="adjtime" number="138"/>
+  <syscall name="systeminfo" number="139"/>
+  <syscall name="sharefs" number="140"/>
+  <syscall name="seteuid" number="141"/>
+  <syscall name="forksys" number="142"/>
+  <syscall name="getrandom" number="143"/>
+  <syscall name="sigtimedwait" number="144"/>
+  <syscall name="lwp_info" number="145"/>
+  <syscall name="yield" number="146"/>
+  <syscall name="secsys" number="147"/>
+  <syscall name="lwp_sema_post" number="148"/>
+  <syscall name="lwp_sema_trywait" number="149"/>
+  <syscall name="lwp_detach" number="150"/>
+  <syscall name="corectl" number="151"/>
+  <syscall name="modctl" number="152"/>
+  <syscall name="fchroot" number="153"/>
+  <syscall name="system_stats" number="154"/>
+  <syscall name="vhangup" number="155"/>
+  <syscall name="gettimeofday" number="156"/>
+  <syscall name="getitimer" number="157"/>
+  <syscall name="setitimer" number="158"/>
+  <syscall name="lwp_create" number="159"/>
+  <syscall name="lwp_exit" number="160"/>
+  <syscall name="lwp_suspend" number="161"/>
+  <syscall name="lwp_continue" number="162"/>
+  <syscall name="lwp_sigqueue" number="163"/>
+  <syscall name="lwp_self" number="164"/>
+  <syscall name="lwp_sigmask" number="165"/>
+  <syscall name="lwp_private" number="166"/>
+  <syscall name="lwp_sparc_fixalign" number="166"/>
+  <syscall name="lwp_wait" number="167"/>
+  <syscall name="lwp_mutex_wakeup" number="168"/>
+  <syscall name="lwp_cond_wait" number="170"/>
+  <syscall name="lwp_cond_signal" number="171"/>
+  <syscall name="lwp_cond_broadcast" number="172"/>
+  <syscall name="pread" number="173"/>
+  <syscall name="pwrite" number="174"/>
+  <syscall name="llseek" number="175"/>
+  <syscall name="inst_sync" number="176"/>
+  <syscall name="brand" number="177"/>
+  <syscall name="kaio" number="178"/>
+  <syscall name="cpc" number="179"/>
+  <syscall name="lgrpsys" number="180"/>
+  <syscall name="meminfosys" number="180"/>
+  <syscall name="rusagesys" number="181"/>
+  <syscall name="port" number="182"/>
+  <syscall name="pollsys" number="183"/>
+  <syscall name="labelsys" number="184"/>
+  <syscall name="acl" number="185"/>
+  <syscall name="auditsys" number="186"/>
+  <syscall name="processor_sys" number="187"/>
+  <syscall name="p_online" number="189"/>
+  <syscall name="sigqueue" number="190"/>
+  <syscall name="clock_gettime" number="191"/>
+  <syscall name="clock_settime" number="192"/>
+  <syscall name="clock_getres" number="193"/>
+  <syscall name="timer_create" number="194"/>
+  <syscall name="timer_delete" number="195"/>
+  <syscall name="timer_settime" number="196"/>
+  <syscall name="timer_gettime" number="197"/>
+  <syscall name="timer_getoverrun" number="198"/>
+  <syscall name="nanosleep" number="199"/>
+  <syscall name="facl" number="200"/>
+  <syscall name="door" number="201"/>
+  <syscall name="setreuid" number="202"/>
+  <syscall name="setregid" number="203"/>
+  <syscall name="install_utrap" number="204"/>
+  <syscall name="signotify" number="205"/>
+  <syscall name="schedctl" number="206"/>
+  <syscall name="pset" number="207"/>
+  <syscall name="sparc_utrap_install" number="208"/>
+  <syscall name="resolvepath" number="209"/>
+  <syscall name="lwp_mutex_timedlock" number="210"/>
+  <syscall name="lwp_sema_timedwait" number="211"/>
+  <syscall name="lwp_rwlock_sys" number="212"/>
+  <syscall name="getdents64" number="213"/>
+  <syscall name="mmap64" number="214"/>
+  <syscall name="statvfs64" number="218"/>
+  <syscall name="fstatvfs64" number="219"/>
+  <syscall name="setrlimit64" number="220"/>
+  <syscall name="getrlimit64" number="221"/>
+  <syscall name="pread64" number="222"/>
+  <syscall name="pwrite64" number="223"/>
+  <syscall name="rpcsys" number="226"/>
+  <syscall name="zone" number="227"/>
+  <syscall name="autofssys" number="228"/>
+  <syscall name="getcwd" number="229"/>
+  <syscall name="so_socket" number="230"/>
+  <syscall name="so_socketpair" number="231"/>
+  <syscall name="bind" number="232"/>
+  <syscall name="listen" number="233"/>
+  <syscall name="accept" number="234"/>
+  <syscall name="connect" number="235"/>
+  <syscall name="shutdown" number="236"/>
+  <syscall name="recv" number="237"/>
+  <syscall name="recvfrom" number="238"/>
+  <syscall name="recvmsg" number="239"/>
+  <syscall name="send" number="240"/>
+  <syscall name="sendmsg" number="241"/>
+  <syscall name="sendto" number="242"/>
+  <syscall name="getpeername" number="243"/>
+  <syscall name="getsockname" number="244"/>
+  <syscall name="getsockopt" number="245"/>
+  <syscall name="setsockopt" number="246"/>
+  <syscall name="sockconfig" number="247"/>
+  <syscall name="ntp_gettime" number="248"/>
+  <syscall name="ntp_adjtime" number="249"/>
+  <syscall name="lwp_mutex_unlock" number="250"/>
+  <syscall name="lwp_mutex_trylock" number="251"/>
+  <syscall name="lwp_mutex_register" number="252"/>
+  <syscall name="cladm" number="253"/>
+  <syscall name="uucopy" number="254"/>
+  <syscall name="umount2" number="255"/>
+</syscalls_info>
+
