|
From: Nicholas N. <nj...@ca...> - 2004-09-10 14:24:16
|
CVS commit by nethercote:
Arch-abstraction:
- create coregrind/x86-linux/ directory.
- move vg_unistd.h into x86-linux/, because it's platform-dependent. Also
rename it as vki_unistd.h to make clear it's a kernel interface thing.
A coregrind/x86-linux/.cvgsigore 1.1
A coregrind/x86-linux/Makefile.am 1.1
A coregrind/x86-linux/vki_unistd.h 1.1 [GPL (v2+)]
M +1 -0 Makefile.core-AM_CPPFLAGS.am 1.3
M +1 -1 README_MISSING_SYSCALL_OR_IOCTL 1.8
M +1 -0 configure.in 1.125
M +1 -2 coregrind/Makefile.am 1.84
M +1 -1 coregrind/core.h 1.19
M +1 -1 coregrind/vg_cpuid.S 1.4
M +1 -1 coregrind/vg_syscall.S 1.15
M +1 -1 coregrind/vg_unsafe.h 1.35
R coregrind/vg_unistd.h 1.3
--- valgrind/Makefile.core-AM_CPPFLAGS.am #1.2:1.3
@@ -1,4 +1,5 @@
add_includes = -I$(top_builddir)/coregrind -I$(top_srcdir)/coregrind \
-I$(top_srcdir)/coregrind/$(VG_ARCH) \
+ -I$(top_srcdir)/coregrind/$(VG_PLATFORM) \
-I$(top_builddir)/include -I$(top_srcdir)/include \
-I$(top_srcdir)/include/$(VG_ARCH)
--- valgrind/README_MISSING_SYSCALL_OR_IOCTL #1.7:1.8
@@ -97,5 +97,5 @@
This should tell you something like __NR_mysyscallname.
- Copy this entry to coregrind/vg_unistd.h.
+ Copy this entry to coregrind/$(VG_PLATFORM)/vki_unistd.h.
2. Do 'man 2 mysyscallname' to get some idea of what the syscall
--- valgrind/configure.in #1.124:1.125
@@ -398,4 +398,5 @@
coregrind/docs/Makefile
coregrind/x86/Makefile
+ coregrind/x86-linux/Makefile
addrcheck/Makefile
addrcheck/tests/Makefile
--- valgrind/coregrind/Makefile.am #1.83:1.84
@@ -2,5 +2,5 @@
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
-SUBDIRS = $(VG_ARCH) demangle . docs
+SUBDIRS = $(VG_ARCH) $(VG_PLATFORM) demangle . docs
AM_CPPFLAGS += -DVG_LIBDIR="\"$(valdir)"\" -I$(srcdir)/demangle \
@@ -146,5 +146,4 @@
ume_arch.h \
vg_symtab2.h \
- vg_unistd.h \
vg_symtypes.h \
vg_toolint.h \
--- valgrind/coregrind/core.h #1.18:1.19
@@ -82,5 +82,5 @@
/* For system call numbers __NR_... */
-#include "vg_unistd.h"
+#include "vki_unistd.h"
#include "core_asm.h" // asm stuff
--- valgrind/coregrind/vg_cpuid.S #1.3:1.4
@@ -31,5 +31,5 @@
#include "core_asm.h"
-#include "vg_unistd.h"
+#include "vki_unistd.h"
/*
--- valgrind/coregrind/vg_syscall.S #1.14:1.15
@@ -31,5 +31,5 @@
#include "core_asm.h"
-#include "vg_unistd.h"
+#include "vki_unistd.h"
.globl VG_(do_syscall)
--- valgrind/coregrind/vg_unsafe.h #1.34:1.35
@@ -34,5 +34,5 @@
/* These includes are only used for making sense of the args for
system calls. */
-#include "vg_unistd.h" /* for system call numbers */
+#include "vki_unistd.h" /* for system call numbers */
#include <sys/mman.h> /* for PROT_* */
#include <sys/utsname.h> /* for uname */
|