|
From: <sv...@va...> - 2006-10-14 19:26:14
|
Author: sewardj
Date: 2006-10-14 20:26:10 +0100 (Sat, 14 Oct 2006)
New Revision: 6225
Log:
Create a new module, m_vki, and move all knowledge about the kernel
interface, except for the syscall numbers, into that. Mostly this
means moving include/vki-*.h to include/vki/vki-*.h.
include/pub_tool_basics.h previously dragged in the entire kernel
interface. I've done away with that, so that modules which need to
see the kernel interface now have to include pub_{core,tool}_vki.h
explicitly. This is why there are many modified .c files -- they have
all acquired an extra #include line.
This certainly breaks all platforms except x86. Will fix shortly.
Added:
trunk/coregrind/m_vki.c
trunk/coregrind/pub_core_vki.h
trunk/include/pub_tool_vki.h
trunk/include/vki/vki-amd64-linux.h
trunk/include/vki/vki-linux.h
trunk/include/vki/vki-posixtypes-amd64-linux.h
trunk/include/vki/vki-posixtypes-ppc32-linux.h
trunk/include/vki/vki-posixtypes-ppc64-linux.h
trunk/include/vki/vki-posixtypes-x86-linux.h
trunk/include/vki/vki-ppc32-linux.h
trunk/include/vki/vki-ppc64-linux.h
trunk/include/vki/vki-x86-linux.h
Removed:
trunk/include/vki-amd64-linux.h
trunk/include/vki-linux.h
trunk/include/vki-ppc32-linux.h
trunk/include/vki-ppc64-linux.h
trunk/include/vki-x86-linux.h
trunk/include/vki_posixtypes-amd64-linux.h
trunk/include/vki_posixtypes-ppc32-linux.h
trunk/include/vki_posixtypes-ppc64-linux.h
trunk/include/vki_posixtypes-x86-linux.h
Modified:
trunk/auxprogs/valgrind-listener.c
trunk/cachegrind/cg_main.c
trunk/callgrind/global.h
trunk/coregrind/Makefile.am
trunk/coregrind/launcher.c
trunk/coregrind/m_aspacemgr/aspacemgr.c
trunk/coregrind/m_clientstate.c
trunk/coregrind/m_commandline.c
trunk/coregrind/m_coredump/coredump-elf.c
trunk/coregrind/m_coredump/coredump-x86-linux.c
trunk/coregrind/m_debugger.c
trunk/coregrind/m_debuginfo/debuginfo.c
trunk/coregrind/m_debuginfo/readelf.c
trunk/coregrind/m_errormgr.c
trunk/coregrind/m_libcassert.c
trunk/coregrind/m_libcfile.c
trunk/coregrind/m_libcprint.c
trunk/coregrind/m_libcproc.c
trunk/coregrind/m_libcsignal.c
trunk/coregrind/m_machine.c
trunk/coregrind/m_main.c
trunk/coregrind/m_mallocfree.c
trunk/coregrind/m_replacemalloc/vg_replace_malloc.c
trunk/coregrind/m_scheduler/scheduler.c
trunk/coregrind/m_scheduler/sema.c
trunk/coregrind/m_sigframe/sigframe-x86-linux.c
trunk/coregrind/m_signals.c
trunk/coregrind/m_stacktrace.c
trunk/coregrind/m_syscall.c
trunk/coregrind/m_syswrap/syswrap-generic.c
trunk/coregrind/m_syswrap/syswrap-linux-variants.c
trunk/coregrind/m_syswrap/syswrap-linux.c
trunk/coregrind/m_syswrap/syswrap-main.c
trunk/coregrind/m_syswrap/syswrap-x86-linux.c
trunk/coregrind/m_threadmodel.c
trunk/coregrind/m_threadstate.c
trunk/coregrind/m_translate.c
trunk/coregrind/m_ume.c
trunk/helgrind/hg_main.c
trunk/include/Makefile.am
trunk/include/pub_tool_basics.h
trunk/massif/ms_main.c
trunk/memcheck/mc_leakcheck.c
[... diff too large to include ...]
|