diff options
| author | Sean Bruno | 2014-06-08 18:57:24 +0200 |
|---|---|---|
| committer | Peter Maydell | 2014-06-11 01:25:06 +0200 |
| commit | 80b346040d23c7e409949bef578ef4ef2c679e49 (patch) | |
| tree | 04f4609e2cc53aa04b4e786fba8f228773d94b09 /bsd-user/freebsd | |
| parent | bsd-user: GPL v2 attribution update and style (diff) | |
| download | qemu-80b346040d23c7e409949bef578ef4ef2c679e49.tar.gz qemu-80b346040d23c7e409949bef578ef4ef2c679e49.tar.xz qemu-80b346040d23c7e409949bef578ef4ef2c679e49.zip | |
bsd-user: Implement strace support for print_sysctl syscall
Signed-off-by: Sean Bruno <sbruno@freebsd.org>
Message-id: 1402246651-71099-4-git-send-email-sbruno@freebsd.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'bsd-user/freebsd')
| -rw-r--r-- | bsd-user/freebsd/strace.list | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list index 1edf412c85..3235f160b2 100644 --- a/bsd-user/freebsd/strace.list +++ b/bsd-user/freebsd/strace.list @@ -1,7 +1,24 @@ -{ TARGET_FREEBSD_NR___getcwd, "__getcwd", NULL, NULL, NULL }, +/* + * FreeBSD strace list + * + * + * 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 2 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/>. + */ + { TARGET_FREEBSD_NR___semctl, "__semctl", NULL, NULL, NULL }, { TARGET_FREEBSD_NR___syscall, "__syscall", NULL, NULL, NULL }, -{ TARGET_FREEBSD_NR___sysctl, "__sysctl", NULL, NULL, NULL }, +{ TARGET_FREEBSD_NR___sysctl, "__sysctl", NULL, print_sysctl, NULL }, { TARGET_FREEBSD_NR_accept, "accept", "%s(%d,%#x,%#x)", NULL, NULL }, { TARGET_FREEBSD_NR_access, "access", "%s(\"%s\",%#o)", NULL, NULL }, { TARGET_FREEBSD_NR_acct, "acct", NULL, NULL, NULL }, |
