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
(21) |
2
(18) |
3
(19) |
4
(17) |
|
5
(6) |
6
(5) |
7
(9) |
8
(21) |
9
(16) |
10
(21) |
11
(22) |
|
12
(19) |
13
(19) |
14
(8) |
15
(16) |
16
(17) |
17
(16) |
18
(33) |
|
19
(33) |
20
(34) |
21
(32) |
22
(26) |
23
(23) |
24
(16) |
25
(21) |
|
26
(19) |
27
(7) |
28
(29) |
29
(27) |
30
(55) |
|
|
|
From: <sv...@va...> - 2005-06-23 22:38:47
|
Author: sewardj
Date: 2005-06-23 23:38:45 +0100 (Thu, 23 Jun 2005)
New Revision: 1222
Log:
Disable i-am-kludged messages in the cache control insns.
Modified:
trunk/priv/guest-ppc32/toIR.c
Modified: trunk/priv/guest-ppc32/toIR.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
--- trunk/priv/guest-ppc32/toIR.c 2005-06-23 21:14:45 UTC (rev 1221)
+++ trunk/priv/guest-ppc32/toIR.c 2005-06-23 22:38:45 UTC (rev 1222)
@@ -3236,43 +3236,33 @@
=20
switch (opc2) {
case 0x2F6: // dcba (Data Cache Block Allocate, PPC32 p380)
-vassert(0);
-
+ vassert(0); /* AWAITING TEST CASE */
DIP("dcba r%d,r%d\n", Ra_addr, Rb_addr);
- if (1) vex_printf("vex ppc32->IR: kludged dcba\n");
+ if (0) vex_printf("vex ppc32->IR: kludged dcba\n");
break;
=20
case 0x056: // dcbf (Data Cache Block Flush, PPC32 p382)
-vassert(0);
-
+ vassert(0); /* AWAITING TEST CASE */
DIP("dcbf r%d,r%d\n", Ra_addr, Rb_addr);
- if (0+1) vex_printf("vex ppc32->IR: kludged dcbf\n");
+ if (0) vex_printf("vex ppc32->IR: kludged dcbf\n");
break;
=20
case 0x036: // dcbst (Data Cache Block Store, PPC32 p384)
-vassert(1);
-
DIP("dcbst r%d,r%d\n", Ra_addr, Rb_addr);
- if (1) vex_printf("vex ppc32->IR: kludged dcbst\n");
break;
=20
case 0x116: // dcbt (Data Cache Block Touch, PPC32 p385)
-vassert(1);
-
DIP("dcbt r%d,r%d\n", Ra_addr, Rb_addr);
- if (1) vex_printf("vex ppc32->IR: kludged dcbt\n");
break;
=20
case 0x0F6: // dcbtst (Data Cache Block Touch for Store, PPC32 p386)
-vassert(1);
-
DIP("dcbtst r%d,r%d\n", Ra_addr, Rb_addr);
- if (1) vex_printf("vex ppc32->IR: kludged dcbtst\n");
break;
=20
case 0x3F6: { // dcbz (Data Cache Block Clear to Zero, PPC32 p387)
-vassert(0);
-
+ /* This needs to be fixed. We absolutely have to know the=20
+ correct cache line size to implement it right. */
+ vassert(0);
/* Clear all bytes in cache block at (rA|0) + rB.
Since we don't know the cache line size, let's assume 256
- safe, as no I1 cache would have a line size that large. */
@@ -3282,8 +3272,6 @@
UInt assumed_line_size =3D 32;
UInt i;
DIP("dcbz r%d,r%d\n", Ra_addr, Rb_addr);
- if (1) vex_printf("vex ppc32->IR: kludged dcbz %d\n", assumed_line_size=
);
-
assign( EA,
binop( Iop_Add32,
getIReg(Rb_addr),=20
@@ -3303,8 +3291,6 @@
}
=20
case 0x3D6: {=20
-vassert(1);
-
// icbi (Instruction Cache Block Invalidate, PPC32 p431)
/* Invalidate all translations containing code from the cache
block at (rA|0) + rB. Since we don't know what the cache
|
|
From: <sv...@va...> - 2005-06-23 22:37:59
|
Author: sewardj
Date: 2005-06-23 23:37:56 +0100 (Thu, 23 Jun 2005)
New Revision: 4007
Log:
Disable debug printing by default so we have any hope of getting
regtest passes on ppc32-linux.
Modified:
trunk/coregrind/m_main.c
Modified: trunk/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
--- trunk/coregrind/m_main.c 2005-06-23 21:37:47 UTC (rev 4006)
+++ trunk/coregrind/m_main.c 2005-06-23 22:37:56 UTC (rev 4007)
@@ -195,12 +195,13 @@
case AT_DCACHEBSIZE:
case AT_ICACHEBSIZE:
case AT_UCACHEBSIZE:
- VG_(debugLog)(0, "main", "PPC32 cache line size %lu (type %lu)\n",=20
- auxv->u.a_val, auxv->a_type );
+ VG_(debugLog)(1, "main", "PPC32 cache line size %u (type %u)\n"=
,=20
+ (UInt)auxv->u.a_val, (UInt)auxv->a_type );
if (auxv->u.a_val)
VG_(cache_line_size) =3D auxv->u.a_val;
- // XXX: Nasty hack to stop use of badly implemented cache-control instn=
s in vex
- auxv->u.a_val =3D 0;
+ // XXX: Nasty hack to stop use of badly implemented
+ // cache-control instns in vex (dcbz)
+ auxv->u.a_val =3D 0;
break;
=20
case AT_HWCAP:
|
|
From: <sv...@va...> - 2005-06-23 21:37:48
|
Author: sewardj
Date: 2005-06-23 22:37:47 +0100 (Thu, 23 Jun 2005)
New Revision: 4006
Log:
Kludge up wait_for_gdb even more.
Modified:
trunk/coregrind/m_main.c
Modified: trunk/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
--- trunk/coregrind/m_main.c 2005-06-23 15:30:31 UTC (rev 4005)
+++ trunk/coregrind/m_main.c 2005-06-23 21:37:47 UTC (rev 4006)
@@ -2572,6 +2572,7 @@
/* Hook to delay things long enough so we can get the pid and
attach GDB in another shell. */
if (VG_(clo_wait_for_gdb)) {
+ Long q, iters;
VG_(debugLog)(1, "main", "Wait for GDB\n");
VG_(printf)("pid=3D%d, entering delay loop\n", VG_(getpid)());
/* jrs 20050206: I don't understand why this works on x86. On
@@ -2579,7 +2580,20 @@
work. */
/* do "jump *$eip" to skip this in gdb (x86) */
//VG_(do_syscall0)(__NR_pause);
- { Long q; for (q =3D 0; q < 10ULL *1000*1000*1000; q++) ; }
+
+# if defined(VGP_x86_linux)
+ iters =3D 5;
+# elif defined(VGP_amd64_linux)
+ iters =3D 10;
+# elif defined(VGP_ppc32_linux)
+ iters =3D 1;
+# else
+# error "Unknown plat"
+# endif
+
+ iters *=3D 1000*1000*1000;
+ for (q =3D 0; q < iters; q++)=20
+ ;
}
=20
//--------------------------------------------------------------
|
|
From: <sv...@va...> - 2005-06-23 21:15:42
|
Author: sewardj
Date: 2005-06-23 22:14:45 +0100 (Thu, 23 Jun 2005)
New Revision: 1221
Log:
Disable dangerous case in advance4 which is not currently needed.
Modified:
trunk/priv/host-ppc32/isel.c
Modified: trunk/priv/host-ppc32/isel.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
--- trunk/priv/host-ppc32/isel.c 2005-06-23 15:25:57 UTC (rev 1220)
+++ trunk/priv/host-ppc32/isel.c 2005-06-23 21:14:45 UTC (rev 1221)
@@ -443,11 +443,16 @@
switch (am4->tag) {
case Pam_IR:
am4->Pam.RR.index +=3D 4; break;
- case Pam_RR: {
- HReg r_index =3D am4->Pam.IR.index;
- addInstr(env, PPC32Instr_Alu32(Palu_ADD, r_index, r_index, PPC3=
2RI_Imm(4)));
- break;
- }
+ case Pam_RR:
+ // This trashes r_index, which might be used by others later.
+ // Disable for the moment. If needs to be reinstated, construct
+ // (r_index+4) in a new register and use that instead.
+ //{
+ // HReg r_index =3D am4->Pam.IR.index;
+ // addInstr(env, PPC32Instr_Alu32(Palu_ADD, r_index, r_index,=20
+ // PPC32RI_Imm(4)));
+ // break;
+ // }
default:
vpanic("advance4(ppc32,host)");
}
|
|
From: <sv...@va...> - 2005-06-23 15:30:33
|
Author: de
Date: 2005-06-23 16:30:31 +0100 (Thu, 23 Jun 2005)
New Revision: 4005
Log:
Added some targets for massif & core options
Modified:
trunk/docs/xml/manual-core.xml
trunk/massif/docs/ms-manual.xml
Modified: trunk/docs/xml/manual-core.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/docs/xml/manual-core.xml 2005-06-23 15:28:34 UTC (rev 4004)
+++ trunk/docs/xml/manual-core.xml 2005-06-23 15:30:31 UTC (rev 4005)
@@ -894,7 +894,7 @@
=20
<itemizedlist>
=20
- <listitem>
+ <listitem id=3D"alignment">
<para><computeroutput>--alignment=3D<number></computeroutput>
[default: 8]</para>
<para>By default Valgrind's
Modified: trunk/massif/docs/ms-manual.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/massif/docs/ms-manual.xml 2005-06-23 15:28:34 UTC (rev 4004)
+++ trunk/massif/docs/ms-manual.xml 2005-06-23 15:30:31 UTC (rev 4005)
@@ -400,7 +400,7 @@
=20
<itemizedlist>
=20
- <listitem>
+ <listitem id=3D"heap">
<para><computeroutput>--heap=3Dno</computeroutput></para>
<para><computeroutput>--heap=3Dyes</computeroutput> [default]</para>
<para>When enabled, profile heap usage in detail. Without
@@ -409,7 +409,7 @@
short.</para>
</listitem>
=20
- <listitem>
+ <listitem id=3D"heap-admin">
<para><computeroutput>--heap-admin=3Dn</computeroutput>
[default: 8]</para>
<para>The number of admin bytes per block to use. This can
@@ -420,14 +420,14 @@
blocks, although Massif does not count this.</para>
</listitem>
=20
- <listitem>
+ <listitem id=3D"stacks">
<para><computeroutput>--stacks=3Dno</computeroutput></para>
<para><computeroutput>--stacks=3Dyes</computeroutput> [default]</par=
a>
<para>When enabled, include stack(s) in the profile.
Threaded programs can have multiple stacks.</para>
</listitem>
=20
- <listitem>
+ <listitem id=3D"depth">
<para><computeroutput>--depth=3Dn</computeroutput>
[default: 3]</para>
<para>Depth of call chains to present in the detailed heap
@@ -437,7 +437,7 @@
<computeroutput>.hp</computeroutput> file.</para>
</listitem>
=20
- <listitem>
+ <listitem id=3D"alloc-fn">
<para><computeroutput>--alloc-fn=3Dname</computeroutput></para>
<para>Specify a function that allocates memory. This is
useful for functions that are wrappers to
@@ -450,7 +450,7 @@
multiple functions.</para>
</listitem>
=20
- <listitem>
+ <listitem id=3D"format">
<para><computeroutput>--format=3Dtext</computeroutput> [default]</pa=
ra>
<para><computeroutput>--format=3Dhtml</computeroutput></para>
<para>Produce the detailed heap information in text or HTML
|
|
From: <sv...@va...> - 2005-06-23 15:28:35
|
Author: cerion
Date: 2005-06-23 16:28:34 +0100 (Thu, 23 Jun 2005)
New Revision: 4004
Log:
Added DivU32,DivS32 to memcheck translation (lazy)
Modified:
trunk/memcheck/mc_translate.c
Modified: trunk/memcheck/mc_translate.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
--- trunk/memcheck/mc_translate.c 2005-06-23 07:52:54 UTC (rev 4003)
+++ trunk/memcheck/mc_translate.c 2005-06-23 15:28:34 UTC (rev 4004)
@@ -1656,6 +1656,10 @@
return assignNew(mce, Ity_I16, binop(Iop_8HLto16, vHi8, vLo8));
}
=20
+ case Iop_DivS32:
+ case Iop_DivU32:
+ return mkLazy2(mce, Ity_I32, vatom1, vatom2);
+
case Iop_Add32:
if (mce->bogusLiterals)
return expensiveAddSub(mce,True,Ity_I32,=20
|
|
From: <sv...@va...> - 2005-06-23 15:26:39
|
Author: cerion
Date: 2005-06-23 16:25:57 +0100 (Thu, 23 Jun 2005)
New Revision: 1220
Log:
Added isel Ist_Tmp:Ity_I64, iselInt64Expr::Iex_Get
Allowed 64-bit args for doHelperCall()
Modified:
trunk/priv/guest-ppc32/toIR.c
trunk/priv/host-ppc32/isel.c
Modified: trunk/priv/guest-ppc32/toIR.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
--- trunk/priv/guest-ppc32/toIR.c 2005-06-23 12:45:11 UTC (rev 1219)
+++ trunk/priv/guest-ppc32/toIR.c 2005-06-23 15:25:57 UTC (rev 1220)
@@ -4357,17 +4357,13 @@
code[3] =3D=3D 0x54006800 &&
code[4] =3D=3D 0x54009800 &&
code[5] =3D=3D 0x60000000) {
-
- // TODO: possibly r0 =3D client_request(r0)
- DIP("? =3D client_request ( ? )\n");
-
+ DIP("%%r3 =3D client_request ( %%r31 )\n");
*size =3D 24;
delta +=3D 24;
=20
irbb->next =3D mkU32(guest_pc_bbstart+delta);
irbb->jumpkind =3D Ijk_ClientReq;
- =20
- whatNext =3D Dis_StopHere;
+ whatNext =3D Dis_StopHere;
goto decode_success;
}
}
Modified: trunk/priv/host-ppc32/isel.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
--- trunk/priv/host-ppc32/isel.c 2005-06-23 12:45:11 UTC (rev 1219)
+++ trunk/priv/host-ppc32/isel.c 2005-06-23 15:25:57 UTC (rev 1220)
@@ -621,9 +621,20 @@
=20
for (i =3D 0; i < n_args; i++) {
vassert(argreg < PPC32_N_REGPARMS);
- vassert(typeOfIRExpr(env->type_env, args[i]) =3D=3D Ity_I32);
- addInstr(env, mk_iMOVds_RR( argregs[argreg],
- iselIntExpr_R(env, args[i]) ));
+ vassert(typeOfIRExpr(env->type_env, args[i]) =3D=3D Ity_I32 ||
+ typeOfIRExpr(env->type_env, args[i]) =3D=3D Ity_I64);
+ if (typeOfIRExpr(env->type_env, args[i]) =3D=3D Ity_I32) {=20
+ addInstr(env, mk_iMOVds_RR( argregs[argreg],
+ iselIntExpr_R(env, args[i]) ));
+ } else { // Ity_I64
+ HReg rHi, rLo;
+ if (i%2 =3D=3D 1) // ppc32 abi spec for LONG_LONG
+ argreg++;
+ vassert(argreg < PPC32_N_REGPARMS-1);
+ iselInt64Expr(&rHi,&rLo, env, args[i]);
+ addInstr(env, mk_iMOVds_RR( argregs[argreg++], rHi ));
+ addInstr(env, mk_iMOVds_RR( argregs[argreg], rLo));
+ }
argreg++;
}
=20
@@ -645,8 +656,19 @@
=20
for (i =3D 0; i < n_args; i++) {
vassert(argreg < PPC32_N_REGPARMS);
- vassert(typeOfIRExpr(env->type_env, args[i]) =3D=3D Ity_I32);
- tmpregs[argreg] =3D iselIntExpr_R(env, args[i]);
+ vassert(typeOfIRExpr(env->type_env, args[i]) =3D=3D Ity_I32 ||
+ typeOfIRExpr(env->type_env, args[i]) =3D=3D Ity_I64);
+ if (typeOfIRExpr(env->type_env, args[i]) =3D=3D Ity_I32) {=20
+ tmpregs[argreg] =3D iselIntExpr_R(env, args[i]);
+ } else { // Ity_I64
+ HReg rHi, rLo;
+ if (i%2 =3D=3D 1) // ppc32 abi spec for LONG_LONG
+ argreg++;
+ vassert(argreg < PPC32_N_REGPARMS-1);
+ iselInt64Expr(&rHi,&rLo, env, args[i]);
+ tmpregs[argreg++] =3D rHi;
+ tmpregs[argreg] =3D rLo;
+ }
argreg++;
}
=20
@@ -1837,18 +1859,18 @@
//.. return;
//.. }
=20
-//.. /* 64-bit GET */
-//.. if (e->tag =3D=3D Iex_Get) {
-//.. X86AMode* am =3D X86AMode_IR(e->Iex.Get.offset, hregX86_EBP(=
));
-//.. X86AMode* am4 =3D advance4(am);
-//.. HReg tLo =3D newVRegI(env);
-//.. HReg tHi =3D newVRegI(env);
-//.. addInstr(env, X86Instr_Alu32R( Xalu_MOV, X86RMI_Mem(am), tLo =
));
-//.. addInstr(env, X86Instr_Alu32R( Xalu_MOV, X86RMI_Mem(am4), tHi=
));
-//.. *rHi =3D tHi;
-//.. *rLo =3D tLo;
-//.. return;
-//.. }
+ /* 64-bit GET */
+ if (e->tag =3D=3D Iex_Get) {
+ PPC32AMode* am_addr =3D PPC32AMode_IR(e->Iex.Get.offset, GuestStat=
ePtr );
+ PPC32AMode* am_addr4 =3D advance4(env, am_addr);
+ HReg tLo =3D newVRegI(env);
+ HReg tHi =3D newVRegI(env);
+ addInstr(env, PPC32Instr_Load( 4, False, tHi, am_addr ));
+ addInstr(env, PPC32Instr_Load( 4, False, tLo, am_addr4 ));
+ *rHi =3D tHi;
+ *rLo =3D tLo;
+ return;
+ }
=20
//.. /* 64-bit GETI */
//.. if (e->tag =3D=3D Iex_GetI) {
@@ -3374,14 +3396,14 @@
addInstr(env, mk_iMOVds_RR( r_dst, r_src ));
return;
}
-//.. if (ty =3D=3D Ity_I64) {
-//.. HReg rHi, rLo, dstHi, dstLo;
-//.. iselInt64Expr(&rHi,&rLo, env, stmt->Ist.Tmp.data);
-//.. lookupIRTemp64( &dstHi, &dstLo, env, tmp);
-//.. addInstr(env, mk_iMOVsd_RR(rHi,dstHi) );
-//.. addInstr(env, mk_iMOVsd_RR(rLo,dstLo) );
-//.. return;
-//.. }
+ if (ty =3D=3D Ity_I64) {
+ HReg r_srcHi, r_srcLo, r_dstHi, r_dstLo;
+ iselInt64Expr(&r_srcHi,&r_srcLo, env, stmt->Ist.Tmp.data);
+ lookupIRTemp64( &r_dstHi, &r_dstLo, env, tmp);
+ addInstr(env, mk_iMOVds_RR(r_dstHi, r_srcHi) );
+ addInstr(env, mk_iMOVds_RR(r_dstLo, r_srcLo) );
+ return;
+ }
if (ty =3D=3D Ity_I1) {
PPC32CondCode cond =3D iselCondCode(env, stmt->Ist.Tmp.data);
HReg r_dst =3D lookupIRTemp(env, tmp);
|
|
From: <sv...@va...> - 2005-06-23 12:45:45
|
Author: cerion
Date: 2005-06-23 13:45:11 +0100 (Thu, 23 Jun 2005)
New Revision: 1219
Log:
... and write 64bit vals the right way around...
Modified:
trunk/priv/host-ppc32/isel.c
Modified: trunk/priv/host-ppc32/isel.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
--- trunk/priv/host-ppc32/isel.c 2005-06-23 11:00:14 UTC (rev 1218)
+++ trunk/priv/host-ppc32/isel.c 2005-06-23 12:45:11 UTC (rev 1219)
@@ -3315,8 +3315,8 @@
PPC32AMode* am_addr =3D PPC32AMode_IR(stmt->Ist.Put.offset, Gu=
estStatePtr);
PPC32AMode* am_addr4 =3D advance4(env, am_addr);
iselInt64Expr(&rHi,&rLo, env, stmt->Ist.Put.data);
- addInstr(env, PPC32Instr_Store( 4, am_addr, rLo ));
- addInstr(env, PPC32Instr_Store( 4, am_addr4, rHi ));
+ addInstr(env, PPC32Instr_Store( 4, am_addr, rHi ));
+ addInstr(env, PPC32Instr_Store( 4, am_addr4, rLo ));
return;
}
//.. if (ty =3D=3D Ity_F32) {
|
|
From: <sv...@va...> - 2005-06-23 11:00:19
|
Author: cerion
Date: 2005-06-23 12:00:14 +0100 (Thu, 23 Jun 2005)
New Revision: 1218
Log:
Added to insn selector: CmpNEZ8, Ist_Put::Ity_I64
Modified:
trunk/priv/host-ppc32/isel.c
Modified: trunk/priv/host-ppc32/isel.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
--- trunk/priv/host-ppc32/isel.c 2005-06-23 08:44:52 UTC (rev 1217)
+++ trunk/priv/host-ppc32/isel.c 2005-06-23 11:00:14 UTC (rev 1218)
@@ -434,23 +434,25 @@
}
=20
=20
-//.. /* Given an amode, return one which references 4 bytes further
-//.. along. */
-//..=20
-//.. static X86AMode* advance4 ( X86AMode* am )
-//.. {
-//.. X86AMode* am4 =3D dopyX86AMode(am);
-//.. switch (am4->tag) {
-//.. case Xam_IRRS:
-//.. am4->Xam.IRRS.imm +=3D 4; break;
-//.. case Xam_IR:
-//.. am4->Xam.IR.imm +=3D 4; break;
-//.. default:
-//.. vpanic("advance4(x86,host)");
-//.. }
-//.. return am4;
-//.. }
+/* Given an amode, return one which references 4 bytes further
+ along. */
=20
+static PPC32AMode* advance4 ( ISelEnv* env, PPC32AMode* am )
+{
+ PPC32AMode* am4 =3D dopyPPC32AMode(am);
+ switch (am4->tag) {
+ case Pam_IR:
+ am4->Pam.RR.index +=3D 4; break;
+ case Pam_RR: {
+ HReg r_index =3D am4->Pam.IR.index;
+ addInstr(env, PPC32Instr_Alu32(Palu_ADD, r_index, r_index, PPC3=
2RI_Imm(4)));
+ break;
+ }
+ default:
+ vpanic("advance4(ppc32,host)");
+ }
+ return am4;
+}
=20
//.. /* Push an arg onto the host stack, in preparation for a call to a
//.. helper function of some kind. Returns the number of 32-bit word=
s
@@ -1598,7 +1600,7 @@
//.. return iselCondCode(env, expr1);
//.. }
=20
- /* pattern: 32to1(expr32) */
+ /* 32to1(expr32) */
DEFINE_PATTERN(p_32to1, unop(Iop_32to1,bind(0)));
if (matchIRExpr(&mi,p_32to1,e)) {
HReg r_dst =3D iselIntExpr_R(env, mi.bindee[0]);
@@ -1606,6 +1608,18 @@
return mk_PPCCondCode( Pct_TRUE, Pcf_EQ );
}
=20
+ /* --- patterns rooted at: CmpNEZ8 --- */
+
+ /* CmpNEZ8(x) */
+ if (e->tag =3D=3D Iex_Unop
+ && e->Iex.Unop.op =3D=3D Iop_CmpNEZ8) {
+ HReg r_32 =3D iselIntExpr_R(env, e->Iex.Unop.arg);
+ HReg r_l =3D newVRegI(env);
+ addInstr(env, PPC32Instr_Alu32(Palu_AND, r_l, r_32, PPC32RI_Imm(0x=
FF)));
+ addInstr(env, PPC32Instr_Cmp32(Pcmp_S, 7, r_l, PPC32RI_Imm(0)));
+ return mk_PPCCondCode( Pct_FALSE, Pcf_EQ );
+ }
+
/* --- patterns rooted at: CmpNEZ32 --- */
=20
/* CmpNEZ32(x) */
@@ -3296,15 +3310,15 @@
addInstr(env, PPC32Instr_Store( sizeofIRType(ty), am_addr, r_sr=
c ));
return;
}
-//.. if (ty =3D=3D Ity_I64) {
-//.. HReg vHi, vLo;
-//.. X86AMode* am =3D X86AMode_IR(stmt->Ist.Put.offset, hregX8=
6_EBP());
-//.. X86AMode* am4 =3D advance4(am);
-//.. iselInt64Expr(&vHi, &vLo, env, stmt->Ist.Put.data);
-//.. addInstr(env, X86Instr_Alu32M( Xalu_MOV, X86RI_Reg(vLo), a=
m ));
-//.. addInstr(env, X86Instr_Alu32M( Xalu_MOV, X86RI_Reg(vHi), a=
m4 ));
-//.. return;
-//.. }
+ if (ty =3D=3D Ity_I64) {
+ HReg rHi, rLo;
+ PPC32AMode* am_addr =3D PPC32AMode_IR(stmt->Ist.Put.offset, Gu=
estStatePtr);
+ PPC32AMode* am_addr4 =3D advance4(env, am_addr);
+ iselInt64Expr(&rHi,&rLo, env, stmt->Ist.Put.data);
+ addInstr(env, PPC32Instr_Store( 4, am_addr, rLo ));
+ addInstr(env, PPC32Instr_Store( 4, am_addr4, rHi ));
+ return;
+ }
//.. if (ty =3D=3D Ity_F32) {
//.. HReg f32 =3D iselFltExpr(env, stmt->Ist.Put.data);
//.. X86AMode* am =3D X86AMode_IR(stmt->Ist.Put.offset, hregX8=
6_EBP());
|
|
From: Cerion Armour-B. <ce...@op...> - 2005-06-23 10:21:51
|
On Thursday 23 June 2005 12:05, Julian Seward wrote: > > Fix ppc32 'Call' bug > > - was (very) incorrectly jumping over the call on cond failure > > Great! > > You should be getting some insn selector failures now on > patterns that memcheck's instrumenter generates, particularly > CmpNEZxx and there might be a couple of others. > > J Yep, I am Gaim dead? C. |
|
From: Julian S. <js...@ac...> - 2005-06-23 10:05:43
|
> Fix ppc32 'Call' bug > - was (very) incorrectly jumping over the call on cond failure Great! You should be getting some insn selector failures now on patterns that memcheck's instrumenter generates, particularly CmpNEZxx and there might be a couple of others. J |
|
From: <sv...@va...> - 2005-06-23 08:44:56
|
Author: cerion
Date: 2005-06-23 09:44:52 +0100 (Thu, 23 Jun 2005)
New Revision: 1217
Log:
Fix ppc32 'Call' bug
- was (very) incorrectly jumping over the call on cond failure
Modified:
trunk/priv/host-ppc32/hdefs.c
Modified: trunk/priv/host-ppc32/hdefs.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
--- trunk/priv/host-ppc32/hdefs.c 2005-06-21 13:51:18 UTC (rev 1216)
+++ trunk/priv/host-ppc32/hdefs.c 2005-06-23 08:44:52 UTC (rev 1217)
@@ -784,7 +784,7 @@
}
vex_printf("{ ");
ppLoadImm(hregPPC32_GPR12(), i->Pin.Call.target);
- vex_printf(" ; mtctr r12 ; bctrl[%d] }",i->Pin.Call.regparms);
+ vex_printf(" ; mtctr r12 ; bctrl [regparms=3D%d] }",i->Pin.Call.re=
gparms);
break;
case Pin_Goto:
vex_printf("goto: ");
@@ -1771,20 +1771,29 @@
=20
/* jump over the following insns if condition does not hold */
if (cond.test !=3D Pct_ALWAYS) {
- UInt delta =3D 4*4; /* jump 4 instrs */
-
- /* bca !ct,cf,dst */
- p =3D mkFormB(ptmp, invertCondTest(cond.test), cond.flag, (delt=
a>>2), 1, 0);
+ /* jmp fwds if !condition */
+ /* don't know how many bytes to jump over yet...
+ make space for a jump instruction and fill in later. */
+ ptmp =3D p; /* fill in this bit later */
+ p +=3D 4; // p +=3D=
4
}
=20
/* load target to r_dst */
- p =3D mkLoadImm(p, r_dst, i->Pin.Call.target);
+ p =3D mkLoadImm(p, r_dst, i->Pin.Call.target); // p +=3D=
4|8
=20
/* mtspr 9,r_dst =3D> move r_dst to count register */
- p =3D mkFormXFX(p, r_dst, 9, 467);
+ p =3D mkFormXFX(p, r_dst, 9, 467); // p +=3D=
4
=20
/* bctrl =3D> branch to count register (and save to lr) */
- p =3D mkFormXL(p, 19, Pct_ALWAYS, 0, 0, 528, 1);
+ p =3D mkFormXL(p, 19, Pct_ALWAYS, 0, 0, 528, 1); // p +=3D=
4
+
+ /* Fix up the conditional jump, if there was one. */
+ if (cond.test !=3D Pct_ALWAYS) {
+ Int delta =3D p - ptmp;
+ vassert(delta >=3D 16 && delta <=3D 20);
+ /* bc !ct,cf,delta */
+ mkFormB(ptmp, invertCondTest(cond.test), cond.flag, (delta>>2),=
0, 0);
+ }
goto done;
}
=20
|
|
From: <sv...@va...> - 2005-06-23 07:52:57
|
Author: cerion
Date: 2005-06-23 08:52:54 +0100 (Thu, 23 Jun 2005)
New Revision: 4003
Log:
VG_() -> ML() for ppc32, amd64
(plus a few scattered ones in comments etc)
Modified:
trunk/coregrind/m_debuginfo/symtab.c
trunk/coregrind/m_syswrap/syswrap-amd64-linux.c
trunk/coregrind/m_syswrap/syswrap-generic.c
trunk/coregrind/m_syswrap/syswrap-linux.c
trunk/coregrind/m_syswrap/syswrap-main.c
trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c
trunk/coregrind/m_syswrap/syswrap-x86-linux.c
Modified: trunk/coregrind/m_debuginfo/symtab.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
--- trunk/coregrind/m_debuginfo/symtab.c 2005-06-23 03:27:57 UTC (rev 400=
2)
+++ trunk/coregrind/m_debuginfo/symtab.c 2005-06-23 07:52:54 UTC (rev 400=
3)
@@ -870,8 +870,8 @@
/*
if (!(si->cfisi[i].base < si->cfisi[i+1].base)) {
VG_(printf)("\nOOO cfisis:\n");
- VG_(ppCfiSI)(&si->cfisi[i]);
- VG_(ppCfiSI)(&si->cfisi[i+1]);
+ ML_(ppCfiSI)(&si->cfisi[i]);
+ ML_(ppCfiSI)(&si->cfisi[i+1]);
}
*/
/* In order. */
Modified: trunk/coregrind/m_syswrap/syswrap-amd64-linux.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
--- trunk/coregrind/m_syswrap/syswrap-amd64-linux.c 2005-06-23 03:27:57 U=
TC (rev 4002)
+++ trunk/coregrind/m_syswrap/syswrap-amd64-linux.c 2005-06-23 07:52:54 U=
TC (rev 4003)
@@ -137,15 +137,15 @@
=20
VG_(debugLog)(1, "syswrap-amd64-linux",=20
"run_a_thread_NORETURN(tid=3D%lld): "
- "VG_(thread_wrapper) called\n",
+ "ML_(thread_wrapper) called\n",
(ULong)tidW);
=20
/* Run the thread all the way through. */
- VgSchedReturnCode src =3D VG_(thread_wrapper)(tid); =20
+ VgSchedReturnCode src =3D ML_(thread_wrapper)(tid); =20
=20
VG_(debugLog)(1, "syswrap-amd64-linux",=20
"run_a_thread_NORETURN(tid=3D%lld): "
- "VG_(thread_wrapper) done\n",
+ "ML_(thread_wrapper) done\n",
(ULong)tidW);
=20
Int c =3D VG_(count_living_threads)();
@@ -617,7 +617,7 @@
=20
cloneflags =3D ARG1;
=20
- if (!VG_(client_signal_OK)(ARG1 & VKI_CSIGNAL)) {
+ if (!ML_(client_signal_OK)(ARG1 & VKI_CSIGNAL)) {
SET_STATUS_Failure( VKI_EINVAL );
return;
}
@@ -688,7 +688,7 @@
=20
/* This is only so that the RIP is (might be) useful to report if
something goes wrong in the sigreturn */
- VG_(fixup_guest_state_to_restart_syscall)(&tst->arch);
+ ML_(fixup_guest_state_to_restart_syscall)(&tst->arch);
=20
VG_(sigframe_destroy)(tid, True);
=20
@@ -738,7 +738,7 @@
{
SysRes r;
vg_assert(SUCCESS);
- r =3D VG_(generic_POST_sys_socket)(tid, VG_(mk_SysRes_Success)(RES));
+ r =3D ML_(generic_POST_sys_socket)(tid, VG_(mk_SysRes_Success)(RES));
SET_STATUS_from_SysRes(r);
}
=20
@@ -748,7 +748,7 @@
PRE_REG_READ5(long, "setsockopt",
int, s, int, level, int, optname,
const void *, optval, int, optlen);
- VG_(generic_PRE_sys_setsockopt)(tid, ARG1,ARG2,ARG3,ARG4,ARG5);
+ ML_(generic_PRE_sys_setsockopt)(tid, ARG1,ARG2,ARG3,ARG4,ARG5);
}
=20
PRE(sys_getsockopt)
@@ -757,12 +757,12 @@
PRE_REG_READ5(long, "getsockopt",
int, s, int, level, int, optname,
void *, optval, int, *optlen);
- VG_(generic_PRE_sys_getsockopt)(tid, ARG1,ARG2,ARG3,ARG4,ARG5);
+ ML_(generic_PRE_sys_getsockopt)(tid, ARG1,ARG2,ARG3,ARG4,ARG5);
}
POST(sys_getsockopt)
{
vg_assert(SUCCESS);
- VG_(generic_POST_sys_getsockopt)(tid, VG_(mk_SysRes_Success)(RES),
+ ML_(generic_POST_sys_getsockopt)(tid, VG_(mk_SysRes_Success)(RES),
ARG1,ARG2,ARG3,ARG4,ARG5);
}
=20
@@ -772,7 +772,7 @@
PRINT("sys_connect ( %d, %p, %d )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "connect",
int, sockfd, struct sockaddr *, serv_addr, int, addrlen=
);
- VG_(generic_PRE_sys_connect)(tid, ARG1,ARG2,ARG3);
+ ML_(generic_PRE_sys_connect)(tid, ARG1,ARG2,ARG3);
}
=20
PRE(sys_accept)
@@ -781,13 +781,13 @@
PRINT("sys_accept ( %d, %p, %d )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "accept",
int, s, struct sockaddr *, addr, int, *addrlen);
- VG_(generic_PRE_sys_accept)(tid, ARG1,ARG2,ARG3);
+ ML_(generic_PRE_sys_accept)(tid, ARG1,ARG2,ARG3);
}
POST(sys_accept)
{
SysRes r;
vg_assert(SUCCESS);
- r =3D VG_(generic_POST_sys_accept)(tid, VG_(mk_SysRes_Success)(RES),
+ r =3D ML_(generic_POST_sys_accept)(tid, VG_(mk_SysRes_Success)(RES),
ARG1,ARG2,ARG3);
SET_STATUS_from_SysRes(r);
}
@@ -800,7 +800,7 @@
int, s, const void *, msg, int, len,=20
unsigned int, flags,=20
const struct sockaddr *, to, int, tolen);
- VG_(generic_PRE_sys_sendto)(tid, ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
+ ML_(generic_PRE_sys_sendto)(tid, ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
}
=20
PRE(sys_recvfrom)
@@ -810,12 +810,12 @@
PRE_REG_READ6(long, "recvfrom",
int, s, void *, buf, int, len, unsigned int, flags,
struct sockaddr *, from, int *, fromlen);
- VG_(generic_PRE_sys_recvfrom)(tid, ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
+ ML_(generic_PRE_sys_recvfrom)(tid, ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
}
POST(sys_recvfrom)
{
vg_assert(SUCCESS);
- VG_(generic_POST_sys_recvfrom)(tid, VG_(mk_SysRes_Success)(RES),
+ ML_(generic_POST_sys_recvfrom)(tid, VG_(mk_SysRes_Success)(RES),
ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
}
=20
@@ -825,7 +825,7 @@
PRINT("sys_sendmsg ( %d, %p, %d )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "sendmsg",
int, s, const struct msghdr *, msg, int, flags);
- VG_(generic_PRE_sys_sendmsg)(tid, ARG1,ARG2);
+ ML_(generic_PRE_sys_sendmsg)(tid, ARG1,ARG2);
}
=20
PRE(sys_recvmsg)
@@ -833,11 +833,11 @@
*flags |=3D SfMayBlock;
PRINT("sys_recvmsg ( %d, %p, %d )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "recvmsg", int, s, struct msghdr *, msg, int, fla=
gs);
- VG_(generic_PRE_sys_recvmsg)(tid, ARG1,ARG2);
+ ML_(generic_PRE_sys_recvmsg)(tid, ARG1,ARG2);
}
POST(sys_recvmsg)
{
- VG_(generic_POST_sys_recvmsg)(tid, ARG1,ARG2);
+ ML_(generic_POST_sys_recvmsg)(tid, ARG1,ARG2);
}
=20
PRE(sys_shutdown)
@@ -852,7 +852,7 @@
PRINT("sys_bind ( %d, %p, %d )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "bind",
int, sockfd, struct sockaddr *, my_addr, int, addrlen);
- VG_(generic_PRE_sys_bind)(tid, ARG1,ARG2,ARG3);
+ ML_(generic_PRE_sys_bind)(tid, ARG1,ARG2,ARG3);
}
=20
PRE(sys_listen)
@@ -866,12 +866,12 @@
PRINT("sys_getsockname ( %d, %p, %p )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "getsockname",
int, s, struct sockaddr *, name, int *, namelen);
- VG_(generic_PRE_sys_getsockname)(tid, ARG1,ARG2,ARG3);
+ ML_(generic_PRE_sys_getsockname)(tid, ARG1,ARG2,ARG3);
}
POST(sys_getsockname)
{
vg_assert(SUCCESS);
- VG_(generic_POST_sys_getsockname)(tid, VG_(mk_SysRes_Success)(RES),
+ ML_(generic_POST_sys_getsockname)(tid, VG_(mk_SysRes_Success)(RES),
ARG1,ARG2,ARG3);
}
=20
@@ -880,12 +880,12 @@
PRINT("sys_getpeername ( %d, %p, %p )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "getpeername",
int, s, struct sockaddr *, name, int *, namelen);
- VG_(generic_PRE_sys_getpeername)(tid, ARG1,ARG2,ARG3);
+ ML_(generic_PRE_sys_getpeername)(tid, ARG1,ARG2,ARG3);
}
POST(sys_getpeername)
{
vg_assert(SUCCESS);
- VG_(generic_POST_sys_getpeername)(tid, VG_(mk_SysRes_Success)(RES),
+ ML_(generic_POST_sys_getpeername)(tid, VG_(mk_SysRes_Success)(RES),
ARG1,ARG2,ARG3);
}
=20
@@ -894,12 +894,12 @@
PRINT("sys_socketpair ( %d, %d, %d, %p )",ARG1,ARG2,ARG3,ARG4);
PRE_REG_READ4(long, "socketpair",
int, d, int, type, int, protocol, int [2], sv);
- VG_(generic_PRE_sys_socketpair)(tid, ARG1,ARG2,ARG3,ARG4);
+ ML_(generic_PRE_sys_socketpair)(tid, ARG1,ARG2,ARG3,ARG4);
}
POST(sys_socketpair)
{
vg_assert(SUCCESS);
- VG_(generic_POST_sys_socketpair)(tid, VG_(mk_SysRes_Success)(RES),
+ ML_(generic_POST_sys_socketpair)(tid, VG_(mk_SysRes_Success)(RES),
ARG1,ARG2,ARG3,ARG4);
}
=20
@@ -915,7 +915,7 @@
PRINT("sys_semop ( %d, %p, %u )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "semop",
int, semid, struct sembuf *, sops, unsigned, nsoops);
- VG_(generic_PRE_sys_semop)(tid, ARG1,ARG2,ARG3);
+ ML_(generic_PRE_sys_semop)(tid, ARG1,ARG2,ARG3);
}
=20
PRE(sys_semtimedop)
@@ -925,7 +925,7 @@
PRE_REG_READ4(long, "semtimedop",
int, semid, struct sembuf *, sops, unsigned, nsoops,
struct timespec *, timeout);
- VG_(generic_PRE_sys_semtimedop)(tid, ARG1,ARG2,ARG3,ARG4);
+ ML_(generic_PRE_sys_semtimedop)(tid, ARG1,ARG2,ARG3,ARG4);
}
=20
PRE(sys_semctl)
@@ -956,11 +956,11 @@
int, semid, int, semnum, int, cmd);
break;
}
- VG_(generic_PRE_sys_semctl)(tid, ARG1,ARG2,ARG3,ARG4);
+ ML_(generic_PRE_sys_semctl)(tid, ARG1,ARG2,ARG3,ARG4);
}
POST(sys_semctl)
{
- VG_(generic_POST_sys_semctl)(tid, RES,ARG1,ARG2,ARG3,ARG4);
+ ML_(generic_POST_sys_semctl)(tid, RES,ARG1,ARG2,ARG3,ARG4);
}
=20
PRE(sys_msgget)
@@ -974,7 +974,7 @@
PRINT("sys_msgsnd ( %d, %p, %d, %d )",ARG1,ARG2,ARG3,ARG4);
PRE_REG_READ4(long, "msgsnd",
int, msqid, struct msgbuf *, msgp, vki_size_t, msgsz, i=
nt, msgflg);
- VG_(generic_PRE_sys_msgsnd)(tid, ARG1,ARG2,ARG3,ARG4);
+ ML_(generic_PRE_sys_msgsnd)(tid, ARG1,ARG2,ARG3,ARG4);
if ((ARG4 & VKI_IPC_NOWAIT) =3D=3D 0)
*flags |=3D SfMayBlock;
}
@@ -985,13 +985,13 @@
PRE_REG_READ5(long, "msgrcv",
int, msqid, struct msgbuf *, msgp, vki_size_t, msgsz,
long, msgytp, int, msgflg);
- VG_(generic_PRE_sys_msgrcv)(tid, ARG1,ARG2,ARG3,ARG4,ARG5);
+ ML_(generic_PRE_sys_msgrcv)(tid, ARG1,ARG2,ARG3,ARG4,ARG5);
if ((ARG4 & VKI_IPC_NOWAIT) =3D=3D 0)
*flags |=3D SfMayBlock;
}
POST(sys_msgrcv)
{
- VG_(generic_POST_sys_msgrcv)(tid, RES,ARG1,ARG2,ARG3,ARG4,ARG5);
+ ML_(generic_POST_sys_msgrcv)(tid, RES,ARG1,ARG2,ARG3,ARG4,ARG5);
}
=20
PRE(sys_msgctl)
@@ -999,11 +999,11 @@
PRINT("sys_msgctl ( %d, %d, %p )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "msgctl",
int, msqid, int, cmd, struct msqid_ds *, buf);
- VG_(generic_PRE_sys_msgctl)(tid, ARG1,ARG2,ARG3);
+ ML_(generic_PRE_sys_msgctl)(tid, ARG1,ARG2,ARG3);
}
POST(sys_msgctl)
{
- VG_(generic_POST_sys_msgctl)(tid, RES,ARG1,ARG2,ARG3);
+ ML_(generic_POST_sys_msgctl)(tid, RES,ARG1,ARG2,ARG3);
}
=20
PRE(sys_shmget)
@@ -1018,7 +1018,7 @@
PRINT("wrap_sys_shmat ( %d, %p, %d )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "shmat",
int, shmid, const void *, shmaddr, int, shmflg);
- arg2tmp =3D VG_(generic_PRE_sys_shmat)(tid, ARG1,ARG2,ARG3);
+ arg2tmp =3D ML_(generic_PRE_sys_shmat)(tid, ARG1,ARG2,ARG3);
if (arg2tmp =3D=3D 0)
SET_STATUS_Failure( VKI_EINVAL );
else
@@ -1026,19 +1026,19 @@
}
POST(wrap_sys_shmat)
{
- VG_(generic_POST_sys_shmat)(tid, RES,ARG1,ARG2,ARG3);
+ ML_(generic_POST_sys_shmat)(tid, RES,ARG1,ARG2,ARG3);
}
=20
PRE(sys_shmdt)
{
PRINT("sys_shmdt ( %p )",ARG1);
PRE_REG_READ1(long, "shmdt", const void *, shmaddr);
- if (!VG_(generic_PRE_sys_shmdt)(tid, ARG1))
+ if (!ML_(generic_PRE_sys_shmdt)(tid, ARG1))
SET_STATUS_Failure( VKI_EINVAL );
}
POST(sys_shmdt)
{
- VG_(generic_POST_sys_shmdt)(tid, RES,ARG1);
+ ML_(generic_POST_sys_shmdt)(tid, RES,ARG1);
}
=20
PRE(sys_shmctl)
@@ -1046,11 +1046,11 @@
PRINT("sys_shmctl ( %d, %d, %p )",ARG1,ARG2,ARG3);
PRE_REG_READ3(long, "shmctl",
int, shmid, int, cmd, struct shmid_ds *, buf);
- VG_(generic_PRE_sys_shmctl)(tid, ARG1,ARG2,ARG3);
+ ML_(generic_PRE_sys_shmctl)(tid, ARG1,ARG2,ARG3);
}
POST(sys_shmctl)
{
- VG_(generic_POST_sys_shmctl)(tid, RES,ARG1,ARG2,ARG3);
+ ML_(generic_POST_sys_shmctl)(tid, RES,ARG1,ARG2,ARG3);
}
=20
#undef PRE
Modified: trunk/coregrind/m_syswrap/syswrap-generic.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
--- trunk/coregrind/m_syswrap/syswrap-generic.c 2005-06-23 03:27:57 UTC (=
rev 4002)
+++ trunk/coregrind/m_syswrap/syswrap-generic.c 2005-06-23 07:52:54 UTC (=
rev 4003)
@@ -664,7 +664,7 @@
for (i =3D 0; i < fdc; i++)
if(VG_(clo_track_fds))
// XXX: must we check the range on these fds with
- // VG_(fd_allowed)()?
+ // ML_(fd_allowed)()?
record_fd_open_named(tid, fds[i]);
}
=20
Modified: trunk/coregrind/m_syswrap/syswrap-linux.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
--- trunk/coregrind/m_syswrap/syswrap-linux.c 2005-06-23 03:27:57 UTC (re=
v 4002)
+++ trunk/coregrind/m_syswrap/syswrap-linux.c 2005-06-23 07:52:54 UTC (re=
v 4003)
@@ -53,7 +53,7 @@
VgSchedReturnCode ML_(thread_wrapper)(Word /*ThreadId*/ tidW)
{
VG_(debugLog)(1, "core_os",=20
- "VG_(thread_wrapper)(tid=3D%lld): entry\n",=20
+ "ML_(thread_wrapper)(tid=3D%lld): entry\n",=20
(ULong)tidW);
=20
VgSchedReturnCode ret;
@@ -85,7 +85,7 @@
vg_assert(VG_(is_running_thread)(tid));
=20
VG_(debugLog)(1, "core_os",=20
- "VG_(thread_wrapper)(tid=3D%lld): done\n",=20
+ "ML_(thread_wrapper)(tid=3D%lld): done\n",=20
(ULong)tidW);
=20
/* Return to caller, still holding the lock. */
@@ -598,14 +598,14 @@
//zz /* int tkill(pid_t tid, int sig); */
//zz PRINT("sys_tkill ( %d, %d )", ARG1,ARG2);
//zz PRE_REG_READ2(long, "tkill", int, tid, int, sig);
-//zz if (!VG_(client_signal_OK)(ARG2)) {
+//zz if (!ML_(client_signal_OK)(ARG2)) {
//zz SET_STATUS_( -VKI_EINVAL );
//zz return;
//zz }
//zz=20
//zz /* If we're sending SIGKILL, check to see if the target is one o=
f
//zz our threads and handle it specially. */
-//zz if (ARG2 =3D=3D VKI_SIGKILL && VG_(do_sigkill)(ARG1, -1))
+//zz if (ARG2 =3D=3D VKI_SIGKILL && ML_(do_sigkill)(ARG1, -1))
//zz SET_STATUS_(0);
//zz else
//zz SET_STATUS_(VG_(do_syscall2)(SYSNO, ARG1, ARG2));
Modified: trunk/coregrind/m_syswrap/syswrap-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
--- trunk/coregrind/m_syswrap/syswrap-main.c 2005-06-23 03:27:57 UTC (rev=
4002)
+++ trunk/coregrind/m_syswrap/syswrap-main.c 2005-06-23 07:52:54 UTC (rev=
4003)
@@ -972,7 +972,7 @@
}
=20
#else
-# error "VG_(fixup_guest_state_to_restart_syscall): unknown plat"
+# error "ML_(fixup_guest_state_to_restart_syscall): unknown plat"
#endif
}
=20
@@ -1111,7 +1111,7 @@
VG_(core_panic)("?? strange syscall interrupt state?");
=20
/* In all cases, the syscall is now finished (even if we called
- VG_(fixup_guest_state_to_restart_syscall), since that just
+ ML_(fixup_guest_state_to_restart_syscall), since that just
re-positions the guest's IP for another go at it). So we need
to record that fact. */
sci->status.what =3D SsIdle;
Modified: trunk/coregrind/m_syswrap/syswrap-ppc32-linux.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
--- trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c 2005-06-23 03:27:57 U=
TC (rev 4002)
+++ trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c 2005-06-23 07:52:54 U=
TC (rev 4003)
@@ -138,15 +138,15 @@
=20
VG_(debugLog)(1, "syscalls-ppc32-linux",=20
"run_a_thread_NORETURN(tid=3D%lld): "
- "VG_(thread_wrapper) called\n",
+ "ML_(thread_wrapper) called\n",
(ULong)tidW);
=20
/* Run the thread all the way through. */
- VgSchedReturnCode src =3D VG_(thread_wrapper)(tid); =20
+ VgSchedReturnCode src =3D ML_(thread_wrapper)(tid); =20
=20
VG_(debugLog)(1, "syscalls-ppc32-linux",=20
"run_a_thread_NORETURN(tid=3D%lld): "
- "VG_(thread_wrapper) done\n",
+ "ML_(thread_wrapper) done\n",
(ULong)tidW);
=20
Int c =3D VG_(count_living_threads)();
@@ -1048,7 +1048,7 @@
//..=20
//.. cloneflags =3D ARG1;
//..=20
-//.. if (!VG_(client_signal_OK)(ARG1 & VKI_CSIGNAL)) {
+//.. if (!ML_(client_signal_OK)(ARG1 & VKI_CSIGNAL)) {
//.. SET_RESULT( -VKI_EINVAL );
//.. return;
//.. }
@@ -1269,7 +1269,7 @@
//..=20
//.. switch (ARG1 /* call */) {
//.. case VKI_SEMOP:
-//.. VG_(generic_PRE_sys_semop)( tid, ARG2, ARG5, ARG3 );
+//.. ML_(generic_PRE_sys_semop)( tid, ARG2, ARG5, ARG3 );
//.. /* tst->sys_flags |=3D MayBlock; */
//.. break;
//.. case VKI_SEMGET:
@@ -1277,15 +1277,15 @@
//.. case VKI_SEMCTL:
//.. {
//.. UWord arg =3D deref_Addr( tid, ARG5, "semctl(arg)" );
-//.. VG_(generic_PRE_sys_semctl)( tid, ARG2, ARG3, ARG4, arg );
+//.. ML_(generic_PRE_sys_semctl)( tid, ARG2, ARG3, ARG4, arg );
//.. break;
//.. }
//.. case VKI_SEMTIMEDOP:
-//.. VG_(generic_PRE_sys_semtimedop)( tid, ARG2, ARG5, ARG3, ARG6 =
);
+//.. ML_(generic_PRE_sys_semtimedop)( tid, ARG2, ARG5, ARG3, ARG6 =
);
//.. /* tst->sys_flags |=3D MayBlock; */
//.. break;
//.. case VKI_MSGSND:
-//.. VG_(generic_PRE_sys_msgsnd)( tid, ARG2, ARG5, ARG3, ARG4 );
+//.. ML_(generic_PRE_sys_msgsnd)( tid, ARG2, ARG5, ARG3, ARG4 );
//.. /* if ((ARG4 & VKI_IPC_NOWAIT) =3D=3D 0)
//.. tst->sys_flags |=3D MayBlock;
//.. */
@@ -1302,7 +1302,7 @@
//.. (Addr) (&((struct vki_ipc_kludge *)ARG5)->msgtyp),
//.. "msgrcv(msgp)" );
//..=20
-//.. VG_(generic_PRE_sys_msgrcv)( tid, ARG2, msgp, ARG3, msgtyp, A=
RG4 );
+//.. ML_(generic_PRE_sys_msgrcv)( tid, ARG2, msgp, ARG3, msgtyp, A=
RG4 );
//..=20
//.. /* if ((ARG4 & VKI_IPC_NOWAIT) =3D=3D 0)
//.. tst->sys_flags |=3D MayBlock;
@@ -1312,22 +1312,22 @@
//.. case VKI_MSGGET:
//.. break;
//.. case VKI_MSGCTL:
-//.. VG_(generic_PRE_sys_msgctl)( tid, ARG2, ARG3, ARG5 );
+//.. ML_(generic_PRE_sys_msgctl)( tid, ARG2, ARG3, ARG5 );
//.. break;
//.. case VKI_SHMAT:
//.. PRE_MEM_WRITE( "shmat(raddr)", ARG4, sizeof(Addr) );
-//.. ARG5 =3D VG_(generic_PRE_sys_shmat)( tid, ARG2, ARG5, ARG3 );
+//.. ARG5 =3D ML_(generic_PRE_sys_shmat)( tid, ARG2, ARG5, ARG3 );
//.. if (ARG5 =3D=3D 0)
//.. SET_RESULT( -VKI_EINVAL );
//.. break;
//.. case VKI_SHMDT:
-//.. if (!VG_(generic_PRE_sys_shmdt)(tid, ARG5))
+//.. if (!ML_(generic_PRE_sys_shmdt)(tid, ARG5))
//.. SET_RESULT( -VKI_EINVAL );
//.. break;
//.. case VKI_SHMGET:
//.. break;
//.. case VKI_SHMCTL: /* IPCOP_shmctl */
-//.. VG_(generic_PRE_sys_shmctl)( tid, ARG2, ARG3, ARG5 );
+//.. ML_(generic_PRE_sys_shmctl)( tid, ARG2, ARG3, ARG5 );
//.. break;
//.. default:
//.. VG_(message)(Vg_DebugMsg, "FATAL: unhandled syscall(ipc) %d",=
ARG1 );
@@ -1345,7 +1345,7 @@
//.. case VKI_SEMCTL:
//.. {
//.. UWord arg =3D deref_Addr( tid, ARG5, "semctl(arg)" );
-//.. VG_(generic_PRE_sys_semctl)( tid, ARG2, ARG3, ARG4, arg );
+//.. ML_(generic_PRE_sys_semctl)( tid, ARG2, ARG3, ARG4, arg );
//.. break;
//.. }
//.. case VKI_SEMTIMEDOP:
@@ -1363,13 +1363,13 @@
//.. (Addr) (&((struct vki_ipc_kludge *)ARG5)->msgtyp),
//.. "msgrcv(msgp)" );
//..=20
-//.. VG_(generic_POST_sys_msgrcv)( tid, RES, ARG2, msgp, ARG3, msg=
typ, ARG4 );
+//.. ML_(generic_POST_sys_msgrcv)( tid, RES, ARG2, msgp, ARG3, msg=
typ, ARG4 );
//.. break;
//.. }
//.. case VKI_MSGGET:
//.. break;
//.. case VKI_MSGCTL:
-//.. VG_(generic_POST_sys_msgctl)( tid, RES, ARG2, ARG3, ARG5 );
+//.. ML_(generic_POST_sys_msgctl)( tid, RES, ARG2, ARG3, ARG5 );
//.. break;
//.. case VKI_SHMAT:
//.. {
@@ -1382,17 +1382,17 @@
//..=20
//.. addr =3D deref_Addr ( tid, ARG4, "shmat(addr)" );
//.. if ( addr > 0 ) {=20
-//.. VG_(generic_POST_sys_shmat)( tid, addr, ARG2, ARG5, ARG3 )=
;
+//.. ML_(generic_POST_sys_shmat)( tid, addr, ARG2, ARG5, ARG3 )=
;
//.. }
//.. break;
//.. }
//.. case VKI_SHMDT:
-//.. VG_(generic_POST_sys_shmdt)( tid, RES, ARG5 );
+//.. ML_(generic_POST_sys_shmdt)( tid, RES, ARG5 );
//.. break;
//.. case VKI_SHMGET:
//.. break;
//.. case VKI_SHMCTL:
-//.. VG_(generic_POST_sys_shmctl)( tid, RES, ARG2, ARG3, ARG5 );
+//.. ML_(generic_POST_sys_shmctl)( tid, RES, ARG2, ARG3, ARG5 );
//.. break;
//.. default:
//.. VG_(message)(Vg_DebugMsg,
Modified: trunk/coregrind/m_syswrap/syswrap-x86-linux.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
--- trunk/coregrind/m_syswrap/syswrap-x86-linux.c 2005-06-23 03:27:57 UTC=
(rev 4002)
+++ trunk/coregrind/m_syswrap/syswrap-x86-linux.c 2005-06-23 07:52:54 UTC=
(rev 4003)
@@ -143,7 +143,7 @@
=20
VG_(debugLog)(1, "syswrap-x86-linux",=20
"run_a_thread_NORETURN(tid=3D%lld): "
- "VG_(thread_wrapper) called\n",
+ "ML_(thread_wrapper) called\n",
(ULong)tidW);
=20
/* Run the thread all the way through. */
@@ -151,7 +151,7 @@
=20
VG_(debugLog)(1, "syswrap-x86-linux",=20
"run_a_thread_NORETURN(tid=3D%lld): "
- "VG_(thread_wrapper) done\n",
+ "ML_(thread_wrapper) done\n",
(ULong)tidW);
=20
Int c =3D VG_(count_living_threads)();
|
|
From: Tom H. <th...@cy...> - 2005-06-23 03:05:11
|
Nightly build on audi ( i686, Red Hat 9 ) started at 2005-06-23 03:25:02 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 == 177 tests, 11 stderr failures, 2 stdout failures ================= memcheck/tests/error_counts (stdout) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigaltstack (stderr) memcheck/tests/xml1 (stderr) corecheck/tests/fdleak_cmsg (stderr) corecheck/tests/pth_cancel1 (stdout) corecheck/tests/pth_cancel1 (stderr) corecheck/tests/pth_cancel2 (stderr) none/tests/faultstatus (stderr) none/tests/pth_blockedsig (stderr) none/tests/x86/int (stderr) |
|
From: <js...@ac...> - 2005-06-23 02:39:17
|
Nightly build on phoenix ( SuSE 9.1 ) started at 2005-06-23 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 == 175 tests, 4 stderr failures, 1 stdout failure ================= memcheck/tests/error_counts (stdout) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-tree (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <to...@co...> - 2005-06-23 02:36:20
|
Nightly build on dunsmere ( athlon, Fedora Core 3 ) started at 2005-06-23 03:30:04 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 == 178 tests, 8 stderr failures, 2 stdout failures ================= memcheck/tests/error_counts (stdout) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/selfrun (stdout) none/tests/selfrun (stderr) none/tests/x86/int (stderr) |
|
From: <sv...@va...> - 2005-06-23 02:26:50
|
Author: njn
Date: 2005-06-23 03:26:47 +0100 (Thu, 23 Jun 2005)
New Revision: 4001
Log:
Removed some repetition in the way VG_(record_fd_open)() is called.
As part of this, VG_(resolve_filename)() no longer calls VG_(malloc)()
and so m_libcfile no longer depends on m_mallocfree.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr.c
trunk/coregrind/m_libcfile.c
trunk/coregrind/m_signals.c
trunk/coregrind/m_syswrap/priv_syswrap-generic.h
trunk/coregrind/m_syswrap/syswrap-generic.c
trunk/coregrind/m_syswrap/syswrap-linux.c
trunk/coregrind/pub_core_libcfile.h
Modified: trunk/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
--- trunk/coregrind/m_aspacemgr/aspacemgr.c 2005-06-23 01:02:53 UTC (rev =
4000)
+++ trunk/coregrind/m_aspacemgr/aspacemgr.c 2005-06-23 02:26:47 UTC (rev =
4001)
@@ -785,8 +785,8 @@
void VG_(map_fd_segment)(Addr addr, SizeT len, UInt prot, UInt flags,=20
Int fd, ULong off, const Char *filename)
{
+ Char buf[VKI_PATH_MAX];
struct vki_stat st;
- Char *name =3D NULL;
=20
st.st_dev =3D 0;
st.st_ino =3D 0;
@@ -799,11 +799,9 @@
}
=20
if ((flags & SF_FILE) && filename =3D=3D NULL && fd !=3D -1)
- name =3D VG_(resolve_filename_nodup)(fd);
+ if (VG_(resolve_filename)(fd, buf, VKI_PATH_MAX))
+ filename =3D buf;
=20
- if (filename =3D=3D NULL)
- filename =3D name;
-
VG_(map_file_segment)(addr, len, prot, flags,=20
st.st_dev, st.st_ino, off, filename);
}
Modified: trunk/coregrind/m_libcfile.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
--- trunk/coregrind/m_libcfile.c 2005-06-23 01:02:53 UTC (rev 4000)
+++ trunk/coregrind/m_libcfile.c 2005-06-23 02:26:47 UTC (rev 4001)
@@ -33,7 +33,6 @@
#include "pub_core_libcassert.h"
#include "pub_core_libcfile.h"
#include "pub_core_libcprint.h" // For VG_(sprintf)()
-#include "pub_core_mallocfree.h"
#include "pub_core_syscall.h"
#include "vki_unistd.h"
=20
@@ -71,34 +70,20 @@
=20
/* Given a file descriptor, attempt to deduce its filename. To do
this, we use /proc/self/fd/<FD>. If this doesn't point to a file,
- or if it doesn't exist, we just return NULL. The caller is
- responsible for copying the contents of buf out immediately. */
-static HChar resolve_filename_buf[VKI_PATH_MAX];
-HChar* VG_(resolve_filename_nodup) ( Int fd )
+ or if it doesn't exist, we return False. */
+Bool VG_(resolve_filename) ( Int fd, HChar* buf, Int n_buf )
{
HChar tmp[64];
=20
VG_(sprintf)(tmp, "/proc/self/fd/%d", fd);
- VG_(memset)(resolve_filename_buf, 0, VKI_PATH_MAX);
+ VG_(memset)(buf, 0, n_buf);
=20
- if (VG_(readlink)(tmp, resolve_filename_buf, VKI_PATH_MAX) =3D=3D -1)
- return NULL;
-
- return (resolve_filename_buf[0] =3D=3D '/')=20
- ? resolve_filename_buf=20
- : NULL;
+ if (VG_(readlink)(tmp, buf, VKI_PATH_MAX) > 0 && buf[0] =3D=3D '/')
+ return True;
+ else
+ return False;
}
=20
-/* Same as resolve_filename_nodup, except that the result is copied=20
- into new memory which the caller is responsible for freeing. */
-HChar* VG_(resolve_filename) ( Int fd )
-{
- HChar* transient =3D VG_(resolve_filename_nodup)(fd);
- return transient
- ? VG_(arena_strdup)(VG_AR_CORE, transient)
- : NULL;
-}
-
/* Returns -1 on failure. */
Int VG_(open) ( const Char* pathname, Int flags, Int mode )
{ =20
Modified: trunk/coregrind/m_signals.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
--- trunk/coregrind/m_signals.c 2005-06-23 01:02:53 UTC (rev 4000)
+++ trunk/coregrind/m_signals.c 2005-06-23 02:26:47 UTC (rev 4001)
@@ -1022,7 +1022,8 @@
=20
static void fill_prpsinfo(const ThreadState *tst, struct vki_elf_prpsinf=
o *prpsinfo)
{
- Char *name;
+ static Char name[VKI_PATH_MAX];
+ Bool res;
=20
VG_(memset)(prpsinfo, 0, sizeof(*prpsinfo));
=20
@@ -1049,12 +1050,10 @@
prpsinfo->pr_uid =3D 0;
prpsinfo->pr_gid =3D 0;
=20
- name =3D VG_(resolve_filename)(VG_(clexecfd));
-
- if (name !=3D NULL) {
+ if (VG_(resolve_filename)(VG_(clexecfd), name, VKI_PATH_MAX)) {
Char *n =3D name+VG_(strlen)(name)-1;
=20
- while(n > name && *n !=3D '/')
+ while (n > name && *n !=3D '/')
n--;
if (n !=3D name)
n++;
Modified: trunk/coregrind/m_syswrap/priv_syswrap-generic.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
--- trunk/coregrind/m_syswrap/priv_syswrap-generic.h 2005-06-23 01:02:53 =
UTC (rev 4000)
+++ trunk/coregrind/m_syswrap/priv_syswrap-generic.h 2005-06-23 02:26:47 =
UTC (rev 4001)
@@ -48,7 +48,7 @@
Bool ML_(fd_allowed)(Int fd, const Char *syscallname, ThreadId tid, Bool=
soft);
=20
extern
-void ML_(record_fd_open)(ThreadId tid, Int fd, char *pathname);
+void ML_(record_fd_open_nameless)(ThreadId tid, Int fd);
=20
// Used when killing threads -- we must not kill a thread if it's the th=
read
// that would do Valgrind's final cleanup and output.
Modified: trunk/coregrind/m_syswrap/syswrap-generic.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
--- trunk/coregrind/m_syswrap/syswrap-generic.c 2005-06-23 01:02:53 UTC (=
rev 4000)
+++ trunk/coregrind/m_syswrap/syswrap-generic.c 2005-06-23 02:26:47 UTC (=
rev 4001)
@@ -345,7 +345,7 @@
some such thing) or that we don't know the filename. If the fd is
already open, then we're probably doing a dup2() to an existing fd,
so just overwrite the existing one. */
-void ML_(record_fd_open)(ThreadId tid, Int fd, char *pathname)
+static void record_fd_open_with_given_name(ThreadId tid, Int fd, char *p=
athname)
{
OpenFd *i;
=20
@@ -374,10 +374,29 @@
}
=20
i->fd =3D fd;
- i->pathname =3D pathname;
+ i->pathname =3D VG_(arena_strdup)(VG_AR_CORE, pathname);
i->where =3D (tid =3D=3D -1) ? NULL : VG_(record_ExeContext)(tid);
}
=20
+// Record opening of an fd, and find its name.
+static void record_fd_open_named(ThreadId tid, Int fd)
+{
+ static HChar buf[VKI_PATH_MAX];
+ Char* name;
+ if (VG_(resolve_filename)(fd, buf, VKI_PATH_MAX))
+ name =3D buf;
+ else
+ name =3D NULL;
+ =20
+ record_fd_open_with_given_name(tid, fd, name);
+}
+
+// Record opening of a nameless fd.
+void ML_(record_fd_open_nameless)(ThreadId tid, Int fd)
+{
+ record_fd_open_with_given_name(tid, fd, NULL);
+}
+
static
Char *unix2name(struct vki_sockaddr_un *sa, UInt len, Char *name)
{
@@ -521,7 +540,7 @@
=20
for (i =3D 0; i < count; i++)
if(VG_(fcntl)(i, VKI_F_GETFL, 0) !=3D -1)
- ML_(record_fd_open)(-1, i, NULL);
+ ML_(record_fd_open_nameless)(-1, i);
}
=20
/* Initialize the list of open file descriptors with the file descriptor=
s
@@ -539,15 +558,15 @@
}
=20
while((ret =3D VG_(getdents)(f, &d, sizeof(d))) !=3D 0) {
- if(ret =3D=3D -1)
+ if (ret =3D=3D -1)
goto out;
=20
- if(VG_(strcmp)(d.d_name, ".") && VG_(strcmp)(d.d_name, "..")) {
+ if (VG_(strcmp)(d.d_name, ".") && VG_(strcmp)(d.d_name, "..")) {
int fno =3D VG_(atoll)(d.d_name);
=20
- if(fno !=3D f)
- if(VG_(clo_track_fds))
- ML_(record_fd_open)(-1, fno, VG_(resolve_filename)(fno));
+ if (fno !=3D f)
+ if (VG_(clo_track_fds))
+ record_fd_open_named(-1, fno);
}
=20
VG_(lseek)(f, d.d_off, VKI_SEEK_SET);
@@ -646,7 +665,7 @@
if(VG_(clo_track_fds))
// XXX: must we check the range on these fds with
// VG_(fd_allowed)()?
- ML_(record_fd_open) (tid, fds[i], VG_(resolve_filename)(f=
ds[i]));
+ record_fd_open_named(tid, fds[i]);
}
=20
cm =3D VKI_CMSG_NXTHDR(msg, cm);
@@ -901,8 +920,8 @@
} else {
POST_MEM_WRITE( arg3, 2*sizeof(int) );
if (VG_(clo_track_fds)) {
- ML_(record_fd_open)(tid, fd1, NULL);
- ML_(record_fd_open)(tid, fd2, NULL);
+ ML_(record_fd_open_nameless)(tid, fd1);
+ ML_(record_fd_open_nameless)(tid, fd2);
}
}
return r;
@@ -920,7 +939,7 @@
r =3D VG_(mk_SysRes_Error)( VKI_EMFILE );
} else {
if (VG_(clo_track_fds))
- ML_(record_fd_open)(tid, res.val, NULL);
+ ML_(record_fd_open_nameless)(tid, res.val);
}
return r;
}
@@ -971,7 +990,7 @@
buf_and_len_post_check ( tid, res, addr_p, addrlen_p,
"socketcall.accept(addrlen_out)" );
if (VG_(clo_track_fds))
- ML_(record_fd_open)(tid, res.val, NULL);
+ ML_(record_fd_open_nameless)(tid, res.val);
}
return r;
}
@@ -2511,7 +2530,7 @@
SET_STATUS_Failure( VKI_EMFILE );
} else {
if (VG_(clo_track_fds))
- ML_(record_fd_open)(tid, RES, VG_(resolve_filename)(RES));
+ record_fd_open_named(tid, RES);
}
}
=20
@@ -2527,7 +2546,7 @@
{
vg_assert(SUCCESS);
if (VG_(clo_track_fds))
- ML_(record_fd_open)(tid, RES, VG_(resolve_filename)(RES));
+ record_fd_open_named(tid, RES);
}
=20
PRE(sys_fchdir)
@@ -2612,7 +2631,7 @@
SET_STATUS_Failure( VKI_EMFILE );
} else {
if (VG_(clo_track_fds))
- ML_(record_fd_open)(tid, RES, VG_(resolve_filename)(RES));
+ record_fd_open_named(tid, RES);
}
}
}
@@ -2678,8 +2697,7 @@
SET_STATUS_Failure( VKI_EMFILE );
} else {
if (VG_(clo_track_fds))
- ML_(record_fd_open)(tid, RES,=20
- VG_(resolve_filename)(RES));
+ record_fd_open_named(tid, RES);
}
}
}
@@ -4564,8 +4582,7 @@
SET_STATUS_Failure( VKI_EMFILE );
} else {
if (VG_(clo_track_fds))
- ML_(record_fd_open)(tid, RES,=20
- VG_(arena_strdup)(VG_AR_CORE, (Char*)A=
RG1));
+ record_fd_open_with_given_name(tid, RES, (Char*)ARG1);
}
}
=20
@@ -4616,7 +4633,7 @@
SET_STATUS_Failure( VKI_EMFILE );
} else {
if (VG_(clo_track_fds))
- ML_(record_fd_open)(tid, RES, VG_(arena_strdup)(VG_AR_CORE, (Ch=
ar*)ARG1));
+ record_fd_open_with_given_name(tid, RES, (Char*)ARG1);
}
}
=20
@@ -4640,8 +4657,8 @@
} else {
POST_MEM_WRITE( ARG1, 2*sizeof(int) );
if (VG_(clo_track_fds)) {
- ML_(record_fd_open)(tid, p[0], NULL);
- ML_(record_fd_open)(tid, p[1], NULL);
+ ML_(record_fd_open_nameless)(tid, p[0]);
+ ML_(record_fd_open_nameless)(tid, p[1]);
}
}
}
@@ -5412,7 +5429,7 @@
SET_STATUS_Failure( VKI_EMFILE );
} else {
if (VG_(clo_track_fds))
- ML_(record_fd_open)(tid, RES, VG_(arena_strdup)(VG_AR_CORE, (Ch=
ar*)ARG1));
+ record_fd_open_with_given_name(tid, RES, (Char*)ARG1);
}
}
=20
Modified: trunk/coregrind/m_syswrap/syswrap-linux.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
--- trunk/coregrind/m_syswrap/syswrap-linux.c 2005-06-23 01:02:53 UTC (re=
v 4000)
+++ trunk/coregrind/m_syswrap/syswrap-linux.c 2005-06-23 02:26:47 UTC (re=
v 4001)
@@ -535,7 +535,7 @@
SET_STATUS_Failure( VKI_EMFILE );
} else {
if (VG_(clo_track_fds))
- ML_(record_fd_open)(tid, RES, VG_(arena_strdup)(VG_AR_CORE, =
(Char*)ARG1));
+ ML_(record_fd_open_nameless)(tid, RES);
}
}
}
@@ -553,7 +553,7 @@
SET_STATUS_Failure( VKI_EMFILE );
} else {
if (VG_(clo_track_fds))
- ML_(record_fd_open) (tid, RES, NULL);
+ ML_(record_fd_open_nameless) (tid, RES);
}
}
=20
Modified: trunk/coregrind/pub_core_libcfile.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
--- trunk/coregrind/pub_core_libcfile.h 2005-06-23 01:02:53 UTC (rev 4000=
)
+++ trunk/coregrind/pub_core_libcfile.h 2005-06-23 02:26:47 UTC (rev 4001=
)
@@ -47,8 +47,7 @@
extern Int VG_(fcntl) ( Int fd, Int cmd, Int arg );
=20
/* Convert an fd into a filename */
-extern HChar* VG_(resolve_filename_nodup) ( Int fd );
-extern HChar* VG_(resolve_filename) ( Int fd );
+extern Bool VG_(resolve_filename) ( Int fd, HChar* buf, Int n_buf );
=20
/* Default destination port to be used in logging over a network, if
none specified. */
|
|
From: Tom H. <th...@cy...> - 2005-06-23 02:20:43
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2005-06-23 03:15:02 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 == 176 tests, 13 stderr failures, 2 stdout failures ================= memcheck/tests/addressable (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/error_counts (stdout) 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/pointer-trace (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/xml1 (stderr) corecheck/tests/fdleak_cmsg (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) none/tests/yield (stdout) |
|
From: Tom H. <th...@cy...> - 2005-06-23 02:11:33
|
Nightly build on dellow ( x86_64, Fedora Core 3 ) started at 2005-06-23 03:10:04 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... failed Last 20 lines of log.verbose follow syswrap-amd64-linux.c:1021: warning: implicit declaration of function `vgPlain_generic_PRE_sys_shmat' syswrap-amd64-linux.c: In function `vgSysWrap_amd64_linux_wrap_sys_shmat_after': syswrap-amd64-linux.c:1029: warning: implicit declaration of function `vgPlain_generic_POST_sys_shmat' syswrap-amd64-linux.c: In function `vgSysWrap_amd64_linux_sys_shmdt_before': syswrap-amd64-linux.c:1036: warning: implicit declaration of function `vgPlain_generic_PRE_sys_shmdt' syswrap-amd64-linux.c: In function `vgSysWrap_amd64_linux_sys_shmdt_after': syswrap-amd64-linux.c:1041: warning: implicit declaration of function `vgPlain_generic_POST_sys_shmdt' syswrap-amd64-linux.c: In function `vgSysWrap_amd64_linux_sys_shmctl_before': syswrap-amd64-linux.c:1049: warning: implicit declaration of function `vgPlain_generic_PRE_sys_shmctl' syswrap-amd64-linux.c: In function `vgSysWrap_amd64_linux_sys_shmctl_after': syswrap-amd64-linux.c:1053: warning: implicit declaration of function `vgPlain_generic_POST_sys_shmctl' make[4]: *** [syswrap-amd64-linux.o] Error 1 make[4]: Leaving directory `/tmp/valgrind.7076/valgrind/coregrind/m_syswrap' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/valgrind.7076/valgrind/coregrind' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/valgrind.7076/valgrind/coregrind' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/valgrind.7076/valgrind' make: *** [all] Error 2 |
|
From: Tom H. <th...@cy...> - 2005-06-23 02:01:36
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2005-06-23 03:00:02 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... failed Last 20 lines of log.verbose follow syswrap-amd64-linux.c:1021: warning: implicit declaration of function `vgPlain_generic_PRE_sys_shmat' syswrap-amd64-linux.c: In function `vgSysWrap_amd64_linux_wrap_sys_shmat_after': syswrap-amd64-linux.c:1029: warning: implicit declaration of function `vgPlain_generic_POST_sys_shmat' syswrap-amd64-linux.c: In function `vgSysWrap_amd64_linux_sys_shmdt_before': syswrap-amd64-linux.c:1036: warning: implicit declaration of function `vgPlain_generic_PRE_sys_shmdt' syswrap-amd64-linux.c: In function `vgSysWrap_amd64_linux_sys_shmdt_after': syswrap-amd64-linux.c:1041: warning: implicit declaration of function `vgPlain_generic_POST_sys_shmdt' syswrap-amd64-linux.c: In function `vgSysWrap_amd64_linux_sys_shmctl_before': syswrap-amd64-linux.c:1049: warning: implicit declaration of function `vgPlain_generic_PRE_sys_shmctl' syswrap-amd64-linux.c: In function `vgSysWrap_amd64_linux_sys_shmctl_after': syswrap-amd64-linux.c:1053: warning: implicit declaration of function `vgPlain_generic_POST_sys_shmctl' make[4]: *** [syswrap-amd64-linux.o] Error 1 make[4]: Leaving directory `/tmp/valgrind.11025/valgrind/coregrind/m_syswrap' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/valgrind.11025/valgrind/coregrind' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/valgrind.11025/valgrind/coregrind' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/valgrind.11025/valgrind' make: *** [all] Error 2 |
|
From: <sv...@va...> - 2005-06-23 01:03:26
|
Author: sewardj
Date: 2005-06-23 02:02:53 +0100 (Thu, 23 Jun 2005)
New Revision: 4000
Log:
For symbols which have C-level global scope but which we regard as
module-local, use the new ML_ prefix instead of VG_. This makes it
trivial to see which names are those exported from public module
interfaces: precisely those using VG_.
/* VG_ is for symbols exported from modules. ML_ (module-local) is
for symbols which are not intended to be visible outside modules,
but which cannot be declared as C 'static's since they need to be
visible across C files within a given module. It is a mistake for
a ML_ name to appear in a pub_core_*.h or pub_tool_*.h file.
Likewise it is a mistake for a VG_ name to appear in a priv_*.h
file.=20
*/
Modified:
trunk/coregrind/m_debuginfo/dwarf.c
trunk/coregrind/m_debuginfo/priv_symtab.h
trunk/coregrind/m_debuginfo/priv_symtypes.h
trunk/coregrind/m_debuginfo/stabs.c
trunk/coregrind/m_debuginfo/symtab.c
trunk/coregrind/m_debuginfo/symtypes.c
trunk/coregrind/m_scheduler/priv_sema.h
trunk/coregrind/m_scheduler/scheduler.c
trunk/coregrind/m_scheduler/sema.c
trunk/coregrind/m_syswrap/priv_syswrap-generic.h
trunk/coregrind/m_syswrap/priv_syswrap-linux.h
trunk/coregrind/m_syswrap/priv_syswrap-main.h
trunk/coregrind/m_syswrap/syswrap-generic.c
trunk/coregrind/m_syswrap/syswrap-linux.c
trunk/coregrind/m_syswrap/syswrap-main.c
trunk/coregrind/m_syswrap/syswrap-x86-linux.c
trunk/include/pub_tool_basics_asm.h
Modified: trunk/coregrind/m_debuginfo/dwarf.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
--- trunk/coregrind/m_debuginfo/dwarf.c 2005-06-23 00:17:51 UTC (rev 3999=
)
+++ trunk/coregrind/m_debuginfo/dwarf.c 2005-06-23 01:02:53 UTC (rev 4000=
)
@@ -317,7 +317,7 @@
=20
if (state_machine_regs.is_stmt) {
if (state_machine_regs.last_address)
- VG_(addLineInfo) (
+ ML_(addLineInfo) (
si,=20
(Char*)index_WordArray(filenames,=20
state_machine_regs.last_file),=20
@@ -339,7 +339,7 @@
=20
case DW_LNE_define_file:
name =3D data;
- addto_WordArray( filenames, (Word)VG_(addStr)(si,name,-1) );
+ addto_WordArray( filenames, (Word)ML_(addStr)(si,name,-1) );
data +=3D VG_(strlen) ((char *) data) + 1;
read_leb128 (data, & bytes_read, 0);
data +=3D bytes_read;
@@ -420,9 +420,9 @@
addto_WordArray( &filenames, (Word)NULL );
=20
if (ui->compdir)
- addto_WordArray( &dirnames, (Word)VG_(addStr)(si, ui->compdir, -1)=
);
+ addto_WordArray( &dirnames, (Word)ML_(addStr)(si, ui->compdir, -1)=
);
else
- addto_WordArray( &dirnames, (Word)VG_(addStr)(si, ".", -1) );
+ addto_WordArray( &dirnames, (Word)ML_(addStr)(si, ".", -1) );
=20
addto_WordArray( &fnidx2dir, (Word)0 ); /* compilation dir */
=20
@@ -433,12 +433,12 @@
info.li_length =3D * ((UInt *)(external->li_length));
=20
if (info.li_length =3D=3D 0xffffffff) {
- VG_(symerr)("64-bit DWARF line info is not supported yet.");
+ ML_(symerr)("64-bit DWARF line info is not supported yet.");
goto out;
}
=20
if (info.li_length + sizeof (external->li_length) > noLargerThan) {
- VG_(symerr)("DWARF line info appears to be corrupt "
+ ML_(symerr)("DWARF line info appears to be corrupt "
"- the section is too small");
goto out;
}
@@ -446,7 +446,7 @@
/* Check its version number. */
info.li_version =3D * ((UShort *) (external->li_version));
if (info.li_version !=3D 2) {
- VG_(symerr)("Only DWARF version 2 line info "
+ ML_(symerr)("Only DWARF version 2 line info "
"is currently supported.");
goto out;
}
@@ -519,11 +519,11 @@
VG_(strcat)(buf, "/");
VG_(strcat)(buf, data);
vg_assert(VG_(strlen)(buf) < NBUF);
- addto_WordArray( &dirnames, (Word)VG_(addStr)(si,buf,-1) );
+ addto_WordArray( &dirnames, (Word)ML_(addStr)(si,buf,-1) );
if (0) VG_(printf)("rel path %s\n", buf);
} else {
/* just use 'data'. */
- addto_WordArray( &dirnames, (Word)VG_(addStr)(si,data,-1) );
+ addto_WordArray( &dirnames, (Word)ML_(addStr)(si,data,-1) );
if (0) VG_(printf)("abs path %s\n", data);
}
=20
@@ -532,7 +532,7 @@
# undef NBUF
}
if (*data !=3D 0) {
- VG_(symerr)("can't find NUL at end of DWARF2 directory table");
+ ML_(symerr)("can't find NUL at end of DWARF2 directory table");
goto out;
}
data ++;
@@ -553,12 +553,12 @@
read_leb128 (data, & bytes_read, 0);
data +=3D bytes_read;
=20
- addto_WordArray( &filenames, (Word)VG_(addStr)(si,name,-1) );
+ addto_WordArray( &filenames, (Word)ML_(addStr)(si,name,-1) );
addto_WordArray( &fnidx2dir, (Word)diridx );
if (0) VG_(printf)("file %s diridx %d\n", name, diridx );
}
if (*data !=3D 0) {
- VG_(symerr)("can't find NUL at end of DWARF2 file name table");
+ ML_(symerr)("can't find NUL at end of DWARF2 file name table");
goto out;
}
data ++;
@@ -592,7 +592,7 @@
if (state_machine_regs.is_stmt) {
/* only add a statement if there was a previous boundary */
if (state_machine_regs.last_address)=20
- VG_(addLineInfo)(
+ ML_(addLineInfo)(
si,=20
(Char*)index_WordArray( &filenames,
state_machine_regs.last_file )=
,
@@ -624,7 +624,7 @@
if (state_machine_regs.is_stmt) {
/* only add a statement if there was a previous boundary =
*/
if (state_machine_regs.last_address)=20
- VG_(addLineInfo)(
+ ML_(addLineInfo)(
si,=20
(Char*)index_WordArray( &filenames,
state_machine_regs.last_fil=
e ),
@@ -901,7 +901,7 @@
* Inputs: given .debug_xxx sections
* Output: update si to contain all the dwarf2 debug infos
*/
-void VG_(read_debuginfo_dwarf2)=20
+void ML_(read_debuginfo_dwarf2)=20
( SegInfo* si,
UChar* debuginfo, Int debug_info_sz, /* .debug_info */
UChar* debugabbrev, /* .debug_abbrev */
@@ -922,13 +922,13 @@
blklen =3D *((UInt*)block); /* This block length */
=20
if ( block + blklen + 4 > end ) {
- VG_(symerr)( "Last block truncated in .debug_info; ignoring" );
+ ML_(symerr)( "Last block truncated in .debug_info; ignoring" );
return;
}
ver =3D *((UShort*)(block + 4)); /* version should be 2 */
=20
if ( ver !=3D 2 ) {
- VG_(symerr)( "Ignoring non-dwarf2 block in .debug_info" );
+ ML_(symerr)( "Ignoring non-dwarf2 block in .debug_info" );
continue;
}
=20
@@ -1109,7 +1109,7 @@
=20
/* end of enums taken from gdb-6.0 sources */
=20
-void VG_(read_debuginfo_dwarf1) (=20
+void ML_(read_debuginfo_dwarf1) (=20
SegInfo* si,=20
UChar* dwarf1d, Int dwarf1d_sz,=20
UChar* dwarf1l, Int dwarf1l_sz )
@@ -1215,7 +1215,7 @@
UChar* ptr;
UInt prev_line, prev_delta;
=20
- curr_filenm =3D VG_(addStr) ( si, src_filename, -1 );
+ curr_filenm =3D ML_(addStr) ( si, src_filename, -1 );
prev_line =3D prev_delta =3D 0;
=20
ptr =3D dwarf1l + stmt_list;
@@ -1236,7 +1236,7 @@
if (delta > 0 && prev_line > 0) {
if (0) VG_(printf) (" %d %d-%d\n",
prev_line, prev_delta, delta-1);
- VG_(addLineInfo) ( si, curr_filenm, NULL,
+ ML_(addLineInfo) ( si, curr_filenm, NULL,
base + prev_delta, base + delta,
prev_line, 0 );
}
@@ -1457,7 +1457,7 @@
=20
/* ------------ Deal with summary-info records ------------ */
=20
-void VG_(ppCfiSI) ( CfiSI* si )
+void ML_(ppCfiSI) ( CfiSI* si )
{
# define SHOW_HOW(_how, _off) \
do { \
@@ -2125,9 +2125,9 @@
if (loc_prev !=3D ctx->loc && si) {
summ_ok =3D summarise_context ( &cfisi, loc_prev, ctx );
if (summ_ok) {
- VG_(addCfiSI)(si, &cfisi);
+ ML_(addCfiSI)(si, &cfisi);
if (VG_(clo_trace_cfi))
- VG_(ppCfiSI)(&cfisi);
+ ML_(ppCfiSI)(&cfisi);
}
}
}
@@ -2137,9 +2137,9 @@
if (si) {
summ_ok =3D summarise_context ( &cfisi, loc_prev, ctx );
if (summ_ok) {
- VG_(addCfiSI)(si, &cfisi);
+ ML_(addCfiSI)(si, &cfisi);
if (VG_(clo_trace_cfi))
- VG_(ppCfiSI)(&cfisi);
+ ML_(ppCfiSI)(&cfisi);
}
}
}
@@ -2184,7 +2184,7 @@
static CIE the_CIEs[N_CIEs];
=20
=20
-void VG_(read_callframe_info_dwarf2)=20
+void ML_(read_callframe_info_dwarf2)=20
( /*OUT*/SegInfo* si,=20
UChar* ehframe, Int ehframe_sz, Addr ehframe_addr )
{
Modified: trunk/coregrind/m_debuginfo/priv_symtab.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
--- trunk/coregrind/m_debuginfo/priv_symtab.h 2005-06-23 00:17:51 UTC (re=
v 3999)
+++ trunk/coregrind/m_debuginfo/priv_symtab.h 2005-06-23 01:02:53 UTC (re=
v 4000)
@@ -163,7 +163,7 @@
}
CfiSI;
=20
-extern void VG_(ppCfiSI) ( CfiSI* );
+extern void ML_(ppCfiSI) ( CfiSI* );
=20
=20
/* A structure which contains information pertaining to one mapped
@@ -232,29 +232,29 @@
};
=20
extern
-Char *VG_(addStr) ( SegInfo* si, Char* str, Int len );
+Char *ML_(addStr) ( SegInfo* si, Char* str, Int len );
=20
extern
-void VG_(addScopeInfo) ( SegInfo* si, Addr this, Addr next, Scope *scope=
);
+void ML_(addScopeInfo) ( SegInfo* si, Addr this, Addr next, Scope *scope=
);
=20
extern
-void VG_(addLineInfo) ( SegInfo* si,=20
+void ML_(addLineInfo) ( SegInfo* si,=20
Char* filename,=20
Char* dirname, /* NULL is allowable */
Addr this, Addr next, Int lineno, Int entry);
=20
extern
-void VG_(addCfiSI) ( SegInfo* si, CfiSI* cfisi );
+void ML_(addCfiSI) ( SegInfo* si, CfiSI* cfisi );
=20
/* Non-fatal -- use vg_panic if terminal. */
extern
-void VG_(symerr) ( Char* msg );
+void ML_(symerr) ( Char* msg );
=20
/* --------------------
Stabs reader
-------------------- */
extern
-void VG_(read_debuginfo_stabs) ( SegInfo* si,
+void ML_(read_debuginfo_stabs) ( SegInfo* si,
UChar* stabC, Int stab_sz,=20
UChar* stabstr, Int stabstr_sz );
=20
@@ -262,7 +262,7 @@
DWARF2 reader
-------------------- */
extern
-void VG_(read_debuginfo_dwarf2)=20
+void ML_(read_debuginfo_dwarf2)=20
( SegInfo* si,
UChar* debuginfo, Int debug_info_sz, /* .debug_info */
UChar* debugabbrev, /* .debug_abbrev */
@@ -273,7 +273,7 @@
DWARF1 reader
-------------------- */
extern
-void VG_(read_debuginfo_dwarf1) ( SegInfo* si,=20
+void ML_(read_debuginfo_dwarf1) ( SegInfo* si,=20
UChar* dwarf1d, Int dwarf1d_sz,=20
UChar* dwarf1l, Int dwarf1l_sz );
=20
@@ -281,7 +281,7 @@
CFI reader
-------------------- */
extern
-void VG_(read_callframe_info_dwarf2)=20
+void ML_(read_callframe_info_dwarf2)=20
( /*OUT*/SegInfo* si, UChar* ehframe, Int ehframe_sz, Addr ehframe_a=
ddr );
=20
=20
Modified: trunk/coregrind/m_debuginfo/priv_symtypes.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
--- trunk/coregrind/m_debuginfo/priv_symtypes.h 2005-06-23 00:17:51 UTC (=
rev 3999)
+++ trunk/coregrind/m_debuginfo/priv_symtypes.h 2005-06-23 01:02:53 UTC (=
rev 4000)
@@ -43,49 +43,49 @@
unresolved symbols. If type is not a typedef, then this is just
returns type.
*/
-SymType *VG_(st_basetype)(SymType *type, Bool resolve);
+SymType *ML_(st_basetype)(SymType *type, Bool resolve);
=20
-void VG_(st_setname)(SymType *ty, Char *name);
+void ML_(st_setname)(SymType *ty, Char *name);
=20
typedef void (SymResolver)(SymType *, void *);
=20
/* Create an unresolved type */
-SymType *VG_(st_mkunresolved)(SymType *, SymResolver *resolve, void *dat=
a);
+SymType *ML_(st_mkunresolved)(SymType *, SymResolver *resolve, void *dat=
a);
=20
/* update an unresolved type's data */
-void VG_(st_unresolved_setdata)(SymType *, SymResolver *resolve, void *d=
ata);
+void ML_(st_unresolved_setdata)(SymType *, SymResolver *resolve, void *d=
ata);
=20
-Bool VG_(st_isresolved)(SymType *);
-UInt VG_(st_sizeof)(SymType *);
+Bool ML_(st_isresolved)(SymType *);
+UInt ML_(st_sizeof)(SymType *);
=20
/* Unknown type (unparsable) */
-SymType *VG_(st_mkunknown)(SymType *);
+SymType *ML_(st_mkunknown)(SymType *);
=20
-SymType *VG_(st_mkvoid)(SymType *);
+SymType *ML_(st_mkvoid)(SymType *);
=20
-SymType *VG_(st_mkint)(SymType *, UInt size, Bool isSigned);
-SymType *VG_(st_mkbool)(SymType *, UInt size);
-SymType *VG_(st_mkchar)(SymType *, Bool isSigned);
-SymType *VG_(st_mkfloat)(SymType *, UInt size);
-SymType *VG_(st_mkdouble)(SymType *, UInt size);
+SymType *ML_(st_mkint)(SymType *, UInt size, Bool isSigned);
+SymType *ML_(st_mkbool)(SymType *, UInt size);
+SymType *ML_(st_mkchar)(SymType *, Bool isSigned);
+SymType *ML_(st_mkfloat)(SymType *, UInt size);
+SymType *ML_(st_mkdouble)(SymType *, UInt size);
=20
-SymType *VG_(st_mkpointer)(SymType *, SymType *);
-SymType *VG_(st_mkrange)(SymType *, SymType *, Int min, Int max);
+SymType *ML_(st_mkpointer)(SymType *, SymType *);
+SymType *ML_(st_mkrange)(SymType *, SymType *, Int min, Int max);
=20
-SymType *VG_(st_mkstruct)(SymType *, UInt size, UInt nfields);
-SymType *VG_(st_mkunion)(SymType *, UInt size, UInt nfields);
-void VG_(st_addfield)(SymType *, Char *name, SymType *, UInt off, UInt s=
ize);
+SymType *ML_(st_mkstruct)(SymType *, UInt size, UInt nfields);
+SymType *ML_(st_mkunion)(SymType *, UInt size, UInt nfields);
+void ML_(st_addfield)(SymType *, Char *name, SymType *, UInt off, UInt s=
ize);
=20
-SymType *VG_(st_mkenum)(SymType *, UInt ntags);
-SymType *VG_(st_addtag)(SymType *, Char *name, Int val);
+SymType *ML_(st_mkenum)(SymType *, UInt ntags);
+SymType *ML_(st_addtag)(SymType *, Char *name, Int val);
=20
-SymType *VG_(st_mkarray)(SymType *, SymType *idxtype, SymType *artype);
+SymType *ML_(st_mkarray)(SymType *, SymType *idxtype, SymType *artype);
=20
-SymType *VG_(st_mktypedef)(SymType *, Char *name, SymType *type);
+SymType *ML_(st_mktypedef)(SymType *, Char *name, SymType *type);
=20
-Bool VG_(st_isstruct)(SymType *);
-Bool VG_(st_isunion)(SymType *);
-Bool VG_(st_isenum)(SymType *);
+Bool ML_(st_isstruct)(SymType *);
+Bool ML_(st_isunion)(SymType *);
+Bool ML_(st_isenum)(SymType *);
=20
/* ------------------------------------------------------------
Interface with symtab.c
@@ -104,7 +104,7 @@
Variable *container;
};
=20
-Variable *VG_(get_scope_variables)(ThreadId tid);
+Variable *ML_(get_scope_variables)(ThreadId tid);
=20
#endif // __PRIV_SYMTYPES_H
=20
Modified: trunk/coregrind/m_debuginfo/stabs.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
--- trunk/coregrind/m_debuginfo/stabs.c 2005-06-23 00:17:51 UTC (rev 3999=
)
+++ trunk/coregrind/m_debuginfo/stabs.c 2005-06-23 01:02:53 UTC (rev 4000=
)
@@ -153,11 +153,11 @@
=20
sl =3D VG_(arena_malloc)(VG_AR_SYMTAB, sizeof(*sl));
if (isstruct)
- ty =3D VG_(st_mkstruct)(def, 0, 0);
+ ty =3D ML_(st_mkstruct)(def, 0, 0);
else
- ty =3D VG_(st_mkunion)(def, 0, 0);
+ ty =3D ML_(st_mkunion)(def, 0, 0);
=20
- VG_(st_setname)(ty, name);
+ ML_(st_setname)(ty, name);
sl->isstruct =3D isstruct;
sl->type =3D ty;
sl->name =3D name;
@@ -190,9 +190,9 @@
VG_(printf)("defining %s ref for %s %p -> %p\n",
isstruct ? "struct" : "union", name, ref, def);
=20
- def =3D VG_(st_mktypedef)(ref, name, VG_(st_basetype)(def, False))=
;
+ def =3D ML_(st_mktypedef)(ref, name, ML_(st_basetype)(def, False))=
;
}
- VG_(st_setname)(def, name);
+ ML_(st_setname)(def, name);
return def;
}
=20
@@ -484,7 +484,7 @@
{
static const Bool debug =3D False || stabs_debug;
Char *str =3D (Char *)data;
- vg_assert(!VG_(st_isresolved)(st));
+ vg_assert(!ML_(st_isresolved)(st));
=20
if (debug)
VG_(printf)("stab_resolve: failing to do anything useful with symt=
ype %p=3D%s\n",=20
@@ -555,7 +555,7 @@
}
=20
if (stabtype->type =3D=3D NULL) {
- stabtype->type =3D VG_(st_mkunresolved)(def, stab_resolve, NULL);
+ stabtype->type =3D ML_(st_mkunresolved)(def, stab_resolve, NULL);
if (debug)
VG_(printf)("making (%d,%d) %p unresolved\n", file, sym, stabtyp=
e->type);
}
@@ -567,16 +567,16 @@
/* a type definition */
p++;
=20
- if (VG_(st_isresolved)(symtype)) {
+ if (ML_(st_isresolved)(symtype)) {
/* a redefinition; clear the old type out */
StabType *stabtype =3D getStabType(tab, file, sym);
=20
- symtype =3D stabtype->type =3D VG_(st_mkunresolved)(NULL, stab_reso=
lve, NULL);
+ symtype =3D stabtype->type =3D ML_(st_mkunresolved)(NULL, stab_reso=
lve, NULL);
if (debug)
VG_(printf)("creating new type %p for definition (%d,%d)\n",
symtype, file, sym);
} else
- VG_(st_unresolved_setdata)(symtype, stab_resolve, p);
+ ML_(st_unresolved_setdata)(symtype, stab_resolve, p);
=20
if (debug)
VG_(printf)("defining type %p (%d,%d) =3D %s\n", symtype, file, sym=
, p);
@@ -600,23 +600,23 @@
vg_assert(stabtype->type !=3D NULL);
if (0) {
/* XXX bogus */
- vg_assert(!VG_(st_isresolved)(stabtype->type));
+ vg_assert(!ML_(st_isresolved)(stabtype->type));
VG_(arena_free)(VG_AR_SYMTAB, stabtype->type); /* XXX proper fre=
e method? */
}
stabtype->type =3D type;
- } else if (!VG_(st_isresolved)(type)) {
+ } else if (!ML_(st_isresolved)(type)) {
/* If type is defined in terms of itself, and is
therefore not resolved, it is void */
if (debug)
VG_(printf)("type %p is defined in terms of self - making void\n=
", type);
- type =3D VG_(st_mkvoid)(type);
+ type =3D ML_(st_mkvoid)(type);
}
} else {
/* just a type reference */
type =3D symtype;
- if ((0 || debug) && !VG_(st_isresolved)(type))
+ if ((0 || debug) && !ML_(st_isresolved)(type))
VG_(printf)("type %p (%d,%d) is unresolved\n", type, file, sym);
- if ((0 || debug) && VG_(st_isresolved)(type))
+ if ((0 || debug) && ML_(st_isresolved)(type))
VG_(printf)("reference (%d,%d) -> %p\n", file, sym, type);
}
break;
@@ -627,35 +627,35 @@
p--;
n =3D atoi(&p, 0);
switch(n) {
- case -1: type =3D VG_(st_mkint)(def, 4, True); break;
- case -2: type =3D VG_(st_mkint)(def, 1, True); break;
- case -3: type =3D VG_(st_mkint)(def, 2, True); break;
- case -4: type =3D VG_(st_mkint)(def, 4, True); break;
- case -5: type =3D VG_(st_mkint)(def, 1, False); break;
- case -6: type =3D VG_(st_mkint)(def, 1, True); break;
- case -7: type =3D VG_(st_mkint)(def, 2, False); break;
- case -8: type =3D VG_(st_mkint)(def, 4, False); break;
- case -9: type =3D VG_(st_mkint)(def, 4, False); break;
- case -10: type =3D VG_(st_mkint)(def, 4, False); break;
- case -11: type =3D VG_(st_mkvoid)(def); break;
- case -12: type =3D VG_(st_mkfloat)(def, 4); break;
- case -13: type =3D VG_(st_mkfloat)(def, 8); break;
- case -15: type =3D VG_(st_mkint)(def, 4, True); break;
- case -16: type =3D VG_(st_mkbool)(def, 4); break;
- case -17: type =3D VG_(st_mkfloat)(def, 4); break;
- case -18: type =3D VG_(st_mkfloat)(def, 8); break;
- case -20: type =3D VG_(st_mkint)(def, 1, False); break;
- case -21: type =3D VG_(st_mkint)(def, 1, False); break;
- case -22: type =3D VG_(st_mkint)(def, 2, False); break;
- case -23: type =3D VG_(st_mkint)(def, 4, False); break;
- case -24: type =3D VG_(st_mkint)(def, 4, False); break;
- case -27: type =3D VG_(st_mkint)(def, 1, True); break;
- case -28: type =3D VG_(st_mkint)(def, 2, True); break;
- case -29: type =3D VG_(st_mkint)(def, 4, True); break;
- case -31: type =3D VG_(st_mkint)(def, 8, True); break;
- case -32: type =3D VG_(st_mkint)(def, 8, False); break;
- case -33: type =3D VG_(st_mkint)(def, 8, False); break;
- case -34: type =3D VG_(st_mkint)(def, 8, True); break;
+ case -1: type =3D ML_(st_mkint)(def, 4, True); break;
+ case -2: type =3D ML_(st_mkint)(def, 1, True); break;
+ case -3: type =3D ML_(st_mkint)(def, 2, True); break;
+ case -4: type =3D ML_(st_mkint)(def, 4, True); break;
+ case -5: type =3D ML_(st_mkint)(def, 1, False); break;
+ case -6: type =3D ML_(st_mkint)(def, 1, True); break;
+ case -7: type =3D ML_(st_mkint)(def, 2, False); break;
+ case -8: type =3D ML_(st_mkint)(def, 4, False); break;
+ case -9: type =3D ML_(st_mkint)(def, 4, False); break;
+ case -10: type =3D ML_(st_mkint)(def, 4, False); break;
+ case -11: type =3D ML_(st_mkvoid)(def); break;
+ case -12: type =3D ML_(st_mkfloat)(def, 4); break;
+ case -13: type =3D ML_(st_mkfloat)(def, 8); break;
+ case -15: type =3D ML_(st_mkint)(def, 4, True); break;
+ case -16: type =3D ML_(st_mkbool)(def, 4); break;
+ case -17: type =3D ML_(st_mkfloat)(def, 4); break;
+ case -18: type =3D ML_(st_mkfloat)(def, 8); break;
+ case -20: type =3D ML_(st_mkint)(def, 1, False); break;
+ case -21: type =3D ML_(st_mkint)(def, 1, False); break;
+ case -22: type =3D ML_(st_mkint)(def, 2, False); break;
+ case -23: type =3D ML_(st_mkint)(def, 4, False); break;
+ case -24: type =3D ML_(st_mkint)(def, 4, False); break;
+ case -27: type =3D ML_(st_mkint)(def, 1, True); break;
+ case -28: type =3D ML_(st_mkint)(def, 2, True); break;
+ case -29: type =3D ML_(st_mkint)(def, 4, True); break;
+ case -31: type =3D ML_(st_mkint)(def, 8, True); break;
+ case -32: type =3D ML_(st_mkint)(def, 8, False); break;
+ case -33: type =3D ML_(st_mkint)(def, 8, False); break;
+ case -34: type =3D ML_(st_mkint)(def, 8, True); break;
=20
default:
VG_(printf)(" @@ unrecognized negative type %d\n", n);
@@ -673,7 +673,7 @@
=20
case 't': { /* typedef: 't' TYPE */
SymType *td =3D stabtype_parser(si, NULL, &p);
- type =3D VG_(st_mktypedef)(def, NULL, td);
+ type =3D ML_(st_mktypedef)(def, NULL, td);
break;
}
=20
@@ -685,7 +685,7 @@
bytes =3D atoi(&p, 0);
EXPECT(';', "FP-TYPE bytes");
=20
- type =3D VG_(st_mkfloat)(def, bytes);
+ type =3D ML_(st_mkfloat)(def, bytes);
break;
}
=20
@@ -710,16 +710,16 @@
if (rtype =3D=3D def) {
if (debug)
VG_(printf)("type %p is subrange of self - making int\n", def);
- type =3D VG_(st_mkint)(def, sizeof(int), False);
+ type =3D ML_(st_mkint)(def, sizeof(int), False);
} else if (min > max && max =3D=3D 0) {
if (debug)
VG_(printf)("type %p has backwards range %d - %d: making float\n",=20
def, min, max);
- type =3D VG_(st_mkfloat)(def, min);
+ type =3D ML_(st_mkfloat)(def, min);
} else
- type =3D VG_(st_mkrange)(def, rtype, min, max);
+ type =3D ML_(st_mkrange)(def, rtype, min, max);
=20
- vg_assert(VG_(st_isresolved)(type));
+ vg_assert(ML_(st_isresolved)(type));
break;
}
=20
@@ -727,7 +727,7 @@
case '*': { /* pointer */
/* ('*' | '&') TYPE */
type =3D stabtype_parser(si, NULL, &p);
- type =3D VG_(st_mkpointer)(def, type);
+ type =3D ML_(st_mkpointer)(def, type);
break;
}
=20
@@ -746,7 +746,7 @@
p =3D templ_name(name);
EXPECT(':', "struct/union/enum ref");
=20
- name =3D VG_(addStr)(si, name, p-1-name);
+ name =3D ML_(addStr)(si, name, p-1-name);
=20
switch (kind) {
case 's': /* struct */
@@ -755,7 +755,7 @@
break;
=20
case 'e': /* enum */
- type =3D VG_(st_mkenum)(def, 0);
+ type =3D ML_(st_mkenum)(def, 0);
break;
=20
default:
@@ -772,7 +772,7 @@
=20
typeinfo =3D stabtype_parser(si, NULL, &p);
=20
- type =3D VG_(st_mkarray)(def, typeinfo, VG_(st_mkint)(NULL, 1, Tru=
e));
+ type =3D ML_(st_mkarray)(def, typeinfo, ML_(st_mkint)(NULL, 1, Tru=
e));
break;
}
=20
@@ -785,7 +785,7 @@
idxtype =3D stabtype_parser(si, NULL, &p);
artype =3D stabtype_parser(si, NULL, &p);
=20
- type =3D VG_(st_mkarray)(def, idxtype, artype);
+ type =3D ML_(st_mkarray)(def, idxtype, artype);
=20
break;
}
@@ -793,7 +793,7 @@
case 'e': { /* enum */
/* 'e' ( NAME ':' N ',' )* ';' */
=20
- type =3D VG_(st_mkenum)(def, 0);
+ type =3D ML_(st_mkenum)(def, 0);
=20
/* don't really care about tags; just skip them */
while(*p !=3D ';') {
@@ -826,7 +826,7 @@
Bool method =3D False;
=20
size =3D atou(&p, 0);
- type =3D (t =3D=3D 's' ? VG_(st_mkstruct) : VG_(st_mkunion))(def, =
size, 0);
+ type =3D (t =3D=3D 's' ? ML_(st_mkstruct) : ML_(st_mkunion))(def, =
size, 0);
=20
if (*p =3D=3D '!') {
/* base classes */
@@ -866,10 +866,10 @@
appear as "operator=3D=3D::" */
end =3D SKIPPAST(end, '.', "op$ name");
}
- name =3D VG_(addStr)(si, p, end-p);
+ name =3D ML_(addStr)(si, p, end-p);
p =3D end+2;
} else {
- name =3D VG_(addStr)(si, p, end-p);
+ name =3D ML_(addStr)(si, p, end-p);
p =3D end+1;
}
=20
@@ -941,7 +941,7 @@
}
=20
if (fieldty !=3D NULL)
- VG_(st_addfield)(type, name, fieldty, off, sz);
+ ML_(st_addfield)(type, name, fieldty, off, sz);
=20
EXPECT(';', "struct field end");
}
@@ -961,7 +961,7 @@
=20
case 'f': /* function */
/* 'f' TYPE */
- type =3D VG_(st_mkvoid)(def); /* approximate functions as void */
+ type =3D ML_(st_mkvoid)(def); /* approximate functions as void */
stabtype_parser(si, NULL, &p);
break;
=20
@@ -970,7 +970,7 @@
CLASS-TYPE ',' RET-TYPE ',' ( ARG-TYPE ( ',' ARG-TYPE )* )? )
';'
*/
- type =3D VG_(st_mkvoid)(def); /* methods are really void */
+ type =3D ML_(st_mkvoid)(def); /* methods are really void */
=20
if (*p =3D=3D '#') {
p++; /* skip '#' */
@@ -996,7 +996,7 @@
=20
case '@': /* pointer to member */
/* '@' CLASS-TYPE ',' MEMBER-TYPE */
- type =3D VG_(st_mkint)(def, sizeof(int), False); /* make it an int=
for our use */
+ type =3D ML_(st_mkint)(def, sizeof(int), False); /* make it an int=
for our use */
=20
stabtype_parser(si, NULL, &p); /* CLASS-TYPE */
EXPECT(',', "member-pointer CLASS-TYPE");
@@ -1057,7 +1057,7 @@
=20
if (*ty !=3D ':') {
/* no type info */
- sym->type =3D VG_(st_mkvoid)(NULL);
+ sym->type =3D ML_(st_mkvoid)(NULL);
} else {
ty++; /* skip ':' */
=20
@@ -1090,19 +1090,19 @@
=20
out:
sym->type =3D stabtype_parser(si, NULL, &ty);
- base =3D VG_(st_basetype)(sym->type, False);
- if (isStruct && (VG_(st_isstruct)(base) || VG_(st_isunion)(base)))=
{
- Char *sname =3D VG_(addStr)(si, name, len);
- structDef(si->stab_typetab, base, VG_(st_isstruct)(base), sname);
+ base =3D ML_(st_basetype)(sym->type, False);
+ if (isStruct && (ML_(st_isstruct)(base) || ML_(st_isunion)(base)))=
{
+ Char *sname =3D ML_(addStr)(si, name, len);
+ structDef(si->stab_typetab, base, ML_(st_isstruct)(base), sname);
}
=20
if (isTypedef) {
- Char *tname =3D VG_(addStr)(si, name, len);
+ Char *tname =3D ML_(addStr)(si, name, len);
vg_assert(sym->type !=3D base);
if (debug)
VG_(printf)(" typedef %p \"%s\"\n", sym->type, tname);
- VG_(st_setname)(sym->type, tname);
- VG_(st_setname)(base, tname);
+ ML_(st_setname)(sym->type, tname);
+ ML_(st_setname)(base, tname);
}
}
*namep =3D ty;
@@ -1147,7 +1147,7 @@
if (isStruct || isTypedef) {
return True; /* skip */
} else {
- sym->name =3D VG_(addStr)(si, name, len);
+ sym->name =3D ML_(addStr)(si, name, len);
return False; /* don't skip */
}
}
@@ -1205,7 +1205,7 @@
/* Read stabs-format debug info. This is all rather horrible because
stabs is a underspecified, kludgy hack.
*/
-void VG_(read_debuginfo_stabs) ( SegInfo* si,
+void ML_(read_debuginfo_stabs) ( SegInfo* si,
UChar* stabC, Int stab_sz,=20
UChar* stabstr, Int stabstr_sz )
{
@@ -1264,7 +1264,7 @@
Finding the instruction address range covered by an N_SLINE is
complicated; see the N_SLINE case below.
*/
- file.name =3D VG_(addStr)(si,"???", -1);
+ file.name =3D ML_(addStr)(si,"???", -1);
=20
n_stab_entries =3D stab_sz/(int)sizeof(struct nlist);
=20
@@ -1354,7 +1354,7 @@
=20
if (buf !=3D NULL) {
i--; /* overstepped */
- string =3D VG_(addStr)(si, buf, idx);
+ string =3D ML_(addStr)(si, buf, idx);
VG_(arena_free)(VG_AR_SYMTAB, buf);
if (contdebug)
VG_(printf)("made composite: \"%s\"\n", string);
@@ -1415,7 +1415,7 @@
=20
if (line.addr !=3D 0) {
/* finish off previous line */
- VG_(addLineInfo)(si, file.name, NULL, line.addr,
+ ML_(addLineInfo)(si, file.name, NULL, line.addr,
addr, line.no + line.ovf * LINENO_OVERFLOW, i);
}
=20
@@ -1427,7 +1427,7 @@
line.jump =3D True;
=20
if (len > 0 && nm[len-1] !=3D '/') {
- file.name =3D VG_(addStr)(si, nm, -1);
+ file.name =3D ML_(addStr)(si, nm, -1);
if (debug)
VG_(printf)("new source: %s\n", file.name);
if (st->n_type =3D=3D N_SO) {
@@ -1435,7 +1435,7 @@
clearStabFiles(tab);
}
} else if (len =3D=3D 0)
- file.name =3D VG_(addStr)(si, "?1\0", -1);
+ file.name =3D ML_(addStr)(si, "?1\0", -1);
=20
if (func.start !=3D 0)
line.jump =3D True;
@@ -1447,7 +1447,7 @@
=20
if (line.addr !=3D 0) {
/* there was a previous */
- VG_(addLineInfo)(si, file.name, NULL, line.addr,
+ ML_(addLineInfo)(si, file.name, NULL, line.addr,
addr, line.no + line.ovf * LINENO_OVERFLOW, i);
}
=20
@@ -1521,7 +1521,7 @@
=20
if (scope.addr !=3D 0) {
/* finish any previous scope range */
- VG_(addScopeInfo)(si, scope.addr, addr, scope.scope);
+ ML_(addScopeInfo)(si, scope.addr, addr, scope.scope);
}
=20
/* tidy up arg scope */
@@ -1556,14 +1556,14 @@
}
=20
if (line.addr) {
- VG_(addLineInfo)(si, file.name, NULL, line.addr,
+ ML_(addLineInfo)(si, file.name, NULL, line.addr,
addr, line.no + line.ovf * LINENO_OVERFLOW, i);
line.addr =3D 0;
}
=20
if (scope.addr) {
/* finish any previous scope range */
- VG_(addScopeInfo)(si, scope.addr, addr, scope.scope);
+ ML_(addScopeInfo)(si, scope.addr, addr, scope.scope);
}
=20
if (newfunc) {
@@ -1571,7 +1571,7 @@
Scope *sc;
if (scope.addr) {
/* finish any previous scope range */
- VG_(addScopeInfo)(si, scope.addr, addr, scope.scope);
+ ML_(addScopeInfo)(si, scope.addr, addr, scope.scope);
}
=20
sc =3D addSymsToScope(NULL, scope.symlist, scope.nsyms, scope.sc=
ope);
@@ -1590,7 +1590,7 @@
=20
if (scope.addr) {
/* end previous range */
- VG_(addScopeInfo)(si, scope.addr, addr, scope.scope);
+ ML_(addScopeInfo)(si, scope.addr, addr, scope.scope);
}
=20
scope.addr =3D addr;
@@ -1626,7 +1626,7 @@
}
=20
vg_assert(scope.addr !=3D 0);
- VG_(addScopeInfo)(si, scope.addr, addr, scope.scope);
+ ML_(addScopeInfo)(si, scope.addr, addr, scope.scope);
=20
/* XXX LEAK: free scope if it or any of its inner scopes was
never added to a scope range */
Modified: trunk/coregrind/m_debuginfo/symtab.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
--- trunk/coregrind/m_debuginfo/symtab.c 2005-06-23 00:17:51 UTC (rev 399=
9)
+++ trunk/coregrind/m_debuginfo/symtab.c 2005-06-23 01:02:53 UTC (rev 400=
0)
@@ -130,7 +130,7 @@
pointers are stable.
*/
=20
-Char *VG_(addStr) ( SegInfo* si, Char* str, Int len )
+Char* ML_(addStr) ( SegInfo* si, Char* str, Int len )
{
struct strchunk *chunk;
Int space_needed;
@@ -219,7 +219,7 @@
=20
/* Top-level place to call to add a source-location mapping entry. */
=20
-void VG_(addLineInfo) ( SegInfo* si,
+void ML_(addLineInfo) ( SegInfo* si,
Char* filename,
Char* dirname, /* NULL =3D=3D directory is unknown */
Addr this,
@@ -329,7 +329,7 @@
=20
/* Top-level place to call to add a source-location mapping entry. */
=20
-void VG_(addScopeInfo) ( SegInfo* si,
+void ML_(addScopeInfo) ( SegInfo* si,
Addr this,
Addr next,
Scope *scope)
@@ -359,13 +359,13 @@
=20
/* Top-level place to call to add a CFI summary record. The supplied
CfiSI is copied. */
-void VG_(addCfiSI) ( SegInfo* si, CfiSI* cfisi )
+void ML_(addCfiSI) ( SegInfo* si, CfiSI* cfisi )
{
static const Bool debug =3D False;
=20
if (debug) {
VG_(printf)("adding CfiSI: ");
- VG_(ppCfiSI)(cfisi);
+ ML_(ppCfiSI)(cfisi);
}
=20
vg_assert(cfisi->len > 0 && cfisi->len < 2000000);
@@ -392,7 +392,7 @@
);
}
if (VG_(clo_trace_cfi))=20
- VG_(ppCfiSI)(cfisi);
+ ML_(ppCfiSI)(cfisi);
}
return;
}
@@ -421,7 +421,7 @@
/*------------------------------------------------------------*/
=20
/* Non-fatal -- use vg_panic if terminal. */
-void VG_(symerr) ( Char* msg )
+void ML_(symerr) ( Char* msg )
{
if (VG_(clo_verbosity) > 1)
VG_(message)(Vg_DebugMsg,"%s", msg );
@@ -996,7 +996,7 @@
Char buf[80];
vg_assert(VG_(strlen)(tab_name) < 40);
VG_(sprintf)(buf, " object doesn't have a %s", tab_name);
- VG_(symerr)(buf);
+ ML_(symerr)(buf);
return;
}
=20
@@ -1040,7 +1040,7 @@
if ( is_interesting_symbol(si, sym, sym_name, sym_addr) ) {
vg_assert(sym->st_name !=3D 0);
vg_assert(sym_name[0] !=3D 0);
- name =3D VG_(addStr) ( si, sym_name, -1 );
+ name =3D ML_(addStr) ( si, sym_name, -1 );
vg_assert(name !=3D NULL);
=20
/*
@@ -1239,14 +1239,14 @@
=20
i =3D VG_(stat)(si->filename, &stat_buf);
if (i !=3D 0) {
- VG_(symerr)("Can't stat .so/.exe (to determine its size)?!");
+ ML_(symerr)("Can't stat .so/.exe (to determine its size)?!");
return False;
}
n_oimage =3D stat_buf.st_size;
=20
fd =3D VG_(open)(si->filename, VKI_O_RDONLY, 0);
if (fd < 0) {
- VG_(symerr)("Can't open .so/.exe to read symbols?!");
+ ML_(symerr)("Can't open .so/.exe to read symbols?!");
return False;
}
=20
@@ -1273,7 +1273,7 @@
ok &=3D VG_(is_object_file)(ehdr);
=20
if (!ok) {
- VG_(symerr)("Invalid ELF header, or missing stringtab/sectiontab."=
);
+ ML_(symerr)("Invalid ELF header, or missing stringtab/sectiontab."=
);
goto out;
}
=20
@@ -1282,7 +1282,7 @@
bss memory. Also computes correct symbol offset value for this
ELF file. */
if (ehdr->e_phoff + ehdr->e_phnum*sizeof(ElfXX_Phdr) > n_oimage) {
- VG_(symerr)("ELF program header is beyond image end?!");
+ ML_(symerr)("ELF program header is beyond image end?!");
goto out;
}
{
@@ -1332,7 +1332,7 @@
}
=20
if (o_phdr->p_vaddr < prev_addr) {
- VG_(symerr)("ELF Phdrs are out of order!?");
+ ML_(symerr)("ELF Phdrs are out of order!?");
goto out;
}
prev_addr =3D o_phdr->p_vaddr;
@@ -1400,7 +1400,7 @@
ehdr->e_shoff, ehdr->e_shnum, sizeof(ElfXX_Shdr), n_oima=
ge );
=20
if (ehdr->e_shoff + ehdr->e_shnum*sizeof(ElfXX_Shdr) > n_oimage) {
- VG_(symerr)("ELF section header is beyond image end?!");
+ ML_(symerr)("ELF section header is beyond image end?!");
goto out;
}
=20
@@ -1463,7 +1463,7 @@
TRACE_SYMTAB( "%18s: %p .. %p\n", \
sec_name, sec_data, sec_data + sec_size - 1); =
\
if ( shdr[i].sh_offset + sec_size > n_oimage ) { \
- VG_(symerr)(" section beyond image end?!"); \
+ ML_(symerr)(" section beyond image end?!"); \
goto out; \
} \
}
@@ -1529,7 +1529,7 @@
TRACE_SYMTAB( "%18s: %p .. %p\n", \
sec_name, sec_data, sec_data + sec_si=
ze - 1); \
if ( shdr[i].sh_offset + sec_size > n_dimage ) { \
- VG_(symerr)(" section beyond image end?!"); \
+ ML_(symerr)(" section beyond image end?!"); \
goto out; \
} \
}
@@ -1562,7 +1562,7 @@
=20
/* Read .eh_frame (call-frame-info) if any */
if (ehframe) {
- VG_(read_callframe_info_dwarf2) ( si, ehframe, ehframe_sz, ehfr=
ame_addr );
+ ML_(read_callframe_info_dwarf2) ( si, ehframe, ehframe_sz, ehfr=
ame_addr );
}
=20
/* Read the stabs and/or dwarf2 debug information, if any. It
@@ -1571,13 +1571,13 @@
# if !defined(VGP_amd64_linux)
if (stab !=3D NULL && stabstr !=3D NULL) {
has_debuginfo =3D True;
- VG_(read_debuginfo_stabs) ( si, stab, stab_sz,=20
+ ML_(read_debuginfo_stabs) ( si, stab, stab_sz,=20
stabstr, stabstr_sz );
}
# endif
if (debug_line) {
has_debuginfo =3D True;
- VG_(read_debuginfo_dwarf2) ( si,=20
+ ML_(read_debuginfo_dwarf2) ( si,=20
debug_info, debug_info_sz,
debug_abbv,
debug_line, debug_line_sz,
@@ -1585,11 +1585,11 @@
}
if (dwarf1d && dwarf1l) {
has_debuginfo =3D True;
- VG_(read_debuginfo_dwarf1) ( si, dwarf1d, dwarf1d_sz,=20
+ ML_(read_debuginfo_dwarf1) ( si, dwarf1d, dwarf1d_sz,=20
dwarf1l, dwarf1l_sz );
}=20
if (!has_debuginfo) {
- VG_(symerr)(" object doesn't have any line number info");
+ ML_(symerr)(" object doesn't have any line number info");
goto out;
}
}
@@ -2233,7 +2233,7 @@
=20
/* Get a list of all variables in scope, working out from the directly
current one */
-Variable *VG_(get_scope_variables)(ThreadId tid)
+Variable* ML_(get_scope_variables)(ThreadId tid)
{
static const Bool debug =3D False;
Variable *list, *end;
@@ -2291,10 +2291,10 @@
=20
v->next =3D NULL;
v->distance =3D distance;
- v->type =3D VG_(st_basetype)(sym->type, False);
+ v->type =3D ML_(st_basetype)(sym->type, False);
v->name =3D VG_(arena_strdup)(VG_AR_SYMTAB, sym->name);
v->container =3D NULL;
- v->size =3D VG_(st_sizeof)(sym->type);
+ v->size =3D ML_(st_sizeof)(sym->type);
=20
if (debug && 0)
VG_(printf)("sym->name=3D%s sym->kind=3D%d offset=3D%d\n", sym->nam=
e, sym->kind, sym->u.offset);
@@ -2516,7 +2516,7 @@
=20
if (0) {
VG_(printf)("found cfisi: ");=20
- VG_(ppCfiSI)(cfisi);
+ ML_(ppCfiSI)(cfisi);
}
=20
ipPrev =3D spPrev =3D fpPrev =3D 0;
Modified: trunk/coregrind/m_debuginfo/symtypes.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
--- trunk/coregrind/m_debuginfo/symtypes.c 2005-06-23 00:17:51 UTC (rev 3=
999)
+++ trunk/coregrind/m_debuginfo/symtypes.c 2005-06-23 01:02:53 UTC (rev 4=
000)
@@ -166,17 +166,17 @@
};
=20
=20
-Bool VG_(st_isstruct)(SymType *ty)
+Bool ML_(st_isstruct)(SymType *ty)
{
return ty->kind =3D=3D TyStruct;
}
=20
-Bool VG_(st_isunion)(SymType *ty)
+Bool ML_(st_isunion)(SymType *ty)
{
return ty->kind =3D=3D TyUnion;
}
=20
-Bool VG_(st_isenum)(SymType *ty)
+Bool ML_(st_isenum)(SymType *ty)
{
return ty->kind =3D=3D TyEnum;
}
@@ -203,7 +203,7 @@
st->kind =3D TyError;
}
=20
-SymType *VG_(st_mkunresolved)(SymType *st, SymResolver *resolver, void *=
data)
+SymType *ML_(st_mkunresolved)(SymType *st, SymResolver *resolver, void *=
data)
{
st =3D alloc(st);
=20
@@ -217,7 +217,7 @@
return st;
}
=20
-void VG_(st_unresolved_setdata)(SymType *st, SymResolver *resolver, void=
*data)
+void ML_(st_unresolved_setdata)(SymType *st, SymResolver *resolver, void=
*data)
{
if (st->kind !=3D TyUnresolved)
return;
@@ -226,18 +226,18 @@
st->u.t_unresolved.data =3D data;
}
=20
-Bool VG_(st_isresolved)(SymType *st)
+Bool ML_(st_isresolved)(SymType *st)
{
return st->kind !=3D TyUnresolved;
}
=20
-void VG_(st_setname)(SymType *st, Char *name)
+void ML_(st_setname)(SymType *st, Char *name)
{
if (st->name !=3D NULL)
st->name =3D name;
}
=20
-SymType *VG_(st_mkvoid)(SymType *st)
+SymType *ML_(st_mkvoid)(SymType *st)
{
st =3D alloc(st);
=20
@@ -249,7 +249,7 @@
return st;
}
=20
-SymType *VG_(st_mkint)(SymType *st, UInt size, Bool isSigned)
+SymType *ML_(st_mkint)(SymType *st, UInt size, Bool isSigned)
{
st =3D alloc(st);
=20
@@ -262,7 +262,7 @@
return st;
}
=20
-SymType *VG_(st_mkfloat)(SymType *st, UInt size)
+SymType *ML_(st_mkfloat)(SymType *st, UInt size)
{
st =3D alloc(st);
=20
@@ -275,7 +275,7 @@
return st;
}
=20
-SymType *VG_(st_mkbool)(SymType *st, UInt size)
+SymType *ML_(st_mkbool)(SymType *st, UInt size)
{
st =3D alloc(st);
=20
@@ -288,7 +288,7 @@
}
=20
=20
-SymType *VG_(st_mkpointer)(SymType *st, SymType *ptr)
+SymType *ML_(st_mkpointer)(SymType *st, SymType *ptr)
{
st =3D alloc(st);
=20
@@ -301,7 +301,7 @@
return st;
}
=20
-SymType *VG_(st_mkrange)(SymType *st, SymType *ty, Int min, Int max)
+SymType *ML_(st_mkrange)(SymType *st, SymType *ty, Int min, Int max)
{
st =3D alloc(st);
=20
@@ -316,7 +316,7 @@
return st;
}
=20
-SymType *VG_(st_mkstruct)(SymType *st, UInt size, UInt nfields)
+SymType *ML_(st_mkstruct)(SymType *st, UInt size, UInt nfields)
{
st =3D alloc(st);
=20
@@ -336,7 +336,7 @@
return st;
}
=20
-SymType *VG_(st_mkunion)(SymType *st, UInt size, UInt nfields)
+SymType *ML_(st_mkunion)(SymType *st, UInt size, UInt nfields)
{
st =3D alloc(st);
=20
@@ -356,7 +356,7 @@
return st;
}
=20
-void VG_(st_addfield)(SymType *st, Char *name, SymType *type, UInt off, =
UInt size)
+void ML_(st_addfield)(SymType *st, Char *name, SymType *type, UInt off, =
UInt size)
{
StField *f;
=20
@@ -380,7 +380,7 @@
}
=20
=20
-SymType *VG_(st_mkenum)(SymType *st, UInt ntags)
+SymType *ML_(st_mkenum)(SymType *st, UInt ntags)
{
st =3D alloc(st);
=20
@@ -393,7 +393,7 @@
return st;
}
=20
-SymType *VG_(st_mkarray)(SymType *st, SymType *idxtype, SymType *type)
+SymType *ML_(st_mkarray)(SymType *st, SymType *idxtype, SymType *type)
{
st =3D alloc(st);
=20
@@ -406,7 +406,7 @@
return st;
}
=20
-SymType *VG_(st_mktypedef)(SymType *st, Char *name, SymType *type)
+SymType *ML_(st_mktypedef)(SymType *st, Char *name, SymType *type)
{
st =3D alloc(st);
=20
@@ -423,7 +423,7 @@
}
=20
=20
-SymType *VG_(st_basetype)(SymType *type, Bool do_resolve)
+SymType *ML_(st_basetype)(SymType *type, Bool do_resolve)
{
while (type->kind =3D=3D TyTypedef || (do_resolve && type->kind =3D=3D=
TyUnresolved)) {
if (do_resolve)
@@ -436,7 +436,7 @@
return type;
}
=20
-UInt VG_(st_sizeof)(SymType *ty)
+UInt ML_(st_sizeof)(SymType *ty)
{
return ty->size;
}
@@ -725,7 +725,7 @@
keeplist =3D NULL;
=20
eip =3D VG_(get_IP)(tid);
- list =3D VG_(get_scope_variables)(tid);
+ list =3D ML_(get_scope_variables)(tid);
=20
if (memaccount) {
Variable *v;
@@ -785,7 +785,7 @@
v->name =3D VG_(arena_strdup)(VG_AR_SYMTAB, name);
else
v->name =3D NULL;
- v->type =3D VG_(st_basetype)(ty, False);
+ v->type =3D ML_(st_basetype)(ty, False);
v->valuep =3D valuep;
v->size =3D size =3D=3D -1 ? ty->size : size;
v->container =3D var;
@@ -835,7 +835,7 @@
break;
}
=20
- type =3D VG_(st_basetype)(type, True);
+ type =3D ML_(st_basetype)(type, True);
=20
switch(type->kind) {
case TyUnion:
Modified: trunk/coregrind/m_scheduler/priv_sema.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
--- trunk/coregrind/m_scheduler/priv_sema.h 2005-06-23 00:17:51 UTC (rev =
3999)
+++ trunk/coregrind/m_scheduler/priv_sema.h 2005-06-23 01:02:53 UTC (rev =
4000)
@@ -40,10 +40,10 @@
=20
// Nb: this may be OS-specific, but let's not factor it out until we
// implement an OS port for which this isn't ok.
-void VG_(sema_init) ( vg_sema_t *sema );
-void VG_(sema_deinit) ( vg_sema_t *sema );
-void VG_(sema_down) ( vg_sema_t *sema );
-void VG_(sema_up) ( vg_sema_t *sema );
+void ML_(sema_init) ( vg_sema_t *sema );
+void ML_(sema_deinit) ( vg_sema_t *sema );
+void ML_(sema_down) ( vg_sema_t *sema );
+void ML_(sema_up) ( vg_sema_t *sema );
=20
#endif // __PRIV_SEMA_H
=20
Modified: trunk/coregrind/m_scheduler/scheduler.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
--- trunk/coregrind/m_scheduler/scheduler.c 2005-06-23 00:17:51 UTC (rev =
3999)
+++ trunk/coregrind/m_scheduler/scheduler.c 2005-06-23 01:02:53 UTC (rev =
4000)
@@ -194,7 +194,7 @@
=20
tst->status =3D VgTs_Runnable;
=20
- VG_(sema_down)(&run_sema);
+ ML_(sema_down)(&run_sema);
if (VG_(running_tid) !=3D VG_INVALID_THREADID)
VG_(printf)("tid %d found %d running\n", tid, VG_(running_tid));
vg_assert(VG_(running_tid) =3D=3D VG_INVALID_THREADID);
@@ -227,7 +227,7 @@
=20
/* Release the run_sema; this will reschedule any runnable
thread. */
- VG_(sema_up)(&run_sema);
+ ML_(sema_up)(&run_sema);
=20
if (VG_(clo_trace_sched)) {
Char buf[50];
@@ -252,7 +252,7 @@
/* There should still be a valid exitreason for this thread */
vg_assert(VG_(threads)[tid].exitreason !=3D VgSrc_None);
=20
- VG_(sema_up)(&run_sema);
+ ML_(sema_up)(&run_sema);
}
=20
/* Kill a thread. This interrupts whatever a thread is doing, and
@@ -500,9 +500,9 @@
}
=20
/* re-init and take the sema */
- VG_(sema_deinit)(&run_sema);
- VG_(sema_init)(&run_sema);
- VG_(sema_down)(&run_sema);
+ ML_(sema_deinit)(&run_sema);
+ ML_(sema_init)(&run_sema);
+ ML_(sema_down)(&run_sema);
}
=20
=20
@@ -516,7 +516,7 @@
Int i;
ThreadId tid_main;
=20
- VG_(sema_init)(&run_sema);
+ ML_(sema_init)(&run_sema);
=20
for (i =3D 0 /* NB; not 1 */; i < VG_N_THREADS; i++) {
=20
Modified: trunk/coregrind/m_scheduler/sema.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
--- trunk/coregrind/m_scheduler/sema.c 2005-06-23 00:17:51 UTC (rev 3999)
+++ trunk/coregrind/m_scheduler/sema.c 2005-06-23 01:02:53 UTC (rev 4000)
@@ -39,7 +39,7 @@
pipe-based token passing scheme.
*/
=20
-void VG_(sema_init)(vg_sema_t *sema)
+void ML_(sema_init)(vg_sema_t *sema)
{
VG_(pipe)(sema->pipe);
sema->pipe[0] =3D VG_(safe_fd)(sema->pipe[0]);
@@ -51,7 +51,7 @@
VG_(write)(sema->pipe[1], "T", 1);
}
=20
-void VG_(sema_deinit)(vg_sema_t *sema)
+void ML_(sema_deinit)(vg_sema_t *sema)
{
VG_(close)(sema->pipe[0]);
VG_(close)(sema->pipe[1]);
@@ -59,7 +59,7 @@
}
=20
/* get a token */
-void VG_(sema_down)(vg_sema_t *sema)
+void ML_(sema_down)(vg_sema_t *sema)
{
Char buf[2] =3D { 'x' };
Int ret;
@@ -80,7 +80,7 @@
}
=20
/* put token back */
-void VG_(sema_up)(vg_sema_t *sema)
+void ML_(sema_up)(vg_sema_t *sema)
{
Int ret;
=20
Modified: trunk/coregrind/m_syswrap/priv_syswrap-generic.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
--- trunk/coregrind/m_syswrap/priv_syswrap-generic.h 2005-06-23 00:17:51 =
UTC (rev 3999)
+++ trunk/coregrind/m_syswrap/priv_syswrap-generic.h 2005-06-23 01:02:53 =
UTC (rev 4000)
@@ -37,27 +37,27 @@
// Return true if address range entirely contained within client
// address space.
extern
-Bool VG_(valid_client_addr)(Addr start, SizeT size, ThreadId tid,
+Bool ML_(valid_client_addr)(Addr start, SizeT size, ThreadId tid,
const Char *syscallname);
=20
// Returns True if the signal is OK for the client to use.
-extern Bool VG_(client_signal_OK)(Int sigNo);
+extern Bool ML_(client_signal_OK)(Int sigNo);
=20
// Return true if we're allowed to use or create this fd.
extern
-Bool VG_(fd_allowed)(Int fd, const Char *syscallname, ThreadId tid, Bool=
soft);
+Bool ML_(fd_allowed)(Int fd, const Char *syscallname, ThreadId tid, Bool=
soft);
=20
extern
-void VG_(record_fd_open)(ThreadId tid, Int fd, char *pathname);
+void ML_(record_fd_open)(ThreadId tid, Int fd, char *pathname);
=20
// Used when killing threads -- we must not kill a thread if it's the th=
read
// that would do Valgrind's final cleanup and output.
extern
-Bool VG_(do_sigkill)(Int pid, Int tgid);
+Bool ML_(do_sigkill)(Int pid, Int tgid);
=20
/* So that it can be seen from syswrap-x86-linux.c. */
extern=20
-void VG_(mmap_segment) ( Addr a, SizeT len, UInt prot,=20
+void ML_(mmap_segment) ( Addr a, SizeT len, UInt prot,=20
UInt mm_flags, Int fd, ULong offset );
=20
=20
@@ -269,45 +269,45 @@
#define UW UWord
#define SR SysRes
=20
-extern void VG_(generic_PRE_sys_socketpair) ( TId, UW, UW, UW, UW );
-extern SysRes VG_(generic_POST_sys_socketpair) ( TId, SR, UW, UW, UW, U=
W );
-extern SysRes VG_(generic_POST_sys_socket) ( TId, SR );
-extern void VG_(generic_PRE_sys_bind) ( TId, UW, UW, UW );
-extern void VG_(generic_PRE_sys_accept) ( TId, UW, UW, UW );
-extern SysRes VG_(generic_POST_sys_accept) ( TId, SR, UW, UW, UW );
-extern void VG_(generic_PRE_sys_sendto) ( TId, UW, UW, UW, UW, U=
W, UW );
-extern void VG_(generic_PRE_sys_send) ( TId, UW, UW, UW );
-extern void VG_(generic_PRE_sys_recvfrom) ( TId, UW, UW, UW, UW, U=
W, UW );
-extern void VG_(generic_POST_sys_recvfrom) ( TId, SR, UW, UW, UW, U=
W, UW, UW );
-extern void VG_(generic_PRE_sys_recv) ( TId, UW, UW, UW );
-extern void VG_(generic_POST_sys_recv) ( TId, UW, UW, UW, UW );
-extern void VG_(generic_PRE_sys_connect) ( TId, UW, UW, UW );
-extern void VG_(generic_PRE_sys_setsockopt) ( TId, UW, UW, UW, UW, U=
W );
-extern void VG_(generic_PRE_sys_getsockopt) ( TId, UW, UW, UW, UW, U=
W );
-extern void VG_(generic_POST_sys_getsockopt) ( TId, SR, UW, UW, UW, U=
W, UW );
-extern void VG_(generic_PRE_sys_getsockname) ( TId, UW, UW, UW );
-extern void VG_(generic_POST_sys_getsockname) ( TId, SR, UW, UW, UW );
-extern void VG_(generic_PRE_sys_getpeername) ( TId, UW, UW, UW );
-extern void VG_(generic_POST_sys_getpeername) ( TId, SR, UW, UW, UW );
-extern void VG_(generic_PRE_sys_sendmsg) ( TId, UW, UW );
-extern void VG_(generic_PRE_sys_recvmsg) ( TId, UW, UW );
-extern void VG_(generic_POST_sys_recvmsg) ( TId, UW, UW );
+extern void ML_(generic_PRE_sys_socketpair) ( TId, UW, UW, UW, UW );
+extern SysRes ML_(generic_POST_sys_socketpair) ( TId, SR, UW, UW, UW, U=
W );
+extern SysRes ML_(generic_POST_sys_socket) ( TId, SR );
+extern void ML_(generic_PRE_sys_bind) ( TId, UW, UW, UW );
+extern void ML_(generic_PRE_sys_accept) ( TId, UW, UW, UW );
+extern SysRes ML_(generic_POST_sys_accept) ( TId, SR, UW, UW, UW );
+extern void ML_(generic_PRE_sys_sendto) ( TId, UW, UW, UW, UW, U=
W, UW );
+extern void ML_(generic_PRE_sys_send) ( TId, UW, UW, UW );
+extern void ML_(generic_PRE_sys_recvfrom) ( TId, UW, UW, UW, UW, U=
W, UW );
+extern void ML_(generic_POST_sys_recvfrom) ( TId, SR, UW, UW, UW, U=
W, UW, UW );
+extern void ML_(generic_PRE_sys_recv) ( TId, UW, UW, UW );
+extern void ML_(generic_POST_sys_recv) ( TId, UW, UW, UW, UW );
+extern void ML_(generic_PRE_sys_connect) ( TId, UW, UW, UW );
+extern void ML_(generic_PRE_sys_setsockopt) ( TId, UW, UW, UW, UW, U=
W );
+extern void ML_(generic_PRE_sys_getsockopt) ( TId, UW, UW, UW, UW, U=
W );
+extern void ML_(generic_POST_sys_getsockopt) ( TId, SR, UW, UW, UW, U=
W, UW );
+extern void ML_(generic_PRE_sys_getsockname) ( TId, UW, UW, UW );
+extern void ML_(generic_POST_sys_getsockname) ( TId, SR, UW, UW, UW );
+extern void ML_(generic_PRE_sys_getpeername) ( TId, UW, UW, UW );
+extern void ML_(generic_POST_sys_getpeername) ( TId, SR, UW, UW, UW );
+extern void ML_(generic_PRE_sys_sendmsg) ( TId, UW, UW );
+extern void ML_(generic_PRE_sys_recvmsg) ( TId, UW, UW );
+extern void ML_(generic_POST_sys_recvmsg) ( TId, UW, UW );
=20
-extern void VG_(generic_PRE_sys_semop) ( TId, UW, UW, UW );
-extern void VG_(generic_PRE_sys_semtimedop) ( TId, UW, UW, UW, UW );
-extern void VG_(generic_PRE_sys_semctl) ( TId, UW, UW, UW, UW );
-extern void VG_(generic_POST_sys_semctl) ( TId, UW, UW, UW, UW, U=
W );
-extern void VG_(generic_PRE_sys_msgsnd) ( TId, UW, UW, UW, UW );
-extern void VG_(generic_PRE_sys_msgrcv) ( TId, UW, UW, UW, UW, U=
W );
-extern void VG_(generic_POST_sys_msgrcv) ( TId, UW, UW, UW, UW, U=
W, UW );
-extern void VG_(generic_PRE_sys_msgctl) ( TId, UW, UW, UW );
-extern void VG_(generic_POST_sys_msgctl) ( TId, UW, UW, UW, UW );
-extern UWord VG_(generic_PRE_sys_shmat) ( TId, UW, UW, UW );
-extern void VG_(generic_POST_sys_shmat) ( TId, UW, UW, UW, UW );
-extern Bool VG_(generic_PRE_sys_shmdt) ( TId, UW );
-extern void VG_(generic_POST_sys_shmdt) ( TId, UW, UW );
-extern void VG_(generic_PRE_sys_shmctl) ( TId, UW, UW, UW );
-extern void VG_(generic_POST_sys_shmctl) ( TId, UW, UW, UW, UW );
+extern void ML_(generic_PRE_sys_semop) ( TId, UW, UW, UW );
+extern void ML_(generic_PRE_sys_semtimedop) ( TId, UW, UW, UW, UW );
+extern void ML_(generic_PRE_sys_semctl) ( TId, UW, UW, UW, UW );
+extern void ML_(generic_POST_sys_semctl) ( TId, UW, UW, UW, UW, U=
W );
+extern void ML_(generic_PRE_sys_msgsnd) ( TId, UW, UW, UW, UW );
+extern void ML_(generic_PRE_sys_msgrcv) ( TId, UW, UW, UW, UW, U=
W );
+extern void ML_(generic_POST_sys_msgrcv) ( TId, UW, UW, UW, UW, U=
W, UW );
+extern void ML_(generic_PRE_sys_msgctl) ( TId, UW, UW, UW );
+extern void ML_(generic_POST_sys_msgctl) ( TId, UW, UW, UW, UW );
+extern UWord ML_(generic_PRE_sys_shmat) ( TId, UW, UW, UW );
+extern void ML_(generic_POST_sys_shmat) ( TId, UW, UW, UW, UW );
+extern Bool ML_(generic_PRE_sys_shmdt) ( TId, UW );
+extern void ML_(generic_POST_sys_shmdt) ( TId, UW, UW );
+extern void ML_(generic_PRE_sys_shmctl) ( TId, UW, UW, UW );
+extern void ML_(generic_POST_sys_shmctl) ( TId, UW, UW, UW, UW );
=20
#undef TId
#undef UW
Modified: trunk/coregrind/m_syswrap/priv_syswrap-linux.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
--- trunk/coregrind/m_syswrap/priv_syswrap-linux.h 2005-06-23 00:17:51 UT=
C (rev 3999)
+++ trunk/coregrind/m_syswrap/priv_syswrap-linux.h 2005-06-23 01:02:53 UT=
C (rev 4000)
@@ -34,7 +34,7 @@
/* requires #include "priv_types_n_macros.h" */
=20
// Run a thread from beginning to end.=20
-extern VgSchedReturnCode VG_(thread_wrapper)(Word /*ThreadId*/ tid);
+extern VgSchedReturnCode ML_(thread_wrapper)(Word /*ThreadId*/ tid);
=20
DECL_TEMPLATE(linux, sys_exit_group);
=20
Modified: trunk/coregrind/m_syswrap/priv_syswrap-main.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
--- trunk/coregrind/m_syswrap/priv_syswrap-main.h 2005-06-23 00:17:51 UTC=
(rev 3999)
+++ trunk/coregrind/m_syswrap/priv_syswrap-main.h 2005-06-23 01:02:53 UTC=
(rev 4000)
@@ -33,7 +33,7 @@
=20
/* Back up a thread so as to restart a system call. */
extern
-void VG_(fixup_guest_state_to_restart_syscall) ( ThreadArchState* arch )=
;
+void ML_(fixup_guest_state_to_restart_syscall) ( ThreadArchState* arch )=
;
=20
#endif // __PRIV_SYSWRAP_MAIN_H
=20
Modified: trunk/coregrind/m_syswrap/syswrap-generic.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
--- trunk/coregrind/m_syswrap/syswrap-generic.c 2005-06-23 00:17:51 UTC (=
rev 3999)
+++ trunk/coregrind/m_syswrap/syswrap-generic.c 2005-06-23 01:02:53 UTC (=
rev 4000)
@@ -58,7 +58,7 @@
=20
/* return true if address range entirely contained within client
address space */
-Bool VG_(valid_client_addr)(Addr start, SizeT size, ThreadId tid,
+Bool ML_(valid_client_addr)(Addr start, SizeT size, ThreadId tid,
const Char *syscallname)
{
Addr end =3D start+size;
@@ -93,7 +93,7 @@
return ret;
}
=20
-Bool VG_(client_signal_OK)(Int sigNo)
+Bool ML_(client_signal_OK)(Int sigNo)
{
/* signal 0 is OK for kill */
Bool ret =3D sigNo >=3D 0 && sigNo <=3D VG_SIGVGRTUSERMAX;
@@ -130,7 +130,7 @@
*a =3D ra;
}
=20
-void VG_(mmap_segment) ( Addr a, SizeT len, UInt prot,=20
+void ML_(mmap_segment) ( Addr a, SizeT len, UInt prot,=20
UInt mm_flags, Int fd, ULong offset )
{
Bool rr, ww, xx;
@@ -169,7 +169,7 @@
if (VG_PGROUNDDN(old_addr) !=3D old_addr)
return VG_(mk_SysRes_Error)( VKI_EINVAL );
=20
- if (!VG_(valid_client_addr)(old_addr, old_size, tid, "mremap(old_addr=
)"))
+ if (!ML_(valid_client_addr)(old_addr, old_size, tid, "mremap(old_addr=
)"))
return VG_(mk_SysRes_Error)( VKI_EFAULT );
=20
/* fixed at the current address means we don't move it */
@@ -180,7 +180,7 @@
if (VG_PGROUNDDN(new_addr) !=3D new_addr)
return VG_(mk_SysRes_Error)( VKI_EINVAL );
=20
- if (!VG_(valid_client_addr)(new_addr, new_size, tid, "mremap(new_a=
ddr)"))
+ if (!ML_(valid_client_addr)(new_addr, new_size, tid, "mremap(new_a=
ddr)"))
return VG_(mk_SysRes_Error)( VKI_ENOMEM );
=20
/* check for overlaps */
@@ -345,7 +345,7 @@
some such thing) or that we don't know the filename. If the fd is
already open, then we're probably doing a dup2() to an existing fd,
so just overwrite the existing one. */
-void VG_(record_fd_open)(ThreadId tid, Int fd, char *pathname)
+void ML_(record_fd_open)(ThreadId tid, Int fd, char *pathname)
{
OpenFd *i;
=20
@@ -521,7 +521,7 @@
=20
for (i =3D 0; i < count; i++)
if(VG_(fcntl)(i, VKI_F_GETFL, 0) !=3D -1)
- VG_(record_fd_open)(-1, i, NULL);
+ ML_(record_fd_open)(-1, i, NULL);
}
=20
/* Initialize the list of open file descriptors with the file descriptor=
s
@@...
[truncated message content] |
Author: de Date: 2005-06-23 01:17:51 +0100 (Thu, 23 Jun 2005) New Revision: 3999 Log: argh! there were loads of the little beggars .... Removed: trunk/addrcheck/.cvsignore trunk/addrcheck/docs/.cvsignore trunk/addrcheck/tests/.cvsignore trunk/auxprogs/.cvsignore trunk/cachegrind/.cvsignore trunk/cachegrind/docs/.cvsignore trunk/cachegrind/tests/.cvsignore trunk/cachegrind/tests/x86/.cvsignore trunk/corecheck/.cvsignore trunk/corecheck/docs/.cvsignore trunk/corecheck/tests/.cvsignore trunk/coregrind/.cvsignore trunk/coregrind/m_demangle/.cvsignore trunk/docs/.cvsignore trunk/helgrind/.cvsignore trunk/helgrind/docs/.cvsignore trunk/helgrind/tests/.cvsignore trunk/include/.cvsignore trunk/lackey/.cvsignore trunk/lackey/docs/.cvsignore trunk/lackey/tests/.cvsignore trunk/massif/.cvsignore trunk/massif/docs/.cvsignore trunk/massif/hp2ps/.cvsignore trunk/massif/tests/.cvsignore trunk/memcheck/.cvsignore trunk/memcheck/docs/.cvsignore trunk/memcheck/tests/.cvsignore trunk/memcheck/tests/x86/.cvsignore trunk/none/.cvsignore trunk/none/docs/.cvsignore trunk/none/tests/.cvsignore trunk/none/tests/x86/.cvsignore trunk/tests/.cvsignore trunk/tests/unused/.cvsignore Deleted: trunk/addrcheck/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/addrcheck/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/addrcheck/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/addrcheck/docs/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/addrcheck/docs/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/addrcheck/docs/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/addrcheck/tests/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/addrcheck/tests/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/addrcheck/tests/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,6 +0,0 @@ -Makefile.in -Makefile -*.stdout.diff* -*.stderr.diff* -*.stdout.out -*.stderr.out Deleted: trunk/auxprogs/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/auxprogs/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/auxprogs/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,3 +0,0 @@ -Makefile.in -Makefile -valgrind-listener Deleted: trunk/cachegrind/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/cachegrind/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/cachegrind/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,3 +0,0 @@ -Makefile.in -Makefile -cg_annotate Deleted: trunk/cachegrind/docs/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/cachegrind/docs/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/cachegrind/docs/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/cachegrind/tests/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/cachegrind/tests/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/cachegrind/tests/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,10 +0,0 @@ -Makefile.in -Makefile -chdir -dlclose -cachegrind.out -cachegrind.out.* -*.stdout.diff -*.stderr.diff -*.stdout.out -*.stderr.out Deleted: trunk/cachegrind/tests/x86/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/cachegrind/tests/x86/.cvsignore 2005-06-22 23:49:00 UTC (rev 39= 98) +++ trunk/cachegrind/tests/x86/.cvsignore 2005-06-23 00:17:51 UTC (rev 39= 99) @@ -1,10 +0,0 @@ -Makefile.in -Makefile -fpu-28-108 -cachegrind.out -cachegrind.out.* -*.stdout.diff -*.stderr.diff -*.stdout.out -*.stderr.out - Deleted: trunk/corecheck/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/corecheck/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/corecheck/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/corecheck/docs/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/corecheck/docs/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/corecheck/docs/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/corecheck/tests/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/corecheck/tests/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/corecheck/tests/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,33 +0,0 @@ -Makefile.in -Makefile -erringfds -malloc3 -sigkill -pth_atfork1 -pth_cancel1 -pth_cancel2 -pth_cvsimple -pth_empty -pth_mutexspeed -pth_once -pth_rwlock -res_search -.ktemp -*.stdout.diff -*.stderr.diff* -*.stdout.out -*.stderr.out -fdleak_cmsg -fdleak_creat -fdleak_dup -fdleak_dup2 -fdleak_fcntl -fdleak_ipv4 -fdleak_open -fdleak_pipe -fdleak_socketpair -pth_exit -pth_exit2 -vgprintf -as_shm -as_mmap Deleted: trunk/coregrind/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/coregrind/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,8 +0,0 @@ -Makefile.in -Makefile -valgrind -stage2 -vg_toolint.h -vg_toolint.c -vg_intercept.c -vg_replace_malloc.c Deleted: trunk/coregrind/m_demangle/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/m_demangle/.cvsignore 2005-06-22 23:49:00 UTC (rev 39= 98) +++ trunk/coregrind/m_demangle/.cvsignore 2005-06-23 00:17:51 UTC (rev 39= 99) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/docs/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/docs/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/docs/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile -Makefile.in Deleted: trunk/helgrind/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/helgrind/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/helgrind/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/helgrind/docs/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/helgrind/docs/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/helgrind/docs/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/helgrind/tests/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/helgrind/tests/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/helgrind/tests/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,12 +0,0 @@ -Makefile.in -Makefile -allok -deadlock -inherit -race -race2 -readshared -*.stdout.diff -*.stderr.diff -*.stdout.out -*.stderr.out Deleted: trunk/include/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/include/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/include/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,4 +0,0 @@ -Makefile.in -Makefile -tool.h -valgrind.h Deleted: trunk/lackey/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lackey/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/lackey/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/lackey/docs/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lackey/docs/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/lackey/docs/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/lackey/tests/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lackey/tests/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/lackey/tests/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/massif/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/massif/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/massif/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/massif/docs/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/massif/docs/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/massif/docs/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/massif/hp2ps/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/massif/hp2ps/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/massif/hp2ps/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,3 +0,0 @@ -Makefile.in -Makefile -hp2ps Deleted: trunk/massif/tests/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/massif/tests/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/massif/tests/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,11 +0,0 @@ -Makefile.in -Makefile -massif.*.hp -massif.*.aux -massif.*.ps -massif.*.txt -massif.*.html -*.stdout.diff -*.stderr.diff -*.stdout.out -*.stderr.out Deleted: trunk/memcheck/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/memcheck/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/memcheck/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/memcheck/docs/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/memcheck/docs/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/memcheck/docs/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/memcheck/tests/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/memcheck/tests/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/memcheck/tests/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,79 +0,0 @@ -Makefile.in -Makefile -addressable -badaddrvalue -badfree -badjump -badjump2 -badloop -badpoll -badrw -brk -brk2 -buflen_check -clientperm -clientstackperm -custom_alloc -dir -doublefree -error_counts -errs1 -execve -execve2 -exitprog -filter_leak_check_size -filter_stderr -fprw -fwrite -hello -inits -inline -leak-0 -leak-cycle -leak-regroot -leak-tree -malloc1 -malloc2 -malloc3 -manuel1 -manuel2 -manuel3 -memalign_test -memalign2 -memcmptest -mempool -metadata -mismatches -mmaptest -nanoleak -new_nothrow -new_override -null_socket -overlap -pointer-trace -post-syscall -realloc1 -realloc2 -realloc3 -scalar -scalar_exit_group -scalar_fork -scalar_supp -scalar_vfork -sigaltstack -signal2 -sigprocmask -str_tester -supp1 -supp2 -suppfree -threadederrno -trivialleak -vgtest_ume -weirdioctl -writev -zeropage -*.stdout.diff -*.stderr.diff* -*.stdout.out -*.stderr.out Deleted: trunk/memcheck/tests/x86/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/memcheck/tests/x86/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998= ) +++ trunk/memcheck/tests/x86/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999= ) @@ -1,9 +0,0 @@ -Makefile.in -Makefile -fpeflags -pushfpopf -tronical -*.stdout.diff -*.stderr.diff* -*.stdout.out -*.stderr.out Deleted: trunk/none/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/none/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/none/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/none/docs/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/none/docs/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/none/docs/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile Deleted: trunk/none/tests/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/none/tests/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/none/tests/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,78 +0,0 @@ -Makefile.in -Makefile -args -async-sigs -bitfield1 -blockfault -closeall -coolo_sigaction -coolo_strlen -discard -exec-sigmask -execve -faultstatus -fcntl_setown -floored -fork -fucomip -getseg -gxx304 -insn_basic -insn_basic.c -insn_fpu -insn_fpu.c -insn_cmov -insn_cmov.c -insn_mmx -insn_mmx.c -insn_mmxext -insn_mmxext.c -insn_sse -insn_sse.c -insn_sse2 -insn_sse2.c -map_unmap -mq -mremap -munmap_exe -pluto -pth_blockedsig -pth_stackalign -rcrl -readline1 -resolv -rlimit_nofile -map_unaligned -pending -selfrun -sem -semlimit -sha1_test -shortpush -shorts -sigcontext -sigstackgrowth -smc1 -stackgrowth -susphello -syscall-restart1 -syscall-restart2 -system -pth_atfork1 -pth_cancel1 -pth_cancel2 -pth_cvsimple -pth_mutexspeed -pth_once -pth_semaphore1 -pth_simple_mutex -pth_simple_threads -pth_specific -pth_yield -thread-exits -tls -yield -*.stdout.diff -*.stderr.diff -*.stdout.out -*.stderr.out Deleted: trunk/none/tests/x86/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/none/tests/x86/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/none/tests/x86/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,30 +0,0 @@ -Makefile.in -Makefile -badseg -bt_everything -bt_literal -cpuid -dastest -fpu_lazy_eflags -insn_basic -insn_basic.c -insn_fpu -insn_fpu.c -insn_cmov -insn_cmov.c -insn_mmx -insn_mmx.c -insn_mmxext -insn_mmxext.c -insn_sse -insn_sse.c -insn_sse2 -insn_sse2.c -int -pushpopseg -rcl_assert -seg_override -*.stdout.diff -*.stderr.diff -*.stdout.out -*.stderr.out Deleted: trunk/tests/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/tests/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/tests/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,6 +0,0 @@ -Makefile.in -Makefile -cputest -vg_regtest -toobig-allocs -true Deleted: trunk/tests/unused/.cvsignore =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/tests/unused/.cvsignore 2005-06-22 23:49:00 UTC (rev 3998) +++ trunk/tests/unused/.cvsignore 2005-06-23 00:17:51 UTC (rev 3999) @@ -1,2 +0,0 @@ -Makefile.in -Makefile |