From: Nicholas Nethercote Date: Fri, 10 Jun 2005 13:34:14 +0000 (+0000) Subject: Removed unneeded headers. X-Git-Tag: svn/VALGRIND_3_0_0~449 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b30257cc9dabfdc377a78f6dce657f02387c35f;p=thirdparty%2Fvalgrind.git Removed unneeded headers. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3869 --- diff --git a/NOTES.txt b/NOTES.txt index d9887ba07a..6a374c4234 100644 --- a/NOTES.txt +++ b/NOTES.txt @@ -2,11 +2,6 @@ ~~~~~~~~~ ToDo: vex-amd64: check above/below the line for reg-alloc -9 June 05 (after major syscalls overhaul) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -corecheck/m_syscalls/syscalls-x86-linux.h is now empty. Should it be -deleted? Ditto corecheck/m_syscalls/syscalls-amd64-linux.h. - 23 Apr 05 (memcheck-on-amd64 notes) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * If a thread is given an initial stack with address range [lo .. hi], diff --git a/coregrind/m_syscalls/Makefile.am b/coregrind/m_syscalls/Makefile.am index 51c7db17da..d5fa301839 100644 --- a/coregrind/m_syscalls/Makefile.am +++ b/coregrind/m_syscalls/Makefile.am @@ -7,10 +7,7 @@ EXTRA_DIST = \ noinst_HEADERS = \ priv_types_n_macros.h \ priv_syscalls-generic.h \ - priv_syscalls-linux.h \ - priv_syscalls-amd64-linux.h \ - priv_syscalls-arm-linux.h \ - priv_syscalls-x86-linux.h + priv_syscalls-linux.h noinst_LIBRARIES = libsyscalls.a diff --git a/coregrind/m_syscalls/priv_syscalls-amd64-linux.h b/coregrind/m_syscalls/priv_syscalls-amd64-linux.h deleted file mode 100644 index 0f7bdd8ddd..0000000000 --- a/coregrind/m_syscalls/priv_syscalls-amd64-linux.h +++ /dev/null @@ -1,41 +0,0 @@ - -/*--------------------------------------------------------------------*/ -/*--- AMD64/Linux-specific syscall stuff. ---*/ -/*--- priv_syscalls-amd64-linux.h ---*/ -/*--------------------------------------------------------------------*/ - -/* - This file is part of Valgrind, a dynamic binary instrumentation - framework. - - Copyright (C) 2000-2005 Nicholas Nethercote - njn@valgrind.org - - 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, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307, USA. - - The GNU General Public License is contained in the file COPYING. -*/ - -#ifndef __PRIV_SYSCALLS_AMD64_LINUX_H -#define __PRIV_SYSCALLS_AMD64_LINUX_H - -#endif // __PRIV_SYSCALLS_AMD64_LINUX_H - -/*--------------------------------------------------------------------*/ -/*--- end ---*/ -/*--------------------------------------------------------------------*/ - - diff --git a/coregrind/m_syscalls/priv_syscalls-arm-linux.h b/coregrind/m_syscalls/priv_syscalls-arm-linux.h deleted file mode 100644 index 63b977d347..0000000000 --- a/coregrind/m_syscalls/priv_syscalls-arm-linux.h +++ /dev/null @@ -1,57 +0,0 @@ - -/*--------------------------------------------------------------------*/ -/*--- ARM/Linux-specific syscall stuff. priv_syscalls-arm-linux.h ---*/ -/*--------------------------------------------------------------------*/ - -/* - This file is part of Valgrind, a dynamic binary instrumentation - framework. - - Copyright (C) 2000-2005 Nicholas Nethercote - njn@valgrind.org - - 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, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307, USA. - - The GNU General Public License is contained in the file COPYING. -*/ - -#ifndef __PRIV_SYSCALLS_ARM_LINUX_H -#define __PRIV_SYSCALLS_ARM_LINUX_H - -// Accessors for the ThreadArchState -#define VGP_SYSCALL_NUM guest_SYSCALLNO -#define VGP_SYSCALL_ARG1 guest_R0 -#define VGP_SYSCALL_ARG2 guest_R1 -#define VGP_SYSCALL_ARG3 guest_R2 -#define VGP_SYSCALL_ARG4 guest_R3 -#define VGP_SYSCALL_ARG5 guest_R4 -#define VGP_SYSCALL_ARG6 guest_R5 -#define VGP_SYSCALL_RET guest_R0 // ToDo XXX ???????? - -// ToDo XXX ???????? -#define VGP_SET_SYSCALL_RESULT(regs, val) ((regs).vex.guest_R0 = (val)) - -// For informing tools that a syscall result has been set. -// XXX ToDo: not sure about this -#define VGP_TRACK_SYSCALL_RETVAL(zztid) \ - VG_TRACK( post_reg_write, Vg_CoreSysCall, zztid, O_SYSCALL_RET, sizeof(UWord) ); - -#endif // __PRIV_SYSCALLS_ARM_LINUX_H - -/*--------------------------------------------------------------------*/ -/*--- end ---*/ -/*--------------------------------------------------------------------*/ - diff --git a/coregrind/m_syscalls/priv_syscalls-x86-linux.h b/coregrind/m_syscalls/priv_syscalls-x86-linux.h deleted file mode 100644 index 1c6fc97f21..0000000000 --- a/coregrind/m_syscalls/priv_syscalls-x86-linux.h +++ /dev/null @@ -1,39 +0,0 @@ - -/*--------------------------------------------------------------------*/ -/*--- x86/Linux-specific syscall stuff. priv_syscalls-x86-linux.h ---*/ -/*--------------------------------------------------------------------*/ - -/* - This file is part of Valgrind, a dynamic binary instrumentation - framework. - - Copyright (C) 2000-2005 Nicholas Nethercote - njn@valgrind.org - - 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, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307, USA. - - The GNU General Public License is contained in the file COPYING. -*/ - -#ifndef __PRIV_SYSCALLS_X86_LINUX_H -#define __PRIV_SYSCALLS_X86_LINUX_H - -#endif // __PRIV_SYSCALLS_X86_LINUX_H - -/*--------------------------------------------------------------------*/ -/*--- end ---*/ -/*--------------------------------------------------------------------*/ -