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
(12) |
2
(11) |
3
(8) |
|
4
(9) |
5
(10) |
6
(18) |
7
(8) |
8
(12) |
9
(23) |
10
(14) |
|
11
(15) |
12
(31) |
13
(45) |
14
(28) |
15
(20) |
16
(16) |
17
(9) |
|
18
(18) |
19
(26) |
20
(49) |
21
(14) |
22
(18) |
23
(24) |
24
(28) |
|
25
(39) |
26
(17) |
27
(27) |
28
(27) |
29
(14) |
30
(44) |
|
|
From: Julian S. <js...@ac...> - 2005-09-25 08:57:38
|
> I've been looking at getting self-hosting working. There's a new > configure flag --enable-inner which you should use with an "inner" > Valgrind that you want to run under an "outer" Valgrind. Great stuff. > You also need to use installed versions, ie. in-place builds won't work. > Not sure why, maybe due to a VALGRIND_LIB collision. Yes ... I'm pretty sure you need to rename that one too. Apart from that I don't see why in-place builds wouldn't work. > But it's a start. Another odd thing is that if you use -d with both inner > and outer, the inner one's output isn't produced. This is due to ML_(fd_allowed) in the outer. It sees the sys_writes done by the inner on its own logfile descriptor and causes them to fail, thus making the output disappear. If you change ML_(fd_allowed) to always return True in the outer, then it works as one would expect. Problem is I can't see a clean way to fix this. ----- With r4757 in place I am able to run some stuff self-hosted: * date on none on none * date on none on cachegrind * xedit on none on none * xedit on none on cachegrind (takes ages :-) * date on memcheck on cachegrind I can't run anything on * on memcheck yet. (Well, I can, but I get flooded with errors, and later it dies: the inner client crashes, the inner exits, and the outer's leak checker bombs). So even as it stands we can use cachegrind to profile V. The first big surprise from that, running date on none on cachegrind, is that the biggest expense is in VG_(memcpy). (!) I have no idea why memcpy is so popular, but anyway: I added an extra loop to copy words rather than bytes when possible. This reduces the startup cost (of date on none) from 974 MI to 824 MI. When timed natively that's a change from 0.959s to 0.921s (3 runs of each). Apart from that cachegrind shows most of the rest of the time either in generated code or in vex, largely the register allocator and iropt. Sigh. J |
|
From: <sv...@va...> - 2005-09-25 08:16:42
|
Author: sewardj
Date: 2005-09-25 09:16:30 +0100 (Sun, 25 Sep 2005)
New Revision: 4757
Log:
Self-hosting hacks:
- prefix -d messages with ">"
- mess with initial memory layout to try and avoid inner/outer conflicts
- allocate a 1M non-fault-extended stack for the inner client
Modified:
branches/ASPACEM/coregrind/m_aspacemgr/aspacemgr.c
branches/ASPACEM/coregrind/m_debuglog.c
branches/ASPACEM/coregrind/m_main.c
Modified: branches/ASPACEM/coregrind/m_aspacemgr/aspacemgr.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_aspacemgr/aspacemgr.c 2005-09-25 05:11:3=
1 UTC (rev 4756)
+++ branches/ASPACEM/coregrind/m_aspacemgr/aspacemgr.c 2005-09-25 08:16:3=
0 UTC (rev 4757)
@@ -1447,6 +1447,9 @@
=20
aspacem_cStart =3D aspacem_minAddr; // 64M
aspacem_vStart =3D VG_PGROUNDUP((aspacem_minAddr + aspacem_maxAddr + =
1) / 2);
+# ifdef ENABLE_INNER
+ aspacem_vStart -=3D 0x10000000; // 256M
+# endif
=20
suggested_clstack_top =3D aspacem_maxAddr - 16*1024*1024ULL
+ VKI_PAGE_SIZE;
Modified: branches/ASPACEM/coregrind/m_debuglog.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_debuglog.c 2005-09-25 05:11:31 UTC (rev =
4756)
+++ branches/ASPACEM/coregrind/m_debuglog.c 2005-09-25 08:16:30 UTC (rev =
4757)
@@ -600,6 +600,9 @@
buf.n =3D 0;
buf.buf[0] =3D 0;
pid =3D local_sys_getpid();
+# ifdef ENABLE_INNER
+ (void)myvprintf_str ( add_to_buf, &buf, 0, 1, ">", False );
+# endif
(void)myvprintf_str ( add_to_buf, &buf, 0, 2, "--", False );
(void)myvprintf_int64 ( add_to_buf, &buf, 0, 10, 1, (ULong)pid );
(void)myvprintf_str ( add_to_buf, &buf, 0, 1, ":", False );
Modified: branches/ASPACEM/coregrind/m_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_main.c 2005-09-25 05:11:31 UTC (rev 4756=
)
+++ branches/ASPACEM/coregrind/m_main.c 2005-09-25 08:16:30 UTC (rev 4757=
)
@@ -512,6 +512,7 @@
SizeT resvn_size =3D clstack_max_size - anon_size;
Addr anon_start =3D clstack_start;
Addr resvn_start =3D anon_start - resvn_size;
+ SizeT inner_HACK =3D 0;
=20
vg_assert(VG_IS_PAGE_ALIGNED(anon_size));
vg_assert(VG_IS_PAGE_ALIGNED(resvn_size));
@@ -519,6 +520,10 @@
vg_assert(VG_IS_PAGE_ALIGNED(resvn_start));
vg_assert(resvn_start =3D=3D clstack_end + 1 - clstack_max_size);
=20
+# ifdef ENABLE_INNER
+ inner_HACK =3D 1024*1024; // create 1M non-fault-extending stack
+# endif
+
if (0)
VG_(printf)("%p 0x%x %p 0x%x\n",=20
resvn_start, resvn_size, anon_start, anon_size);
@@ -527,15 +532,15 @@
segment. Together these constitute a growdown stack. */
Bool ok =3D VG_(am_create_reservation)(
resvn_start,
- resvn_size,
+ resvn_size -inner_HACK,
SmUpper,=20
- anon_size
+ anon_size +inner_HACK
);
vg_assert(ok);
/* allocate a stack - mmap enough space for the stack */
res =3D VG_(am_mmap_anon_fixed_client)(
- anon_start,
- anon_size,
+ anon_start -inner_HACK,
+ anon_size +inner_HACK,
VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC
);
vg_assert(!res.isError);=20
|
|
From: <js...@ac...> - 2005-09-25 05:20:59
|
Nightly build on phoenix ( SuSE 9.1 ) started at 2005-09-25 03:30:00 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 186 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 185 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Sep 25 03:55:55 2005 --- new.short Sun Sep 25 04:21:05 2005 *************** *** 10,12 **** ! == 185 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) --- 10,12 ---- ! == 186 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) |
|
From: Nicholas N. <nj...@cs...> - 2005-09-25 05:18:45
|
On Sat, 24 Sep 2005, Nicholas Nethercote wrote: > I've been looking at getting self-hosting working. > [...] > Another odd thing is that if you use -d with both inner > and outer, the inner one's output isn't produced. But if I change m_debuginfo.c:local_sys_write_stderr() in the inner Valgrind to use 1 (stdout) as the fd instead of 2 (stderr) the output is produced (and sent to stdout, of course). So there must be some kind of conflict in the way the two Valgrinds use stderr for debugLog printing. (And it's not, for example, caused by miscounting the -d options on the command line.) Interestingly, the other printing (eg. -v output) works without problems, and it goes to stderr as well. So something weird is happening. Nick |
|
From: <sv...@va...> - 2005-09-25 05:11:33
|
Author: njn
Date: 2005-09-25 06:11:31 +0100 (Sun, 25 Sep 2005)
New Revision: 4756
Log:
Formatting changes only.
Modified:
branches/ASPACEM/coregrind/m_main.c
Modified: branches/ASPACEM/coregrind/m_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_main.c 2005-09-25 04:50:13 UTC (rev 4755=
)
+++ branches/ASPACEM/coregrind/m_main.c 2005-09-25 05:11:31 UTC (rev 4756=
)
@@ -1014,10 +1014,10 @@
} else if (VG_CLO_STREQ(str, "--help-debug")) {
*need_help =3D 2;
=20
- // The tool has already been determined, but we need to know it he=
re.
+ // The tool has already been determined, but we need to know the n=
ame
+ // here.
} else if (VG_CLO_STREQN(7, str, "--tool=3D")) {
*tool =3D &str[7];
- =20
}
}
}
@@ -2061,7 +2061,7 @@
=20
//--------------------------------------------------------------
// Load client executable, finding in $PATH if necessary
- // p: pre_process_cmd_line_options() [for 'exec', 'need_help']
+ // p: get_helprequest_and_toolname() [for 'exec', 'need_help']
// p: layout_remaining_space [so there's space]
//--------------------------------------------------------------
if (!need_help) {
@@ -2076,7 +2076,7 @@
//--------------------------------------------------------------
// Set up client's environment
// p: set-libdir [for VG_(libdir)]
- // p: pre_process_cmd_line_options [for toolname]
+ // p: get_helprequest_and_toolname [for toolname]
//--------------------------------------------------------------
if (!need_help) {
VG_(debugLog)(1, "main", "Setup client env\n");
@@ -2405,7 +2405,7 @@
// vg_dummy_profile.c's?
//
// XXX: want this as early as possible. Looking for --profile
- // in pre_process_cmd_line_options() could get it earlier.
+ // in get_helprequest_and_toolname() could get it earlier.
//--------------------------------------------------------------
if (VG_(clo_profile))
VG_(init_profiling)();
|
|
From: <sv...@va...> - 2005-09-25 04:50:16
|
Author: njn
Date: 2005-09-25 05:50:13 +0100 (Sun, 25 Sep 2005)
New Revision: 4755
Log:
Remove now-unneeded line.
Modified:
branches/ASPACEM/coregrind/m_main.c
Modified: branches/ASPACEM/coregrind/m_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_main.c 2005-09-25 01:24:37 UTC (rev 4754=
)
+++ branches/ASPACEM/coregrind/m_main.c 2005-09-25 04:50:13 UTC (rev 4755=
)
@@ -1072,7 +1072,6 @@
=20
/* Ignore these options - they've already been handled */
if (VG_CLO_STREQN( 7, arg, "--tool=3D")) goto skip_ar=
g;
- if (VG_CLO_STREQN( 7, arg, "--exec=3D")) goto skip_ar=
g;
if (VG_CLO_STREQN(20, arg, "--command-line-only=3D")) goto skip_ar=
g;
=20
if ( VG_CLO_STREQ(arg, "--")) goto skip_arg;
|
|
From: Tom H. <to...@co...> - 2005-09-25 02:41:56
|
Nightly build on dunsmere ( athlon, Fedora Core 4 ) started at 2005-09-25 03:30:05 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 188 tests, 5 stderr failures, 0 stdout failures ================= memcheck/tests/leak-tree (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 187 tests, 5 stderr failures, 0 stdout failures ================= memcheck/tests/leak-tree (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Sep 25 03:35:59 2005 --- new.short Sun Sep 25 03:41:51 2005 *************** *** 8,10 **** ! == 187 tests, 5 stderr failures, 0 stdout failures ================= memcheck/tests/leak-tree (stderr) --- 8,10 ---- ! == 188 tests, 5 stderr failures, 0 stdout failures ================= memcheck/tests/leak-tree (stderr) |
|
From: Tom H. <th...@cy...> - 2005-09-25 02:28:21
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2005-09-25 03:15:03 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 187 tests, 14 stderr failures, 0 stdout failures ================= memcheck/tests/addressable (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 186 tests, 14 stderr failures, 1 stdout failure ================= memcheck/tests/addressable (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) none/tests/x86/yield (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Sep 25 03:21:47 2005 --- new.short Sun Sep 25 03:28:12 2005 *************** *** 8,10 **** ! == 186 tests, 14 stderr failures, 1 stdout failure ================= memcheck/tests/addressable (stderr) --- 8,10 ---- ! == 187 tests, 14 stderr failures, 0 stdout failures ================= memcheck/tests/addressable (stderr) *************** *** 23,25 **** none/tests/x86/int (stderr) - none/tests/x86/yield (stdout) --- 23,24 ---- |
|
From: Tom H. <th...@cy...> - 2005-09-25 02:25:06
|
Nightly build on ginetta ( i686, Red Hat 8.0 ) started at 2005-09-25 03:10:07 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 187 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 186 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Sep 25 03:18:41 2005 --- new.short Sun Sep 25 03:25:00 2005 *************** *** 8,10 **** ! == 186 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) --- 8,10 ---- ! == 187 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) |
|
From: Tom H. <th...@cy...> - 2005-09-25 02:22:34
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2005-09-25 03:00:02 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 165 tests, 7 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_fcntl (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 164 tests, 7 stderr failures, 1 stdout failure ================= memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_fcntl (stderr) none/tests/tls (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Sep 25 03:09:02 2005 --- new.short Sun Sep 25 03:22:26 2005 *************** *** 8,10 **** ! == 164 tests, 7 stderr failures, 1 stdout failure ================= memcheck/tests/sigprocmask (stderr) --- 8,10 ---- ! == 165 tests, 7 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) *************** *** 16,18 **** none/tests/fdleak_fcntl (stderr) - none/tests/tls (stdout) --- 16,17 ---- |
|
From: Tom H. <th...@cy...> - 2005-09-25 02:20:59
|
Nightly build on dellow ( x86_64, Fedora Core 4 ) started at 2005-09-25 03:10:07 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 165 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 164 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Sep 25 03:16:46 2005 --- new.short Sun Sep 25 03:20:50 2005 *************** *** 8,10 **** ! == 164 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) --- 8,10 ---- ! == 165 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) |
|
From: Tom H. <th...@cy...> - 2005-09-25 02:18:44
|
Nightly build on aston ( x86_64, Fedora Core 3 ) started at 2005-09-25 03:05:10 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 165 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 164 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Sep 25 03:13:38 2005 --- new.short Sun Sep 25 03:18:36 2005 *************** *** 8,10 **** ! == 164 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) --- 8,10 ---- ! == 165 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) |
|
From: Nicholas N. <nj...@cs...> - 2005-09-25 01:25:00
|
Hi, I've been looking at getting self-hosting working. There's a new configure flag --enable-inner which you should use with an "inner" Valgrind that you want to run under an "outer" Valgrind. It changes the load address (avoiding collisions), turns off a failing Vex sanity check, and renames the VALGRIND_LAUNCHER variable (again avoiding collisions). You should use --trace-children=yes for the outer Valgrind so as to trace into stage 2 of the inner Valgrind. You also need to use installed versions, ie. in-place builds won't work. Not sure why, maybe due to a VALGRIND_LIB collision. Depending on which combination of tools you use, it dies in various ways. But it's a start. Another odd thing is that if you use -d with both inner and outer, the inner one's output isn't produced. Nick |
|
From: <sv...@va...> - 2005-09-25 01:24:46
|
Author: njn
Date: 2005-09-25 02:24:37 +0100 (Sun, 25 Sep 2005)
New Revision: 4754
Log:
Start adding support for self-hosting.
Added:
branches/ASPACEM/coregrind/pub_core_basics_asm.h
Modified:
branches/ASPACEM/configure.in
branches/ASPACEM/coregrind/Makefile.am
branches/ASPACEM/coregrind/m_cpuid.S
branches/ASPACEM/coregrind/m_dispatch/dispatch-amd64.S
branches/ASPACEM/coregrind/m_dispatch/dispatch-ppc32.S
branches/ASPACEM/coregrind/m_dispatch/dispatch-x86.S
branches/ASPACEM/coregrind/m_libcproc.c
branches/ASPACEM/coregrind/m_syswrap/syscall-amd64-linux.S
branches/ASPACEM/coregrind/m_syswrap/syscall-ppc32-linux.S
branches/ASPACEM/coregrind/m_syswrap/syscall-x86-linux.S
branches/ASPACEM/coregrind/m_trampoline.S
branches/ASPACEM/coregrind/pub_core_basics.h
branches/ASPACEM/coregrind/pub_core_libcproc.h
branches/ASPACEM/include/pub_tool_basics_asm.h
Modified: branches/ASPACEM/configure.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/configure.in 2005-09-24 22:01:24 UTC (rev 4753)
+++ branches/ASPACEM/configure.in 2005-09-25 01:24:37 UTC (rev 4754)
@@ -120,7 +120,8 @@
i?86)=20
AC_MSG_RESULT([ok (${host_cpu})])
VG_ARCH=3D"x86"
- VALT_LOAD_ADDRESS=3D"0xb0000000"
+ valt_load_address_normal=3D"0xb0000000"
+ valt_load_address_inner=3D"0xa0000000"
ARCH_CORE_AM_CFLAGS=3D"@FLAG_M32@ @PREFERRED_STACK_BOUNDARY@"
ARCH_TOOL_AM_CFLAGS=3D"@FLAG_M32@ @PREFERRED_STACK_BOUNDARY@"
ARCH_CORE_AM_CCASFLAGS=3D"@FLAG_M32@"
@@ -132,7 +133,8 @@
# XXX: relocations under amd64's "small model" are 32-bit signed
# quantities; therefore going above 0x7fffffff doesn't work... t=
his is
# a problem.
- VALT_LOAD_ADDRESS=3D"0x70000000"
+ valt_load_address_normal=3D"0x70000000"
+ valt_load_address_inner=3D"0x60000000"
ARCH_CORE_AM_CFLAGS=3D"-m64 -fomit-frame-pointer @PREFERRED_STAC=
K_BOUNDARY@"=20
# XXX: need to use -fpic, otherwise when linking tools I get thi=
s error
# message:
@@ -147,7 +149,8 @@
powerpc*)
AC_MSG_RESULT([ok (${host_cpu})])
VG_ARCH=3D"ppc32"
- VALT_LOAD_ADDRESS=3D"0x70000000"
+ valt_load_address_normal=3D"0x70000000"
+ valt_load_address_inner=3D"0x60000000"
ARCH_CORE_AM_CFLAGS=3D""
ARCH_TOOL_AM_CFLAGS=3D"-fpic"
ARCH_CORE_AM_CCASFLAGS=3D"-Wa,-maltivec"
@@ -159,6 +162,19 @@
;;
esac
=20
+# Check if this should be built as an inner Valgrind, to be run within
+# another Valgrind. Choose the load address accordingly.
+AC_CACHE_CHECK([enable use as an inner Valgrind], vg_cv_inner,
+ [AC_ARG_ENABLE(inner, [ --enable-inner enables self-ho=
sting],
+ [vg_cv_inner=3D$enableval],
+ [vg_cv_inner=3Dno])])
+if test "$vg_cv_inner" =3D yes; then
+ AC_DEFINE([ENABLE_INNER], 1, [configured to run as an inner Valgrind=
])
+ VALT_LOAD_ADDRESS=3D$valt_load_address_inner
+else
+ VALT_LOAD_ADDRESS=3D$valt_load_address_normal
+fi
+
AC_MSG_CHECKING([for a supported OS])
AC_SUBST(VG_OS)
AC_SUBST(VG_OS_ALL)
Modified: branches/ASPACEM/coregrind/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/Makefile.am 2005-09-24 22:01:24 UTC (rev 4=
753)
+++ branches/ASPACEM/coregrind/Makefile.am 2005-09-25 01:24:37 UTC (rev 4=
754)
@@ -28,6 +28,7 @@
coregrind.h \
pub_core_aspacemgr.h \
pub_core_basics.h \
+ pub_core_basics_asm.h \
pub_core_clientstate.h \
pub_core_commandline.h \
pub_core_cpuid.h \
Modified: branches/ASPACEM/coregrind/m_cpuid.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_cpuid.S 2005-09-24 22:01:24 UTC (rev 475=
3)
+++ branches/ASPACEM/coregrind/m_cpuid.S 2005-09-25 01:24:37 UTC (rev 475=
4)
@@ -28,7 +28,7 @@
The GNU General Public License is contained in the file COPYING.
*/
=20
-#include "pub_tool_basics_asm.h"
+#include "pub_core_basics_asm.h"
=20
/*
Bool VG_(has_cpuid)(void)
Modified: branches/ASPACEM/coregrind/m_dispatch/dispatch-amd64.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_dispatch/dispatch-amd64.S 2005-09-24 22:=
01:24 UTC (rev 4753)
+++ branches/ASPACEM/coregrind/m_dispatch/dispatch-amd64.S 2005-09-25 01:=
24:37 UTC (rev 4754)
@@ -29,7 +29,7 @@
The GNU General Public License is contained in the file COPYING.
*/
=20
-#include "pub_tool_basics_asm.h"
+#include "pub_core_basics_asm.h"
#include "pub_core_dispatch_asm.h"
#include "pub_core_transtab_asm.h"
#include "libvex_guest_offsets.h" /* for OFFSET_amd64_RIP */
Modified: branches/ASPACEM/coregrind/m_dispatch/dispatch-ppc32.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_dispatch/dispatch-ppc32.S 2005-09-24 22:=
01:24 UTC (rev 4753)
+++ branches/ASPACEM/coregrind/m_dispatch/dispatch-ppc32.S 2005-09-25 01:=
24:37 UTC (rev 4754)
@@ -28,7 +28,7 @@
The GNU General Public License is contained in the file COPYING.
*/
=20
-#include "pub_tool_basics_asm.h"
+#include "pub_core_basics_asm.h"
#include "pub_core_dispatch_asm.h"
#include "pub_core_transtab_asm.h"
#include "libvex_guest_offsets.h" /* for OFFSET_ppc32_CIA */
Modified: branches/ASPACEM/coregrind/m_dispatch/dispatch-x86.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_dispatch/dispatch-x86.S 2005-09-24 22:01=
:24 UTC (rev 4753)
+++ branches/ASPACEM/coregrind/m_dispatch/dispatch-x86.S 2005-09-25 01:24=
:37 UTC (rev 4754)
@@ -29,7 +29,7 @@
The GNU General Public License is contained in the file COPYING.
*/
=20
-#include "pub_tool_basics_asm.h"
+#include "pub_core_basics_asm.h"
#include "pub_core_dispatch_asm.h"
#include "pub_core_transtab_asm.h"
#include "libvex_guest_offsets.h" /* for OFFSET_x86_EIP */
@@ -133,6 +133,8 @@
/* We're leaving. Check that nobody messed with
%mxcsr or %fpucw. We can't mess with %eax here as it
holds the tentative return value, but any other is OK. */
+/* This fails for self-hosting, so skip in that case */
+#ifndef ENABLE_INNER
pushl $0
fstcw (%esp)
cmpl $0x027F, (%esp)
@@ -140,6 +142,7 @@
jnz invariant_violation
cmpl $0, VG_(have_mxcsr_x86)
jz L2
+#endif
pushl $0
stmxcsr (%esp)
andl $0xFFFFFFC0, (%esp) /* mask out status flags */
Modified: branches/ASPACEM/coregrind/m_libcproc.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_libcproc.c 2005-09-24 22:01:24 UTC (rev =
4753)
+++ branches/ASPACEM/coregrind/m_libcproc.c 2005-09-25 01:24:37 UTC (rev =
4754)
@@ -70,7 +70,7 @@
Char **to =3D NULL;
Int len =3D VG_(strlen)(varname);
=20
- for(from =3D to =3D env; from && *from; from++) {
+ for (from =3D to =3D env; from && *from; from++) {
if (!(VG_(strncmp)(varname, *from, len) =3D=3D 0 && (*from)[len] =3D=
=3D '=3D')) {
*to =3D *from;
to++;
@@ -90,7 +90,7 @@
=20
VG_(sprintf)(valstr, "%s=3D%s", varname, val);
=20
- for(cpp =3D env; cpp && *cpp; cpp++) {
+ for (cpp =3D env; cpp && *cpp; cpp++) {
if (VG_(strncmp)(varname, *cpp, len) =3D=3D 0 && (*cpp)[len] =3D=3D=
'=3D') {
*cpp =3D valstr;
return oldenv;
@@ -108,7 +108,7 @@
Int envlen =3D (cpp-env) + 2;
Char **newenv =3D VG_(arena_malloc)(VG_AR_CORE, envlen * sizeof(Ch=
ar **));
=20
- for(cpp =3D newenv; *env; )
+ for (cpp =3D newenv; *env; )
*cpp++ =3D *env++;
*cpp++ =3D valstr;
*cpp++ =3D NULL;
Modified: branches/ASPACEM/coregrind/m_syswrap/syscall-amd64-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_syswrap/syscall-amd64-linux.S 2005-09-24=
22:01:24 UTC (rev 4753)
+++ branches/ASPACEM/coregrind/m_syswrap/syscall-amd64-linux.S 2005-09-25=
01:24:37 UTC (rev 4754)
@@ -28,7 +28,7 @@
The GNU General Public License is contained in the file COPYING.
*/
=20
-#include "pub_tool_basics_asm.h"
+#include "pub_core_basics_asm.h"
#include "vki_unistd.h"
#include "libvex_guest_offsets.h"
=20
Modified: branches/ASPACEM/coregrind/m_syswrap/syscall-ppc32-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_syswrap/syscall-ppc32-linux.S 2005-09-24=
22:01:24 UTC (rev 4753)
+++ branches/ASPACEM/coregrind/m_syswrap/syscall-ppc32-linux.S 2005-09-25=
01:24:37 UTC (rev 4754)
@@ -27,7 +27,7 @@
The GNU General Public License is contained in the file COPYING.
*/
=20
-#include "pub_tool_basics_asm.h"
+#include "pub_core_basics_asm.h"
#include "vki_unistd.h"
#include "libvex_guest_offsets.h"
=09
Modified: branches/ASPACEM/coregrind/m_syswrap/syscall-x86-linux.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_syswrap/syscall-x86-linux.S 2005-09-24 2=
2:01:24 UTC (rev 4753)
+++ branches/ASPACEM/coregrind/m_syswrap/syscall-x86-linux.S 2005-09-25 0=
1:24:37 UTC (rev 4754)
@@ -28,7 +28,7 @@
The GNU General Public License is contained in the file COPYING.
*/
=20
-#include "pub_tool_basics_asm.h"
+#include "pub_core_basics_asm.h"
#include "vki_unistd.h"
#include "libvex_guest_offsets.h"
=09
Modified: branches/ASPACEM/coregrind/m_trampoline.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/m_trampoline.S 2005-09-24 22:01:24 UTC (re=
v 4753)
+++ branches/ASPACEM/coregrind/m_trampoline.S 2005-09-25 01:24:37 UTC (re=
v 4754)
@@ -28,7 +28,7 @@
The GNU General Public License is contained in the file COPYING.
*/
=20
-#include "pub_tool_basics_asm.h"
+#include "pub_core_basics_asm.h"
#include "vki_unistd.h"
=20
/* ------------------ SIMULATED CPU HELPERS ------------------ */
Modified: branches/ASPACEM/coregrind/pub_core_basics.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/pub_core_basics.h 2005-09-24 22:01:24 UTC =
(rev 4753)
+++ branches/ASPACEM/coregrind/pub_core_basics.h 2005-09-25 01:24:37 UTC =
(rev 4754)
@@ -37,6 +37,7 @@
// everywhere.
//--------------------------------------------------------------------
=20
+#include "pub_core_basics_asm.h"
#include "pub_tool_basics.h"
=20
/* ---------------------------------------------------------------------
@@ -61,9 +62,6 @@
// For jmp_buf
#include <setjmp.h>
=20
-// Autoconf-generated settings
-#include "config.h"
-
#endif // __PUB_CORE_BASICS_H
=20
/*--------------------------------------------------------------------*/
Added: branches/ASPACEM/coregrind/pub_core_basics_asm.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/pub_core_basics_asm.h 2005-09-24 22:01:24 =
UTC (rev 4753)
+++ branches/ASPACEM/coregrind/pub_core_basics_asm.h 2005-09-25 01:24:37 =
UTC (rev 4754)
@@ -0,0 +1,52 @@
+
+/*--------------------------------------------------------------------*/
+/*--- Header imported directly by every core asm file, and ---*/
+/*--- (via pub_core_basics.h) by every core C file. ---*/
+/*--- pub_core_basics_asm.h ---*/
+/*--------------------------------------------------------------------*/
+
+/*
+ This file is part of Valgrind, a dynamic binary instrumentation
+ framework.
+
+ Copyright (C) 2000-2005 Julian Seward=20
+ 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.
+*/
+
+#ifndef __PUB_CORE_BASICS_ASM_H
+#define __PUB_CORE_BASICS_ASM_H
+
+//--------------------------------------------------------------------
+// PURPOSE: This header should be imported by every single asm and=20
+// (indirectly) by every C file in the core. It contains really basic
+// things needed everywhere.
+//--------------------------------------------------------------------
+
+#include "pub_tool_basics_asm.h"
+
+// Autoconf-generated settings
+#include "config.h"
+
+#endif /* __PUB_CORE_BASICS_ASM_H */
+
+/*--------------------------------------------------------------------*/
+/*--- end ---*/
+/*--------------------------------------------------------------------*/
+
Modified: branches/ASPACEM/coregrind/pub_core_libcproc.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/coregrind/pub_core_libcproc.h 2005-09-24 22:01:24 UT=
C (rev 4753)
+++ branches/ASPACEM/coregrind/pub_core_libcproc.h 2005-09-25 01:24:37 UT=
C (rev 4754)
@@ -36,6 +36,7 @@
// It's a bit of a mixed bag.
//--------------------------------------------------------------------
=20
+#include "config.h" // Crucial: ensure we get ENABLE_INNER
#include "pub_tool_libcproc.h"
=20
/* The directory we look for all our auxillary files in. Useful for
@@ -50,8 +51,16 @@
=20
/* The full name of Valgrind's stage1 (launcher) executable. This is
set by stage1 and read by stage2, and is used for recursive
- invokations of Valgrind on child processes. */
-#define VALGRIND_LAUNCHER "VALGRIND_LAUNCHER"
+ invocations of Valgrind on child processes.=20
+ =20
+ For self-hosting, the inner and outer Valgrinds must use different na=
mes
+ to avoid collisions.
+*/
+#ifdef ENABLE_INNER
+# define VALGRIND_LAUNCHER "VALGRIND_LAUNCHER_INNER"
+#else
+# define VALGRIND_LAUNCHER "VALGRIND_LAUNCHER"
+#endif
=20
=20
// Environment manipulations
Modified: branches/ASPACEM/include/pub_tool_basics_asm.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/ASPACEM/include/pub_tool_basics_asm.h 2005-09-24 22:01:24 UT=
C (rev 4753)
+++ branches/ASPACEM/include/pub_tool_basics_asm.h 2005-09-25 01:24:37 UT=
C (rev 4754)
@@ -1,7 +1,7 @@
=20
/*--------------------------------------------------------------------*/
-/*--- Header imported directly by every asm file, and indirectly ---*/
-/*--- (via pub_tool_basics.h) by every C file. ---*/
+/*--- Header imported directly by every tool asm file, and ---*/
+/*--- (via pub_tool_basics.h) by every tool C file. ---*/
/*--- pub_tool_basics_asm.h ---*/
/*--------------------------------------------------------------------*/
=20
|