You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(13) |
2
(15) |
|
3
(16) |
4
(42) |
5
(9) |
6
(20) |
7
(22) |
8
(24) |
9
(12) |
|
10
(24) |
11
(11) |
12
(2) |
13
(13) |
14
(8) |
15
|
16
(16) |
|
17
(24) |
18
(36) |
19
(100) |
20
(94) |
21
(50) |
22
(39) |
23
(10) |
|
24
(14) |
25
(19) |
26
(2) |
27
(6) |
28
(17) |
29
(9) |
30
(8) |
|
31
(21) |
|
|
|
|
|
|
|
From: <sv...@va...> - 2009-05-19 05:36:29
|
Author: njn Date: 2009-05-19 06:36:23 +0100 (Tue, 19 May 2009) New Revision: 9954 Log: tweak test Modified: trunk/massif/tests/malloc_usable.vgtest Modified: trunk/massif/tests/malloc_usable.vgtest =================================================================== --- trunk/massif/tests/malloc_usable.vgtest 2009-05-19 05:36:16 UTC (rev 9953) +++ trunk/massif/tests/malloc_usable.vgtest 2009-05-19 05:36:23 UTC (rev 9954) @@ -1,2 +1,3 @@ prog: malloc_usable -vgopts: -q +vgopts: -q --massif-out-file=massif.out +cleanup: rm massif.out |
|
From: <sv...@va...> - 2009-05-19 05:36:22
|
Author: njn Date: 2009-05-19 06:36:16 +0100 (Tue, 19 May 2009) New Revision: 9953 Log: tweak test Modified: branches/DARWIN/massif/tests/malloc_usable.stderr.exp branches/DARWIN/massif/tests/malloc_usable.vgtest Modified: branches/DARWIN/massif/tests/malloc_usable.stderr.exp =================================================================== --- branches/DARWIN/massif/tests/malloc_usable.stderr.exp 2009-05-19 05:28:49 UTC (rev 9952) +++ branches/DARWIN/massif/tests/malloc_usable.stderr.exp 2009-05-19 05:36:16 UTC (rev 9953) @@ -1,2 +0,0 @@ - - Modified: branches/DARWIN/massif/tests/malloc_usable.vgtest =================================================================== --- branches/DARWIN/massif/tests/malloc_usable.vgtest 2009-05-19 05:28:49 UTC (rev 9952) +++ branches/DARWIN/massif/tests/malloc_usable.vgtest 2009-05-19 05:36:16 UTC (rev 9953) @@ -1,3 +1,3 @@ prog: malloc_usable -vgopts: --massif-out-file=massif.out +vgopts: -q --massif-out-file=massif.out cleanup: rm massif.out |
|
From: <sv...@va...> - 2009-05-19 05:29:02
|
Author: njn
Date: 2009-05-19 06:28:43 +0100 (Tue, 19 May 2009)
New Revision: 9951
Log:
Tweak VG_(exit).
Modified:
trunk/coregrind/m_libcassert.c
Modified: trunk/coregrind/m_libcassert.c
===================================================================
--- trunk/coregrind/m_libcassert.c 2009-05-19 05:23:29 UTC (rev 9950)
+++ trunk/coregrind/m_libcassert.c 2009-05-19 05:28:43 UTC (rev 9951)
@@ -99,14 +99,15 @@
/* Pull down the entire world */
void VG_(exit)( Int status )
{
-# if defined(VGO_linux)
+#if defined(VGO_linux)
(void)VG_(do_syscall1)(__NR_exit_group, status );
-# endif
+#elif defined(VGO_aix5)
(void)VG_(do_syscall1)(__NR_exit, status );
- /* Why are we still alive here? */
+#else
+# error Unknown OS
+#endif
/*NOTREACHED*/
- *(volatile Int *)0 = 'x';
- vg_assert(2+2 == 5);
+ VG_(core_panic)("VG_(exit) didn't work?");
}
// Print the scheduler status.
|
|
From: <sv...@va...> - 2009-05-19 05:28:56
|
Author: njn
Date: 2009-05-19 06:28:49 +0100 (Tue, 19 May 2009)
New Revision: 9952
Log:
Tweak VG_(commit).
Modified:
branches/DARWIN/coregrind/m_libcassert.c
Modified: branches/DARWIN/coregrind/m_libcassert.c
===================================================================
--- branches/DARWIN/coregrind/m_libcassert.c 2009-05-19 05:28:43 UTC (rev 9951)
+++ branches/DARWIN/coregrind/m_libcassert.c 2009-05-19 05:28:49 UTC (rev 9952)
@@ -99,14 +99,15 @@
/* Pull down the entire world */
void VG_(exit)( Int status )
{
-#if defined(__NR_exit_group)
+#if defined(VGO_linux)
(void)VG_(do_syscall1)(__NR_exit_group, status );
+#elif defined(VGO_aix5) || defined(VGO_darwin)
+ (void)VG_(do_syscall1)(__NR_exit, status );
+#else
+# error Unknown OS
#endif
- (void)VG_(do_syscall1)(__NR_exit, status );
- /* Why are we still alive here? */
/*NOTREACHED*/
- *(volatile Int *)0 = 'x';
- vg_assert(2+2 == 5);
+ VG_(core_panic)("VG_(exit) didn't work?");
}
// Print the scheduler status.
|
|
From: <sv...@va...> - 2009-05-19 05:23:40
|
Author: njn Date: 2009-05-19 06:23:29 +0100 (Tue, 19 May 2009) New Revision: 9950 Log: space wibble Modified: branches/DARWIN/coregrind/pub_core_libcproc.h Modified: branches/DARWIN/coregrind/pub_core_libcproc.h =================================================================== --- branches/DARWIN/coregrind/pub_core_libcproc.h 2009-05-19 05:22:55 UTC (rev 9949) +++ branches/DARWIN/coregrind/pub_core_libcproc.h 2009-05-19 05:23:29 UTC (rev 9950) @@ -82,7 +82,7 @@ // atfork extern void VG_(do_atfork_pre) ( ThreadId tid ); extern void VG_(do_atfork_parent) ( ThreadId tid ); -extern void VG_(do_atfork_child) ( ThreadId tid ); +extern void VG_(do_atfork_child) ( ThreadId tid ); #endif // __PUB_CORE_LIBCPROC_H |
|
From: <sv...@va...> - 2009-05-19 05:23:03
|
Author: njn Date: 2009-05-19 06:22:55 +0100 (Tue, 19 May 2009) New Revision: 9949 Log: Remove dead declaration. Modified: branches/DARWIN/coregrind/pub_core_libcproc.h Modified: branches/DARWIN/coregrind/pub_core_libcproc.h =================================================================== --- branches/DARWIN/coregrind/pub_core_libcproc.h 2009-05-19 05:21:32 UTC (rev 9948) +++ branches/DARWIN/coregrind/pub_core_libcproc.h 2009-05-19 05:22:55 UTC (rev 9949) @@ -84,8 +84,6 @@ extern void VG_(do_atfork_parent) ( ThreadId tid ); extern void VG_(do_atfork_child) ( ThreadId tid ); -extern void VG_(start_helper_thread)(void (*fn)(void)); - #endif // __PUB_CORE_LIBCPROC_H /*--------------------------------------------------------------------*/ |
|
From: <sv...@va...> - 2009-05-19 05:21:40
|
Author: njn
Date: 2009-05-19 06:21:32 +0100 (Tue, 19 May 2009)
New Revision: 9948
Log:
Remove dead field.
Modified:
branches/DARWIN/coregrind/pub_core_tooliface.h
Modified: branches/DARWIN/coregrind/pub_core_tooliface.h
===================================================================
--- branches/DARWIN/coregrind/pub_core_tooliface.h 2009-05-19 05:14:35 UTC (rev 9947)
+++ branches/DARWIN/coregrind/pub_core_tooliface.h 2009-05-19 05:21:32 UTC (rev 9948)
@@ -86,7 +86,6 @@
Bool superblock_discards;
Bool command_line_options;
Bool client_requests;
- Bool debugger_commands;
Bool syscall_wrapper;
Bool sanity_checks;
Bool var_info;
|
|
From: <sv...@va...> - 2009-05-19 05:14:40
|
Author: njn
Date: 2009-05-19 06:14:35 +0100 (Tue, 19 May 2009)
New Revision: 9947
Log:
Fix comments.
Modified:
branches/DARWIN/coregrind/m_syswrap/syswrap-generic.c
Modified: branches/DARWIN/coregrind/m_syswrap/syswrap-generic.c
===================================================================
--- branches/DARWIN/coregrind/m_syswrap/syswrap-generic.c 2009-05-19 05:08:44 UTC (rev 9946)
+++ branches/DARWIN/coregrind/m_syswrap/syswrap-generic.c 2009-05-19 05:14:35 UTC (rev 9947)
@@ -500,7 +500,7 @@
# undef MIN_SIZET
}
-#endif /* HAVE_REMAP */
+#endif /* HAVE_MREMAP */
/* ---------------------------------------------------------------------
@@ -2295,7 +2295,7 @@
do_mremap((Addr)ARG1, ARG2, (Addr)ARG5, ARG3, ARG4, tid)
);
}
-#endif /* HAVE_REMAP */
+#endif /* HAVE_MREMAP */
PRE(sys_nice)
{
|
|
From: <sv...@va...> - 2009-05-19 05:08:50
|
Author: njn
Date: 2009-05-19 06:08:44 +0100 (Tue, 19 May 2009)
New Revision: 9946
Log:
Tweak conditional compilation.
Modified:
branches/DARWIN/coregrind/m_libcfile.c
Modified: branches/DARWIN/coregrind/m_libcfile.c
===================================================================
--- branches/DARWIN/coregrind/m_libcfile.c 2009-05-19 05:06:43 UTC (rev 9945)
+++ branches/DARWIN/coregrind/m_libcfile.c 2009-05-19 05:08:44 UTC (rev 9946)
@@ -151,10 +151,12 @@
Int VG_(write) ( Int fd, const void* buf, Int count)
{
Int ret;
-# if defined(VGO_darwin)
+# if defined(VGO_linux) || defined(VGO_aix5)
+ SysRes res = VG_(do_syscall3)(__NR_write, fd, (UWord)buf, count);
+# elif defined(VGO_darwin)
SysRes res = VG_(do_syscall3)(__NR_write_nocancel, fd, (UWord)buf, count);
# else
- SysRes res = VG_(do_syscall3)(__NR_write, fd, (UWord)buf, count);
+# error "Unknown OS"
# endif
if (sr_isError(res)) {
ret = - (Int)(Word)sr_Err(res);
|
|
From: <sv...@va...> - 2009-05-19 05:06:50
|
Author: njn
Date: 2009-05-19 06:06:43 +0100 (Tue, 19 May 2009)
New Revision: 9945
Log:
comment wibble
Modified:
trunk/coregrind/m_libcfile.c
Modified: trunk/coregrind/m_libcfile.c
===================================================================
--- trunk/coregrind/m_libcfile.c 2009-05-19 05:06:32 UTC (rev 9944)
+++ trunk/coregrind/m_libcfile.c 2009-05-19 05:06:43 UTC (rev 9945)
@@ -145,7 +145,6 @@
OffT VG_(lseek) ( Int fd, OffT offset, Int whence )
{
#if defined(VGO_linux) || defined(VGO_aix5)
- /* all other platforms */
SysRes res = VG_(do_syscall3)(__NR_lseek, fd, offset, whence);
vg_assert(sizeof(OffT) == sizeof(Word));
# else
|
|
From: <sv...@va...> - 2009-05-19 05:06:39
|
Author: njn
Date: 2009-05-19 06:06:32 +0100 (Tue, 19 May 2009)
New Revision: 9944
Log:
Reorder arms of conditional compilation.
Modified:
branches/DARWIN/coregrind/m_libcfile.c
Modified: branches/DARWIN/coregrind/m_libcfile.c
===================================================================
--- branches/DARWIN/coregrind/m_libcfile.c 2009-05-19 05:01:27 UTC (rev 9943)
+++ branches/DARWIN/coregrind/m_libcfile.c 2009-05-19 05:06:32 UTC (rev 9944)
@@ -187,14 +187,12 @@
OffT VG_(lseek) ( Int fd, OffT offset, Int whence )
{
-# if defined(VGP_x86_darwin)
- SysRes res = VG_(do_syscall4)(__NR_lseek, fd,
- offset & 0xffffffff, offset >> 32, whence);
-# elif defined(VGP_amd64_darwin) \
- || defined(VGO_linux) || defined(VGO_aix5)
- /* all other platforms */
+# if defined(VGO_linux) || defined(VGO_aix5) || defined(VGP_amd64_darwin)
SysRes res = VG_(do_syscall3)(__NR_lseek, fd, offset, whence);
vg_assert(sizeof(OffT) == sizeof(Word));
+# elif defined(VGP_x86_darwin)
+ SysRes res = VG_(do_syscall4)(__NR_lseek, fd,
+ offset & 0xffffffff, offset >> 32, whence);
# else
# error "Unknown plat"
# endif
|
|
From: <sv...@va...> - 2009-05-19 05:01:34
|
Author: njn
Date: 2009-05-19 06:01:27 +0100 (Tue, 19 May 2009)
New Revision: 9943
Log:
DARWIN sync comment.
Modified:
trunk/coregrind/pub_core_threadstate.h
Modified: trunk/coregrind/pub_core_threadstate.h
===================================================================
--- trunk/coregrind/pub_core_threadstate.h 2009-05-19 05:00:18 UTC (rev 9942)
+++ trunk/coregrind/pub_core_threadstate.h 2009-05-19 05:01:27 UTC (rev 9943)
@@ -114,7 +114,9 @@
ThreadArchState;
-/* OS-specific thread state */
+/* OS-specific thread state. IMPORTANT: if you add fields to this,
+ you _must_ add code to os_state_clear() to initialise those
+ fields. */
typedef
struct {
/* who we are */
|
|
From: <sv...@va...> - 2009-05-19 05:00:26
|
Author: njn
Date: 2009-05-19 06:00:18 +0100 (Tue, 19 May 2009)
New Revision: 9942
Log:
Remove a dead field.
Modified:
branches/DARWIN/coregrind/pub_core_threadstate.h
Modified: branches/DARWIN/coregrind/pub_core_threadstate.h
===================================================================
--- branches/DARWIN/coregrind/pub_core_threadstate.h 2009-05-19 04:55:00 UTC (rev 9941)
+++ branches/DARWIN/coregrind/pub_core_threadstate.h 2009-05-19 05:00:18 UTC (rev 9942)
@@ -283,7 +283,7 @@
/* Overall thread state */
-typedef struct ThreadState {
+typedef struct {
/* ThreadId == 0 (and hence vg_threads[0]) is NEVER USED.
The thread identity is simply the index in vg_threads[].
ThreadId == 1 is the root thread and has the special property
@@ -353,9 +353,6 @@
/* Per-thread jmp_buf to resume scheduler after a signal */
Bool sched_jmpbuf_valid;
jmp_buf sched_jmpbuf;
-
- /* Linked list of threads (used for thread reaping) */
- struct ThreadState *next;
}
ThreadState;
|
|
From: <sv...@va...> - 2009-05-19 04:55:07
|
Author: njn Date: 2009-05-19 05:55:00 +0100 (Tue, 19 May 2009) New Revision: 9941 Log: DARWIN sync: include m_ume/*.c in COMMON_SOURCES. Modified: trunk/coregrind/Makefile.am Modified: trunk/coregrind/Makefile.am =================================================================== --- trunk/coregrind/Makefile.am 2009-05-19 04:48:52 UTC (rev 9940) +++ trunk/coregrind/Makefile.am 2009-05-19 04:55:00 UTC (rev 9941) @@ -239,7 +239,10 @@ m_replacemalloc/replacemalloc_core.c \ m_scheduler/scheduler.c \ m_scheduler/sema.c \ - m_syswrap/syswrap-main.c + m_syswrap/syswrap-main.c \ + m_ume/elf.c \ + m_ume/main.c \ + m_ume/script.c COREGRIND_LINUX_SOURCE = \ m_aspacemgr/aspacemgr-linux.c \ @@ -253,10 +256,7 @@ m_initimg/initimg-pathscan.c \ m_syswrap/syswrap-linux.c \ m_syswrap/syswrap-linux-variants.c \ - m_syswrap/syswrap-generic.c \ - m_ume/elf.c \ - m_ume/main.c \ - m_ume/script.c + m_syswrap/syswrap-generic.c COREGRIND_AIX5_SOURCE = \ m_aspacemgr/aspacemgr-aix5.c \ |
|
From: <sv...@va...> - 2009-05-19 04:49:02
|
Author: njn Date: 2009-05-19 05:48:52 +0100 (Tue, 19 May 2009) New Revision: 9940 Log: DARWIN sync: use AM_CFLAGS_PIC in more places. Modified: trunk/coregrind/Makefile.am Modified: trunk/coregrind/Makefile.am =================================================================== --- trunk/coregrind/Makefile.am 2009-05-19 04:37:03 UTC (rev 9939) +++ trunk/coregrind/Makefile.am 2009-05-19 04:48:52 UTC (rev 9940) @@ -341,28 +341,28 @@ libreplacemalloc_toolpreload_x86_linux_a_SOURCES = m_replacemalloc/vg_replace_malloc.c libreplacemalloc_toolpreload_x86_linux_a_CPPFLAGS = $(AM_CPPFLAGS_X86_LINUX) -libreplacemalloc_toolpreload_x86_linux_a_CFLAGS = $(AM_CFLAGS_X86_LINUX) -fpic -fno-omit-frame-pointer +libreplacemalloc_toolpreload_x86_linux_a_CFLAGS = $(AM_CFLAGS_X86_LINUX) $(AM_CFLAGS_PIC) libreplacemalloc_toolpreload_amd64_linux_a_SOURCES = m_replacemalloc/vg_replace_malloc.c libreplacemalloc_toolpreload_amd64_linux_a_CPPFLAGS = $(AM_CPPFLAGS_AMD64_LINUX) -libreplacemalloc_toolpreload_amd64_linux_a_CFLAGS = $(AM_CFLAGS_AMD64_LINUX) -fpic -fno-omit-frame-pointer +libreplacemalloc_toolpreload_amd64_linux_a_CFLAGS = $(AM_CFLAGS_AMD64_LINUX) $(AM_CFLAGS_PIC) libreplacemalloc_toolpreload_ppc32_linux_a_SOURCES = m_replacemalloc/vg_replace_malloc.c libreplacemalloc_toolpreload_ppc32_linux_a_CPPFLAGS = $(AM_CPPFLAGS_PPC32_LINUX) -libreplacemalloc_toolpreload_ppc32_linux_a_CFLAGS = $(AM_CFLAGS_PPC32_LINUX) -fpic -fno-omit-frame-pointer +libreplacemalloc_toolpreload_ppc32_linux_a_CFLAGS = $(AM_CFLAGS_PPC32_LINUX) $(AM_CFLAGS_PIC) libreplacemalloc_toolpreload_ppc64_linux_a_SOURCES = m_replacemalloc/vg_replace_malloc.c libreplacemalloc_toolpreload_ppc64_linux_a_CPPFLAGS = $(AM_CPPFLAGS_PPC64_LINUX) -libreplacemalloc_toolpreload_ppc64_linux_a_CFLAGS = $(AM_CFLAGS_PPC64_LINUX) -fpic -fno-omit-frame-pointer +libreplacemalloc_toolpreload_ppc64_linux_a_CFLAGS = $(AM_CFLAGS_PPC64_LINUX) $(AM_CFLAGS_PIC) libreplacemalloc_toolpreload_ppc32_aix5_a_SOURCES = m_replacemalloc/vg_replace_malloc.c libreplacemalloc_toolpreload_ppc32_aix5_a_CPPFLAGS = $(AM_CPPFLAGS_PPC32_AIX5) -libreplacemalloc_toolpreload_ppc32_aix5_a_CFLAGS = $(AM_CFLAGS_PPC32_AIX5) -fpic -fno-omit-frame-pointer +libreplacemalloc_toolpreload_ppc32_aix5_a_CFLAGS = $(AM_CFLAGS_PPC32_AIX5) $(AM_CFLAGS_PIC) libreplacemalloc_toolpreload_ppc32_aix5_a_AR = $(AR) -X32 cru libreplacemalloc_toolpreload_ppc64_aix5_a_SOURCES = m_replacemalloc/vg_replace_malloc.c libreplacemalloc_toolpreload_ppc64_aix5_a_CPPFLAGS = $(AM_CPPFLAGS_PPC64_AIX5) -libreplacemalloc_toolpreload_ppc64_aix5_a_CFLAGS = $(AM_CFLAGS_PPC64_AIX5) -fpic -fno-omit-frame-pointer +libreplacemalloc_toolpreload_ppc64_aix5_a_CFLAGS = $(AM_CFLAGS_PPC64_AIX5) $(AM_CFLAGS_PIC) libreplacemalloc_toolpreload_ppc64_aix5_a_AR = $(AR) -X64 cru m_dispatch/dispatch-x86-linux.S: libvex_guest_offsets.h |
|
From: <sv...@va...> - 2009-05-19 04:37:11
|
Author: njn Date: 2009-05-19 05:37:03 +0100 (Tue, 19 May 2009) New Revision: 9939 Log: DARWIN sync wibble. Modified: trunk/coregrind/Makefile.am Modified: trunk/coregrind/Makefile.am =================================================================== --- trunk/coregrind/Makefile.am 2009-05-19 04:33:53 UTC (rev 9938) +++ trunk/coregrind/Makefile.am 2009-05-19 04:37:03 UTC (rev 9939) @@ -76,15 +76,16 @@ bin_PROGRAMS = \ valgrind no_op_client_for_valgrind +if VGCONF_OS_IS_LINUX +valgrind_SOURCES = \ + launcher-linux.c \ + m_debuglog.c +endif if VGCONF_OS_IS_AIX5 valgrind_SOURCES = \ launcher-aix5.c \ m_debuglog.c \ m_vkiscnums.c -else -valgrind_SOURCES = \ - launcher-linux.c \ - m_debuglog.c endif valgrind_CPPFLAGS = $(AM_CPPFLAGS_PRI) |
|
From: <sv...@va...> - 2009-05-19 04:33:58
|
Author: njn Date: 2009-05-19 05:33:53 +0100 (Tue, 19 May 2009) New Revision: 9938 Log: Sync m_cpuid with DARWIN. Modified: branches/DARWIN/coregrind/Makefile.am Modified: branches/DARWIN/coregrind/Makefile.am =================================================================== --- branches/DARWIN/coregrind/Makefile.am 2009-05-19 04:31:53 UTC (rev 9937) +++ branches/DARWIN/coregrind/Makefile.am 2009-05-19 04:33:53 UTC (rev 9938) @@ -264,6 +264,7 @@ COREGRIND_SOURCES_COMMON = \ m_commandline.c \ m_clientstate.c \ + m_cpuid.S \ m_debugger.c \ m_debuglog.c \ m_errormgr.c \ @@ -363,7 +364,6 @@ $(COREGRIND_SOURCES_COMMON) \ $(COREGRIND_LINUX_SOURCE) \ m_coredump/coredump-x86-linux.c \ - m_cpuid.S \ m_dispatch/dispatch-x86-linux.S \ m_sigframe/sigframe-x86-linux.c \ m_syswrap/syscall-x86-linux.S \ @@ -376,7 +376,6 @@ $(COREGRIND_SOURCES_COMMON) \ $(COREGRIND_LINUX_SOURCE) \ m_coredump/coredump-amd64-linux.c \ - m_cpuid.S \ m_dispatch/dispatch-amd64-linux.S \ m_sigframe/sigframe-amd64-linux.c \ m_syswrap/syscall-amd64-linux.S \ @@ -439,7 +438,6 @@ $(COREGRIND_SOURCES_COMMON) \ $(COREGRIND_DARWIN_SOURCE) \ m_coredump/coredump-x86-darwin.c \ - m_cpuid.S \ m_dispatch/dispatch-x86-darwin.S \ m_mach/mach_traps-x86-darwin.S \ m_sigframe/sigframe-x86-darwin.c \ @@ -456,7 +454,6 @@ $(COREGRIND_SOURCES_COMMON) \ $(COREGRIND_DARWIN_SOURCE) \ m_coredump/coredump-amd64-darwin.c \ - m_cpuid.S \ m_dispatch/dispatch-amd64-darwin.S \ m_mach/mach_traps-amd64-darwin.S \ m_sigframe/sigframe-amd64-darwin.c \ |
|
From: <sv...@va...> - 2009-05-19 04:32:06
|
Author: njn Date: 2009-05-19 05:31:53 +0100 (Tue, 19 May 2009) New Revision: 9937 Log: DARWIN sync wibble. Modified: trunk/coregrind/Makefile.am Modified: trunk/coregrind/Makefile.am =================================================================== --- trunk/coregrind/Makefile.am 2009-05-19 04:24:32 UTC (rev 9936) +++ trunk/coregrind/Makefile.am 2009-05-19 04:31:53 UTC (rev 9937) @@ -259,8 +259,8 @@ COREGRIND_AIX5_SOURCE = \ m_aspacemgr/aspacemgr-aix5.c \ + m_debuginfo/readxcoff.c \ m_initimg/initimg-aix5.c \ - m_debuginfo/readxcoff.c \ m_syswrap/syswrap-aix5.c libcoregrind_x86_linux_a_SOURCES = \ |
|
From: <sv...@va...> - 2009-05-19 04:24:50
|
Author: njn Date: 2009-05-19 05:24:32 +0100 (Tue, 19 May 2009) New Revision: 9936 Log: Reorder files to match trunk. Modified: branches/DARWIN/coregrind/Makefile.am Modified: branches/DARWIN/coregrind/Makefile.am =================================================================== --- branches/DARWIN/coregrind/Makefile.am 2009-05-19 04:23:49 UTC (rev 9935) +++ branches/DARWIN/coregrind/Makefile.am 2009-05-19 04:24:32 UTC (rev 9936) @@ -169,6 +169,7 @@ noinst_HEADERS = \ $(mach_hdrs) \ + launcher-aix5-bootblock.h \ pub_core_aspacehl.h \ pub_core_aspacemgr.h \ pub_core_basics.h \ @@ -240,6 +241,8 @@ m_demangle/demangle.h \ m_demangle/safe-ctype.h \ m_demangle/vg_libciface.h \ + m_initimg/priv_initimg_pathscan.h \ + m_initimg/simple_huffman.c \ m_scheduler/priv_sema.h \ m_syswrap/priv_types_n_macros.h \ m_syswrap/priv_syswrap-generic.h \ @@ -248,10 +251,7 @@ m_syswrap/priv_syswrap-aix5.h \ m_syswrap/priv_syswrap-darwin.h \ m_syswrap/priv_syswrap-main.h \ - m_ume/priv_ume.h \ - launcher-aix5-bootblock.h \ - m_initimg/priv_initimg_pathscan.h \ - m_initimg/simple_huffman.c + m_ume/priv_ume.h BUILT_SOURCES = CLEANFILES = |
|
From: <sv...@va...> - 2009-05-19 04:23:58
|
Author: njn
Date: 2009-05-19 05:23:49 +0100 (Tue, 19 May 2009)
New Revision: 9935
Log:
Sync m_initimg with the DARWIN branch.
Added:
trunk/coregrind/m_initimg/initimg-pathscan.c
trunk/coregrind/m_initimg/priv_initimg_pathscan.h
Modified:
trunk/coregrind/Makefile.am
trunk/coregrind/m_initimg/initimg-linux.c
Modified: trunk/coregrind/Makefile.am
===================================================================
--- trunk/coregrind/Makefile.am 2009-05-19 04:12:47 UTC (rev 9934)
+++ trunk/coregrind/Makefile.am 2009-05-19 04:23:49 UTC (rev 9935)
@@ -102,6 +102,7 @@
noinst_HEADERS = \
+ launcher-aix5-bootblock.h \
pub_core_aspacehl.h \
pub_core_aspacemgr.h \
pub_core_basics.h \
@@ -171,6 +172,8 @@
m_demangle/demangle.h \
m_demangle/safe-ctype.h \
m_demangle/vg_libciface.h \
+ m_initimg/priv_initimg_pathscan.h \
+ m_initimg/simple_huffman.c \
m_scheduler/priv_sema.h \
m_syswrap/priv_types_n_macros.h \
m_syswrap/priv_syswrap-generic.h \
@@ -178,9 +181,7 @@
m_syswrap/priv_syswrap-linux-variants.h \
m_syswrap/priv_syswrap-aix5.h \
m_syswrap/priv_syswrap-main.h \
- m_ume/priv_ume.h \
- launcher-aix5-bootblock.h \
- m_initimg/simple_huffman.c
+ m_ume/priv_ume.h
BUILT_SOURCES =
CLEANFILES =
@@ -248,6 +249,7 @@
m_debuginfo/readstabs.c \
m_debuginfo/readpdb.c \
m_initimg/initimg-linux.c \
+ m_initimg/initimg-pathscan.c \
m_syswrap/syswrap-linux.c \
m_syswrap/syswrap-linux-variants.c \
m_syswrap/syswrap-generic.c \
Modified: trunk/coregrind/m_initimg/initimg-linux.c
===================================================================
--- trunk/coregrind/m_initimg/initimg-linux.c 2009-05-19 04:12:47 UTC (rev 9934)
+++ trunk/coregrind/m_initimg/initimg-linux.c 2009-05-19 04:23:49 UTC (rev 9935)
@@ -47,6 +47,7 @@
#include "pub_core_syscall.h"
#include "pub_core_tooliface.h" /* VG_TRACK */
#include "pub_core_threadstate.h" /* ThreadArchState */
+#include "priv_initimg_pathscan.h"
#include "pub_core_initimg.h" /* self */
/* --- !!! --- EXTERNAL HEADERS start --- !!! --- */
@@ -58,104 +59,6 @@
/*====================================================================*/
-/*=== Find executable ===*/
-/*====================================================================*/
-
-/* Scan a colon-separated list, and call a function on each element.
- The string must be mutable, because we insert a temporary '\0', but
- the string will end up unmodified. (*func) should return True if it
- doesn't need to see any more.
-
- This routine will return True if (*func) returns True and False if
- it reaches the end of the list without that happening.
-*/
-static Bool scan_colsep(char *colsep, Bool (*func)(const char *))
-{
- char *cp, *entry;
- int end;
-
- if (colsep == NULL ||
- *colsep == '\0')
- return False;
-
- entry = cp = colsep;
-
- do {
- end = (*cp == '\0');
-
- if (*cp == ':' || *cp == '\0') {
- char save = *cp;
-
- *cp = '\0';
- if ((*func)(entry)) {
- *cp = save;
- return True;
- }
- *cp = save;
- entry = cp+1;
- }
- cp++;
- } while(!end);
-
- return False;
-}
-
-/* Need a static copy because can't use dynamic mem allocation yet */
-static HChar executable_name_in [VKI_PATH_MAX];
-static HChar executable_name_out[VKI_PATH_MAX];
-
-static Bool match_executable(const char *entry)
-{
- HChar buf[VG_(strlen)(entry) + VG_(strlen)(executable_name_in) + 3];
-
- /* empty PATH element means '.' */
- if (*entry == '\0')
- entry = ".";
-
- VG_(snprintf)(buf, sizeof(buf), "%s/%s", entry, executable_name_in);
-
- // Don't match directories
- if (VG_(is_dir)(buf))
- return False;
-
- // If we match an executable, we choose that immediately. If we find a
- // matching non-executable we remember it but keep looking for an
- // matching executable later in the path.
- if (VG_(access)(buf, True/*r*/, False/*w*/, True/*x*/) == 0) {
- VG_(strncpy)( executable_name_out, buf, VKI_PATH_MAX-1 );
- executable_name_out[VKI_PATH_MAX-1] = 0;
- return True; // Stop looking
- } else if (VG_(access)(buf, True/*r*/, False/*w*/, False/*x*/) == 0
- && VG_STREQ(executable_name_out, ""))
- {
- VG_(strncpy)( executable_name_out, buf, VKI_PATH_MAX-1 );
- executable_name_out[VKI_PATH_MAX-1] = 0;
- return False; // Keep looking
- } else {
- return False; // Keep looking
- }
-}
-
-// Returns NULL if it wasn't found.
-static HChar* find_executable ( HChar* exec )
-{
- vg_assert(NULL != exec);
- if (VG_(strchr)(exec, '/')) {
- // Has a '/' - use the name as is
- VG_(strncpy)( executable_name_out, exec, VKI_PATH_MAX-1 );
- } else {
- // No '/' - we need to search the path
- HChar* path;
- VG_(strncpy)( executable_name_in, exec, VKI_PATH_MAX-1 );
- VG_(memset) ( executable_name_out, 0, VKI_PATH_MAX );
- path = VG_(getenv)("PATH");
- scan_colsep(path, match_executable);
- }
- return VG_STREQ(executable_name_out, "") ? NULL : executable_name_out;
-}
-
-
-/*====================================================================*/
/*=== Loading the client ===*/
/*====================================================================*/
@@ -170,7 +73,7 @@
SysRes res;
vg_assert( VG_(args_the_exename) != NULL);
- exe_name = find_executable( VG_(args_the_exename) );
+ exe_name = ML_(find_executable)( VG_(args_the_exename) );
if (!exe_name) {
VG_(printf)("valgrind: %s: command not found\n", VG_(args_the_exename));
Added: trunk/coregrind/m_initimg/initimg-pathscan.c
===================================================================
--- trunk/coregrind/m_initimg/initimg-pathscan.c (rev 0)
+++ trunk/coregrind/m_initimg/initimg-pathscan.c 2009-05-19 04:23:49 UTC (rev 9935)
@@ -0,0 +1,149 @@
+
+/*--------------------------------------------------------------------*/
+/*--- Startup: search PATH for an executable initimg-pathscan.c ---*/
+/*--------------------------------------------------------------------*/
+
+/*
+ This file is part of Valgrind, a dynamic binary instrumentation
+ framework.
+
+ Copyright (C) 2000-2007 Julian Seward
+ js...@ac...
+
+ 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.
+*/
+
+#include "pub_core_basics.h"
+#include "pub_core_vki.h"
+#include "pub_core_debuglog.h"
+#include "pub_core_libcbase.h"
+#include "pub_core_libcassert.h"
+#include "pub_core_libcfile.h"
+#include "pub_core_libcproc.h"
+#include "pub_core_libcprint.h"
+#include "pub_core_xarray.h"
+#include "pub_core_clientstate.h"
+#include "pub_core_aspacemgr.h"
+#include "pub_core_mallocfree.h"
+#include "pub_core_machine.h"
+#include "pub_core_ume.h"
+#include "pub_core_options.h"
+#include "pub_core_tooliface.h" /* VG_TRACK */
+#include "pub_core_threadstate.h" /* ThreadArchState */
+#include "pub_core_initimg.h" /* self */
+
+#include "priv_initimg_pathscan.h"
+
+
+/*====================================================================*/
+/*=== Find executable ===*/
+/*====================================================================*/
+
+/* Scan a colon-separated list, and call a function on each element.
+ The string must be mutable, because we insert a temporary '\0', but
+ the string will end up unmodified. (*func) should return True if it
+ doesn't need to see any more.
+
+ This routine will return True if (*func) returns True and False if
+ it reaches the end of the list without that happening.
+*/
+static Bool scan_colsep(char *colsep, Bool (*func)(const char *))
+{
+ char *cp, *entry;
+ int end;
+
+ if (colsep == NULL ||
+ *colsep == '\0')
+ return False;
+
+ entry = cp = colsep;
+
+ do {
+ end = (*cp == '\0');
+
+ if (*cp == ':' || *cp == '\0') {
+ char save = *cp;
+
+ *cp = '\0';
+ if ((*func)(entry)) {
+ *cp = save;
+ return True;
+ }
+ *cp = save;
+ entry = cp+1;
+ }
+ cp++;
+ } while(!end);
+
+ return False;
+}
+
+/* Need a static copy because can't use dynamic mem allocation yet */
+static HChar executable_name_in [VKI_PATH_MAX];
+static HChar executable_name_out[VKI_PATH_MAX];
+
+static Bool match_executable(const char *entry)
+{
+ HChar buf[VG_(strlen)(entry) + VG_(strlen)(executable_name_in) + 3];
+
+ /* empty PATH element means '.' */
+ if (*entry == '\0')
+ entry = ".";
+
+ VG_(snprintf)(buf, sizeof(buf), "%s/%s", entry, executable_name_in);
+
+ // Don't match directories
+ if (VG_(is_dir)(buf))
+ return False;
+
+ // If we match an executable, we choose that immediately. If we find a
+ // matching non-executable we remember it but keep looking for an
+ // matching executable later in the path.
+ if (VG_(access)(buf, True/*r*/, False/*w*/, True/*x*/) == 0) {
+ VG_(strncpy)( executable_name_out, buf, VKI_PATH_MAX-1 );
+ executable_name_out[VKI_PATH_MAX-1] = 0;
+ return True; // Stop looking
+ } else if (VG_(access)(buf, True/*r*/, False/*w*/, False/*x*/) == 0
+ && VG_STREQ(executable_name_out, ""))
+ {
+ VG_(strncpy)( executable_name_out, buf, VKI_PATH_MAX-1 );
+ executable_name_out[VKI_PATH_MAX-1] = 0;
+ return False; // Keep looking
+ } else {
+ return False; // Keep looking
+ }
+}
+
+// Returns NULL if it wasn't found.
+HChar* ML_(find_executable) ( HChar* exec )
+{
+ vg_assert(NULL != exec);
+ if (VG_(strchr)(exec, '/')) {
+ // Has a '/' - use the name as is
+ VG_(strncpy)( executable_name_out, exec, VKI_PATH_MAX-1 );
+ } else {
+ // No '/' - we need to search the path
+ HChar* path;
+ VG_(strncpy)( executable_name_in, exec, VKI_PATH_MAX-1 );
+ VG_(memset) ( executable_name_out, 0, VKI_PATH_MAX );
+ path = VG_(getenv)("PATH");
+ scan_colsep(path, match_executable);
+ }
+ return VG_STREQ(executable_name_out, "") ? NULL : executable_name_out;
+}
+
Added: trunk/coregrind/m_initimg/priv_initimg_pathscan.h
===================================================================
--- trunk/coregrind/m_initimg/priv_initimg_pathscan.h (rev 0)
+++ trunk/coregrind/m_initimg/priv_initimg_pathscan.h 2009-05-19 04:23:49 UTC (rev 9935)
@@ -0,0 +1,37 @@
+
+/*--------------------------------------------------------------------*/
+/*--- Startup: search PATH for an executable ---*/
+/*--- priv_initimg-pathscan.h ---*/
+/*--------------------------------------------------------------------*/
+
+/*
+ This file is part of Valgrind, a dynamic binary instrumentation
+ framework.
+
+ Copyright (C) 2006-2007 OpenWorks LLP
+ in...@op...
+
+ 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_INITIMG_PATHSCAN_H
+#define __PRIV_INITIMG_PATHSCAN_
+
+extern HChar* ML_(find_executable) ( HChar* exec );
+
+#endif
|
|
From: <sv...@va...> - 2009-05-19 04:12:54
|
Author: njn
Date: 2009-05-19 05:12:47 +0100 (Tue, 19 May 2009)
New Revision: 9934
Log:
Remove two dead functions.
Modified:
branches/DARWIN/coregrind/m_initimg/initimg-linux.c
Modified: branches/DARWIN/coregrind/m_initimg/initimg-linux.c
===================================================================
--- branches/DARWIN/coregrind/m_initimg/initimg-linux.c 2009-05-19 04:10:47 UTC (rev 9933)
+++ branches/DARWIN/coregrind/m_initimg/initimg-linux.c 2009-05-19 04:12:47 UTC (rev 9934)
@@ -59,86 +59,6 @@
/*====================================================================*/
-/*=== Find executable ===*/
-/*====================================================================*/
-
-/* Scan a colon-separated list, and call a function on each element.
- The string must be mutable, because we insert a temporary '\0', but
- the string will end up unmodified. (*func) should return True if it
- doesn't need to see any more.
-
- This routine will return True if (*func) returns True and False if
- it reaches the end of the list without that happening.
-*/
-static Bool scan_colsep(char *colsep, Bool (*func)(const char *))
-{
- char *cp, *entry;
- int end;
-
- if (colsep == NULL ||
- *colsep == '\0')
- return False;
-
- entry = cp = colsep;
-
- do {
- end = (*cp == '\0');
-
- if (*cp == ':' || *cp == '\0') {
- char save = *cp;
-
- *cp = '\0';
- if ((*func)(entry)) {
- *cp = save;
- return True;
- }
- *cp = save;
- entry = cp+1;
- }
- cp++;
- } while(!end);
-
- return False;
-}
-
-/* Need a static copy because can't use dynamic mem allocation yet */
-static HChar executable_name_in [VKI_PATH_MAX];
-static HChar executable_name_out[VKI_PATH_MAX];
-
-static Bool match_executable(const char *entry)
-{
- HChar buf[VG_(strlen)(entry) + VG_(strlen)(executable_name_in) + 3];
-
- /* empty PATH element means '.' */
- if (*entry == '\0')
- entry = ".";
-
- VG_(snprintf)(buf, sizeof(buf), "%s/%s", entry, executable_name_in);
-
- // Don't match directories
- if (VG_(is_dir)(buf))
- return False;
-
- // If we match an executable, we choose that immediately. If we find a
- // matching non-executable we remember it but keep looking for an
- // matching executable later in the path.
- if (VG_(access)(buf, True/*r*/, False/*w*/, True/*x*/) == 0) {
- VG_(strncpy)( executable_name_out, buf, VKI_PATH_MAX-1 );
- executable_name_out[VKI_PATH_MAX-1] = 0;
- return True; // Stop looking
- } else if (VG_(access)(buf, True/*r*/, False/*w*/, False/*x*/) == 0
- && VG_STREQ(executable_name_out, ""))
- {
- VG_(strncpy)( executable_name_out, buf, VKI_PATH_MAX-1 );
- executable_name_out[VKI_PATH_MAX-1] = 0;
- return False; // Keep looking
- } else {
- return False; // Keep looking
- }
-}
-
-
-/*====================================================================*/
/*=== Loading the client ===*/
/*====================================================================*/
|
|
From: <sv...@va...> - 2009-05-19 04:10:55
|
Author: njn
Date: 2009-05-19 05:10:47 +0100 (Tue, 19 May 2009)
New Revision: 9933
Log:
Remove dead variable.
Modified:
branches/DARWIN/coregrind/m_clientstate.c
branches/DARWIN/include/pub_tool_clientstate.h
Modified: branches/DARWIN/coregrind/m_clientstate.c
===================================================================
--- branches/DARWIN/coregrind/m_clientstate.c 2009-05-19 04:03:53 UTC (rev 9932)
+++ branches/DARWIN/coregrind/m_clientstate.c 2009-05-19 04:10:47 UTC (rev 9933)
@@ -77,9 +77,6 @@
line. */
HChar* VG_(args_the_exename) = NULL;
-/* The name of the client executable, after searching PATH */
-HChar *VG_(client_exename) = NULL;
-
// Client's original rlimit data and rlimit stack
struct vki_rlimit VG_(client_rlimit_data);
struct vki_rlimit VG_(client_rlimit_stack);
Modified: branches/DARWIN/include/pub_tool_clientstate.h
===================================================================
--- branches/DARWIN/include/pub_tool_clientstate.h 2009-05-19 04:03:53 UTC (rev 9932)
+++ branches/DARWIN/include/pub_tool_clientstate.h 2009-05-19 04:10:47 UTC (rev 9933)
@@ -62,10 +62,7 @@
line. */
extern HChar* VG_(args_the_exename);
-/* The name of the client executable, after searching PATH */
-extern HChar *VG_(client_exename);
-
#endif // __PUB_TOOL_CLIENTSTATE_H
/*--------------------------------------------------------------------*/
|
|
From: <sv...@va...> - 2009-05-19 04:03:59
|
Author: njn
Date: 2009-05-19 05:03:53 +0100 (Tue, 19 May 2009)
New Revision: 9932
Log:
Sync nightly test files with trunk.
Modified:
branches/DARWIN/nightly/README.txt
branches/DARWIN/nightly/bin/nightly
Modified: branches/DARWIN/nightly/README.txt
===================================================================
--- branches/DARWIN/nightly/README.txt 2009-05-19 04:01:52 UTC (rev 9931)
+++ branches/DARWIN/nightly/README.txt 2009-05-19 04:03:53 UTC (rev 9932)
@@ -19,6 +19,13 @@
ABT_DETAILS: describes the machine in more detail, eg. the OS. The default
is empty.
ABT_CONFIGURE_OPTIONS: gives extra configure options. The default is empty.
+ ABT_EVAL: if provided, it must be the name of a shell script that executes
+ the shell command $1 with arguments $2 .. ${$#}. Allows to compile and
+ run the Valgrind regression tests on another system than the system the
+ 'nightly' script runs on. It is assumed that the remote system shares the
+ local filesystem tree through e.g. NFS. It is the responsibility of the
+ shell script to set the remote working directory such that it matches the
+ local current directory ($PWD).
ABT_RUN_REGTEST: if provided, it must be the name of an argumentless shell
function (also specified in the tag.conf file) that will be used to run
the tests. If not specified, the usual "perl tests/vg_regtest --all"
Modified: branches/DARWIN/nightly/bin/nightly
===================================================================
--- branches/DARWIN/nightly/bin/nightly 2009-05-19 04:01:52 UTC (rev 9931)
+++ branches/DARWIN/nightly/bin/nightly 2009-05-19 04:03:53 UTC (rev 9932)
@@ -27,7 +27,7 @@
echo "$*" >> $logfile.verbose
# Run the command
- (eval "$*") >> $logfile.verbose 2>&1
+ ("${ABT_EVAL}" "$*") >> $logfile.verbose 2>&1
res=$?
# Write result to the short logfile
@@ -70,10 +70,13 @@
rm -rf sendmail.log unchanged.log valgrind
# Setup any relevant environment variables from conf/<tag>.conf.
-source conf/$ABT_MACHINE.conf
+. conf/$ABT_MACHINE.conf
if [ "${ABT_JOBS}" = "" ]; then
ABT_JOBS=1
fi
+if [ "${ABT_EVAL}" = "" ]; then
+ ABT_EVAL="eval"
+fi
if [ "${ABT_RUN_REGTEST}" = "" ]; then
ABT_RUN_REGTEST="cd valgrind && perl tests/vg_regtest --all"
fi
@@ -187,7 +190,7 @@
# Gather up the diffs (at most the first 100 lines for each one) into a
# single file.
MAX_LINES=100
-diff_files=`find . -name '*.diff'`
+diff_files=`find . -name '*.diff*' | sort`
if [ z"$diff_files" = z ] ; then
echo "Congratulations, all tests passed!" >> diffs
else
|
|
From: <sv...@va...> - 2009-05-19 04:02:00
|
Author: njn Date: 2009-05-19 05:01:52 +0100 (Tue, 19 May 2009) New Revision: 9931 Log: Sync georgia-tech-* with trunk. Added: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.conf branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.sendmail branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.conf branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.sendmail Removed: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.conf branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.sendmail Added: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.conf =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.conf (rev 0) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.conf 2009-05-19 04:01:52 UTC (rev 9931) @@ -0,0 +1,26 @@ + +# Specifics for the Georgia Tech Cellbuzz cluster (Fedora Core release 6 on the host +# and IBM BladeCenter QS20 target). +# See also http://wiki.cc.gatech.edu/cellbuzz/index.php/Main_Page. +# +# Note: please keep in mind that the default shell (a.o. used by cron) on the +# Georgia Tech Cellbuzz cluster is tcsh. Any shell code must be suitable for +# sh, bash and tcsh. As an example, tcsh understands ">&" but not "2>&1". + +ABT_DETAILS="cellbuzz, ppc64, Fedora 9, cross" +CROSS_PATH="/opt/cell/toolchain/bin" +ABT_CONFIGURE_OPTIONS="--build=x86_64-linux-gnu --host=powerpc64-unknown-linux --target=powerpc64-unknown-linux STRIP=${CROSS_PATH}/ppu-strip CC=${CROSS_PATH}/ppu-gcc CPP='${CROSS_PATH}/ppu-gcc -E' CXX=${CROSS_PATH}/ppu-g++ RANLIB=${CROSS_PATH}/ppu-ranlib CCAS=${CROSS_PATH}/ppu-gcc" +ABT_RUN_REGTEST="cellbuzz_run_regtest" +ABT_JOBS=3 + +cellbuzz_run_regtest() { + cd valgrind || return $? + rm -f regtest-output.txt + jobid=`echo "{ cd $PWD && perl tests/vg_regtest --all; } >& $PWD/regtest-output.txt" | qsub` + echo "Job ID = ${jobid}" + while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ] + do + sleep 10 + done + cat regtest-output.txt +} Added: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.sendmail =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.sendmail (rev 0) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.sendmail 2009-05-19 04:01:52 UTC (rev 9931) @@ -0,0 +1,15 @@ +#!/bin/sh + +# use: georgia-tech-cellbuzz.sendmail subject file-to-mail [file-to-attach] +# Don't forget to set the variables 'from' and 'realname' in ~/.muttrc ! + +sender="bar...@gm..." +recipients="val...@li..." +#recipients="bar...@gm..." +if [ $# -ge 3 ]; then + gzip -9 <"$3" >"$3.gz" + mutt -s "$1" -a "$3.gz" ${recipients} < "$2" + rm -f "$3.gz" +else + mutt -s "$1" ${recipients} < "$2" +fi Property changes on: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-cross.sendmail ___________________________________________________________________ Name: svn:executable + * Added: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.conf =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.conf (rev 0) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.conf 2009-05-19 04:01:52 UTC (rev 9931) @@ -0,0 +1,24 @@ + +# Specifics for the Georgia Tech Cellbuzz cluster. The nodes in the cellq30 +# queue are running the SDK version 3.0 (Fedora Core release 7). +# See also http://wiki.cc.gatech.edu/cellbuzz/index.php/Main_Page. +# +# Note: please keep in mind that the default shell (a.o. used by cron) on the +# Georgia Tech Cellbuzz cluster is tcsh. Any shell code must be suitable for +# sh, bash and tcsh. As an example, tcsh understands ">&" but not "2>&1". + +ABT_DETAILS="cellbuzz, ppc64, Fedora 7, native" +ABT_EVAL="cellbuzz_eval" +ABT_JOBS=2 + +cellbuzz_eval() { + rm -f cmd-output.txt done + jobid=`echo "{ cd $PWD && eval \"$*\"; } >& $PWD/cmd-output.txt" \ + | qsub -m n -q sdk3.0` + echo "Job ID = ${jobid}" + while [ `qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ] + do + sleep 10 + done + cat cmd-output.txt +} Added: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.sendmail =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.sendmail (rev 0) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.sendmail 2009-05-19 04:01:52 UTC (rev 9931) @@ -0,0 +1,15 @@ +#!/bin/sh + +# use: georgia-tech-cellbuzz.sendmail subject file-to-mail [file-to-attach] +# Don't forget to set the variables 'from' and 'realname' in ~/.muttrc ! + +sender="bar...@gm..." +recipients="val...@li..." +#recipients="bar...@gm..." +if [ $# -ge 3 ]; then + gzip -9 <"$3" >"$3.gz" + mutt -s "$1" -a "$3.gz" ${recipients} < "$2" + rm -f "$3.gz" +else + mutt -s "$1" ${recipients} < "$2" +fi Property changes on: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz-native.sendmail ___________________________________________________________________ Name: svn:executable + * Deleted: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.conf =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.conf 2009-05-19 03:19:56 UTC (rev 9930) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.conf 2009-05-19 04:01:52 UTC (rev 9931) @@ -1,26 +0,0 @@ - -# Specifics for the Georgia Tech Cellbuzz cluster (Fedora Core release 6 on the host -# and IBM BladeCenter QS20 target). -# See also http://wiki.cc.gatech.edu/cellbuzz/index.php/Main_Page. -# -# Note: please keep in mind that the default shell (a.o. used by cron) on the -# Georgia Tech Cellbuzz cluster is tcsh. Any shell code must be suitable for -# sh, bash and tcsh. As an example, tcsh understands ">&" but not "2>&1". - -ABT_DETAILS="IBM BladeCenter QS20" -ABT_CONFIGURE_OPTIONS="--build=x86_64-linux-gnu --host=powerpc64-unknown-linux --target=powerpc64-unknown-linux STRIP=/opt/cell/bin/ppu-strip CC=/opt/cell/bin/ppu-gcc CPP='/opt/cell/bin/ppu-gcc -E' CXX=/opt/cell/bin/ppu-g++ RANLIB=/opt/cell/bin/ppu-ranlib CCAS=/opt/cell/bin/ppu-gcc" -ABT_RUN_REGTEST="cellbuzz_run_regtest" -ABT_JOBS=3 - -cellbuzz_run_regtest() { - cd valgrind || return $? - rm -f regtest-output.txt - jobid=`echo "{ cd $PWD && perl tests/vg_regtest --all; } >& $PWD/regtest-output.txt" \ - | /usr/pbs/bin/qsub` - echo "Job ID = ${jobid}" - while [ `/usr/pbs/bin/qstat "${jobid}" 2>/dev/null | wc --lines` -gt 0 ] - do - sleep 10 - done - cat regtest-output.txt -} Deleted: branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.sendmail =================================================================== --- branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.sendmail 2009-05-19 03:19:56 UTC (rev 9930) +++ branches/DARWIN/nightly/conf/georgia-tech-cellbuzz.sendmail 2009-05-19 04:01:52 UTC (rev 9931) @@ -1,4 +0,0 @@ - -# use: georgia-tech-cellbuzz.sendmail subject file-to-mail - -/bin/mailx -s "$1" val...@li... -- -R bar...@gm... -r bar...@gm... < $2 |
|
From: <sv...@va...> - 2009-05-19 03:20:07
|
Author: njn
Date: 2009-05-19 04:19:56 +0100 (Tue, 19 May 2009)
New Revision: 9930
Log:
Re-enable --workaround-gcc296-bugs on Darwin; there doesn't seem much point
in disabling it.
Modified:
branches/DARWIN/memcheck/mc_errors.c
branches/DARWIN/memcheck/mc_main.c
Modified: branches/DARWIN/memcheck/mc_errors.c
===================================================================
--- branches/DARWIN/memcheck/mc_errors.c 2009-05-19 02:10:26 UTC (rev 9929)
+++ branches/DARWIN/memcheck/mc_errors.c 2009-05-19 03:19:56 UTC (rev 9930)
@@ -268,9 +268,7 @@
if (maybe_gcc) {
VG_(message)(Vg_UserMsg,
"%sAddress 0x%llx is just below the stack ptr. "
-#if !defined(VGO_darwin)
"To suppress, use: --workaround-gcc296-bugs=yes"
-#endif
"%s",
xpre, (ULong)a, xpost
);
@@ -681,12 +679,10 @@
just_below_esp = is_just_below_ESP( VG_(get_SP)(tid), a );
-#if !defined(VGO_darwin)
/* If this is caused by an access immediately below %ESP, and the
user asks nicely, we just ignore it. */
if (MC_(clo_workaround_gcc296_bugs) && just_below_esp)
return;
-#endif
extra.Err.Addr.isWrite = isWrite;
extra.Err.Addr.szB = szB;
Modified: branches/DARWIN/memcheck/mc_main.c
===================================================================
--- branches/DARWIN/memcheck/mc_main.c 2009-05-19 02:10:26 UTC (rev 9929)
+++ branches/DARWIN/memcheck/mc_main.c 2009-05-19 03:19:56 UTC (rev 9930)
@@ -4658,9 +4658,7 @@
LeakCheckMode MC_(clo_leak_check) = LC_Summary;
VgRes MC_(clo_leak_resolution) = Vg_LowRes;
Bool MC_(clo_show_reachable) = False;
-#if !defined(VGO_darwin)
Bool MC_(clo_workaround_gcc296_bugs) = False;
-#endif
Int MC_(clo_malloc_fill) = -1;
Int MC_(clo_free_fill) = -1;
Int MC_(clo_mc_level) = 2;
@@ -4713,10 +4711,8 @@
if VG_BOOL_CLO(arg, "--partial-loads-ok", MC_(clo_partial_loads_ok)) {}
else if VG_BOOL_CLO(arg, "--show-reachable", MC_(clo_show_reachable)) {}
-#if !defined(VGO_darwin)
else if VG_BOOL_CLO(arg, "--workaround-gcc296-bugs",
MC_(clo_workaround_gcc296_bugs)) {}
-#endif
else if VG_BINT_CLO(arg, "--freelist-vol", MC_(clo_freelist_vol),
0, 10*1000*1000*1000LL) {}
@@ -4784,9 +4780,7 @@
" --track-origins=no|yes show origins of undefined values? [no]\n"
" --partial-loads-ok=no|yes too hard to explain here; see manual [no]\n"
" --freelist-vol=<number> volume of freed blocks queue [10000000]\n"
-#if !defined(VGO_darwin)
" --workaround-gcc296-bugs=no|yes self explanatory [no]\n"
-#endif
" --ignore-ranges=0xPP-0xQQ[,0xRR-0xSS] assume given addresses are OK\n"
" --malloc-fill=<hexnumber> fill malloc'd areas with given value\n"
" --free-fill=<hexnumber> fill free'd areas with given value\n"
|