|
From: Nicholas N. <nj...@cs...> - 2005-02-17 03:00:54
|
CVS commit by nethercote:
Removed a bunch of stuff no longer needed since the libpthread/proxyLWP
removal:
- Deleted NOTES.syscalls, which was about testing of the proxyLWP stuff
- Deleted coregrind/dosyms, which checked the symbols in our libpthread.so
matched the real one
- Massif no longer needs to know about vg_libpthread.c:my_malloc()
- filter_stderr_basic no longer needs to filter vg_libpthread.c
- arch_thread_aux type no longer used
- updated some comments
M +3 -4 coregrind/core.h 1.84
M +1 -1 coregrind/vg_syscalls.c 1.246
M +0 -10 coregrind/x86/core_arch.h 1.24
M +0 -1 massif/ms_main.c 1.24
M +0 -3 tests/filter_stderr_basic 1.21
R NOTES.syscalls 1.1
R coregrind/dosyms 1.2
--- valgrind/coregrind/core.h #1.83:1.84
@@ -909,8 +909,7 @@ extern void VG_(send_bytes_to_logging_si
// Functions for printing from code within Valgrind, but which runs on the
-// sim'd CPU. Defined here because needed for vg_libpthread.c,
-// vg_replace_malloc.c, plus the rest of the core. The weak attribute
-// ensures the multiple definitions are not a problem. They must be functions
-// rather than macros so that va_list can be used.
+// sim'd CPU. Defined here because needed for vg_replace_malloc.c. The
+// weak attribute ensures the multiple definitions are not a problem. They
+// must be functions rather than macros so that va_list can be used.
__attribute__((weak))
--- valgrind/coregrind/vg_syscalls.c #1.245:1.246
@@ -1728,5 +1728,5 @@ PRE(sys_execve, Special)
{
// Remove the valgrind-specific stuff from the environment so the
- // child doesn't get our libpthread and other stuff. This is
+ // child doesn't get vg_inject.so, vgpreload.so, etc. This is
// done unconditionally, since if we are tracing the child,
// stage1/2 will set up the appropriate client environment.
--- valgrind/coregrind/x86/core_arch.h #1.23:1.24
@@ -328,14 +328,4 @@ arch_thread_t;
/* ---------------------------------------------------------------------
- libpthread stuff
- ------------------------------------------------------------------ */
-
-struct arch_thread_aux {
- void* tls_data;
- int tls_segment;
- unsigned long sysinfo;
-};
-
-/* ---------------------------------------------------------------------
Signal stuff (should be plat)
------------------------------------------------------------------ */
--- valgrind/massif/ms_main.c #1.23:1.24
@@ -266,5 +266,4 @@ static Char* alloc_fns[MAX_ALLOC_FNS] =
"calloc",
"realloc",
- "my_malloc", // from vg_libpthread.c
"memalign",
};
--- valgrind/tests/filter_stderr_basic #1.20:1.21
@@ -23,7 +23,4 @@
sed "s/vg_intercept.c:[0-9]*/vg_intercept.c:.../" |
-# Anonymise vg_libpthread lines
-sed "s/vg_libpthread.c:[0-9]*/vg_libpthread.c:.../" |
-
# Hide suppressed error counts
sed "s/^\(ERROR SUMMARY[^(]*(suppressed: \)[0-9]*\( from \)[0-9]*)$/\10\20)/" |
|