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-29 23:38:36
|
Author: sewardj
Date: 2005-06-30 00:38:33 +0100 (Thu, 30 Jun 2005)
New Revision: 4055
Log:
XML output wibble (purely decorative)
Modified:
trunk/coregrind/m_errormgr.c
Modified: trunk/coregrind/m_errormgr.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_errormgr.c 2005-06-29 23:15:56 UTC (rev 4054)
+++ trunk/coregrind/m_errormgr.c 2005-06-29 23:38:33 UTC (rev 4055)
@@ -669,10 +669,8 @@
any_supp =3D True;
if (VG_(clo_xml)) {
VG_(message)(Vg_DebugMsg,=20
- " <pair>\n"
- " <count>%d</count>\n"
- " <name>%s</name>\n"
- " </pair>",=20
+ " <pair> <count>%d</count> "
+ "<name>%s</name> </pair>",=20
su->count, su->sname);
} else {
VG_(message)(Vg_DebugMsg, "supp: %4d %s", su->count, su->sname)=
;
|
|
From: <sv...@va...> - 2005-06-29 23:16:23
|
Author: sewardj
Date: 2005-06-30 00:15:56 +0100 (Thu, 30 Jun 2005)
New Revision: 4054
Log:
XML printing fixes for printing to file descriptors.
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-29 17:12:28 UTC (rev 4053)
+++ trunk/coregrind/m_main.c 2005-06-29 23:15:56 UTC (rev 4054)
@@ -1855,7 +1855,7 @@
VG_(message)(Vg_UserMsg, "</preamble>");
}
=20
- if (VG_(clo_verbosity) > 0 && log_to !=3D VgLogTo_Fd) {
+ if (!VG_(clo_xml) && VG_(clo_verbosity) > 0 && log_to !=3D VgLogTo_Fd=
) {
VG_(message)(Vg_UserMsg, "");
VG_(message)(Vg_UserMsg,=20
"My PID =3D %d, parent PID =3D %d. Prog and args are:",
|
|
From: Josef W. <Jos...@gm...> - 2005-06-29 22:37:26
|
On Tuesday 28 June 2005 12:11, Julian Seward wrote:
> - External tools: installing eg Callgrind could be more complex as it
> would have to be linked against libcoregrind.a at
> installation time, even if installing from RPMs.
I don't see real problems here. Finding the correct lib is similar to finding
the headers now.
Linking with valgrind at build time would make RPMs independent, i.e. a
callgrind installation could exist without valgrind at all or with another
valgrind release. Similar, currently I am forced to install into the same
prefix, as valgrind has to find the tool.
But actually, I do not see any big advantages or disadvantages regarding
external tools.
> Alternatively, adjust the core/tool interface so that multiple
> tools can be linked into the core all at once. This sounds
> attractive, and could save disk space.
For external tools you still have to provide the library to link against.
I.e. each external tools would get its own executable. As I am used to install
my wrapper script ("callgrind"), which would become the executable, AFAICS it
would not make a big difference.
Josef
>
> Comments? In particular, are there other bad consequences I haven't
> thought of? Also, [GregP] how would this play for making V work
> for MacOS ?
>
> J
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Valgrind-developers mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-developers
|
|
From: <sv...@va...> - 2005-06-29 19:05:13
|
Author: cerion
Date: 2005-06-29 20:05:08 +0100 (Wed, 29 Jun 2005)
New Revision: 1232
Log:
We have more than 59 allocateable regs now (duh)
+ Better insn printout for altivec load/store
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-29 19:01:32 UTC (rev 1231)
+++ trunk/priv/host-ppc32/hdefs.c 2005-06-29 19:05:08 UTC (rev 1232)
@@ -181,7 +181,7 @@
void getAllocableRegs_PPC32 ( Int* nregs, HReg** arr )
{
UInt i=3D0;
- *nregs =3D 59;
+ *nregs =3D 90;
*arr =3D LibVEX_Alloc(*nregs * sizeof(HReg));
// GPR0 =3D scratch reg where possible - some ops interpret as value =
zero
// GPR1 =3D stack pointer
@@ -281,6 +281,8 @@
(*arr)[i++] =3D hregPPC32_VR29();
(*arr)[i++] =3D hregPPC32_VR30();
(*arr)[i++] =3D hregPPC32_VR31();
+
+ vassert(i =3D=3D *nregs);
}
=20
=20
@@ -1227,21 +1229,21 @@
case Pin_AvLdSt: {
UChar sz =3D i->Pin.AvLdSt.sz;
if (i->Pin.AvLdSt.addr->tag =3D=3D Pam_IR) {
- vex_printf("{ ");
ppLoadImm(hregPPC32_GPR30(), i->Pin.AvLdSt.addr->Pam.RR.index);
- vex_printf(" }");
+ vex_printf(" ; ");
}
- if (i->Pin.AvLdSt.isLoad) {
+ if (i->Pin.AvLdSt.isLoad)
vex_printf("lv%sx ", sz=3D=3D8 ? "eb" : sz=3D=3D16 ? "eh" : sz=3D=
=3D32 ? "ew" : "");
- ppHRegPPC32(i->Pin.AvLdSt.reg);
- vex_printf(",");
- ppPPC32AMode(i->Pin.AvLdSt.addr);
- } else {
+ else
vex_printf("stv%sx ", sz=3D=3D8 ? "eb" : sz=3D=3D16 ? "eh" : sz=
=3D=3D32 ? "ew" : "");
- ppHRegPPC32(i->Pin.AvLdSt.reg);
- vex_printf(",");
- ppPPC32AMode(i->Pin.AvLdSt.addr);
- }
+ ppHRegPPC32(i->Pin.AvLdSt.reg);
+ vex_printf(",");
+ if (i->Pin.AvLdSt.addr->tag =3D=3D Pam_IR)
+ vex_printf("%%r30");
+ else=20
+ ppHRegPPC32(i->Pin.AvLdSt.addr->Pam.RR.index);
+ vex_printf(",");
+ ppHRegPPC32(i->Pin.AvLdSt.addr->Pam.RR.base);
return;
}
case Pin_AvUnary:
|
|
From: <sv...@va...> - 2005-06-29 19:01:38
|
Author: cerion
Date: 2005-06-29 20:01:32 +0100 (Wed, 29 Jun 2005)
New Revision: 1231
Log:
some more isel cases: v128,f32
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-29 18:53:23 UTC (rev 1230)
+++ trunk/priv/host-ppc32/isel.c 2005-06-29 19:01:32 UTC (rev 1231)
@@ -1353,7 +1353,7 @@
return r_dst;
}
=20
-//.. case Iop_128to32: {
+//.. case Iop_V128to32: {
//.. HReg dst =3D newVRegI(env);
//.. HReg vec =3D iselVecExpr(env, e->Iex.Unop.arg);
//.. X86AMode* esp0 =3D X86AMode_IR(0, hregX86_ESP());
@@ -2325,28 +2325,33 @@
return;
}
=20
-//.. /* 128{HI}to64 */
-//.. case Iop_128HIto64:
-//.. case Iop_128to64: {
-//.. Int off =3D e->Iex.Unop.op=3D=3DIop_128HIto64 ? 8 : 0;
-//.. HReg tLo =3D newVRegI(env);
-//.. HReg tHi =3D newVRegI(env);
-//.. HReg vec =3D iselVecExpr(env, e->Iex.Unop.arg);
-//.. X86AMode* esp0 =3D X86AMode_IR(0, hregX86_ESP());
-//.. X86AMode* espLO =3D X86AMode_IR(off, hregX86_ESP());
-//.. X86AMode* espHI =3D X86AMode_IR(off+4, hregX86_ESP());
-//.. sub_from_esp(env, 16);
-//.. addInstr(env, X86Instr_SseLdSt(False/*store*/, vec, esp=
0));
-//.. addInstr(env, X86Instr_Alu32R( Xalu_MOV,=20
-//.. X86RMI_Mem(espLO), tLo )=
);
-//.. addInstr(env, X86Instr_Alu32R( Xalu_MOV,=20
-//.. X86RMI_Mem(espHI), tHi )=
);
-//.. add_to_esp(env, 16);
-//.. *rHi =3D tHi;
-//.. *rLo =3D tLo;
-//.. return;
-//.. }
-//..=20
+ /* V128{HI}to64 */
+ case Iop_V128HIto64:
+ case Iop_V128to64: {
+ Int off =3D e->Iex.Unop.op=3D=3DIop_V128HIto64 ? 0 : 8;
+ HReg tLo =3D newVRegI(env);
+ HReg tHi =3D newVRegI(env);
+ HReg vec =3D iselVecExpr(env, e->Iex.Unop.arg);
+ PPC32AMode *sp0, *spLO, *spHI;
+
+ sub_from_sp( env, 32 ); // Move SP down 32 bytes
+ sp0 =3D PPC32AMode_IR(0, StackFramePtr);
+ spHI =3D PPC32AMode_IR(off, StackFramePtr);
+ spLO =3D PPC32AMode_IR(off+4, StackFramePtr);
+
+ // store as Vec128
+ addInstr(env, PPC32Instr_AvLdSt( False/*store*/, 16, vec, sp=
0 ));
+
+ // load hi,lo words (of hi/lo half of vec) as Ity_I32's
+ addInstr(env, PPC32Instr_Load( 4, False, tHi, spHI ));
+ addInstr(env, PPC32Instr_Load( 4, False, tLo, spLO ));
+
+ add_to_sp( env, 32 ); // Reset SP
+ *rHi =3D tHi;
+ *rLo =3D tLo;
+ return;
+ }
+
//.. /* could do better than this, but for now ... */
//.. case Iop_1Sto64: {
//.. HReg tLo =3D newVRegI(env);
@@ -2971,7 +2976,7 @@
//.. return dst;
//.. }
//..=20
-//.. case Iop_32Uto128: {
+//.. case Iop_32UtoV128: {
//.. HReg dst =3D newVRegV(env);
//.. X86AMode* esp0 =3D X86AMode_IR(0, hregX86_ESP());
//.. X86RMI* rmi =3D iselIntExpr_RMI(env, e->Iex.Unop.arg);
@@ -2981,7 +2986,7 @@
//.. return dst;
//.. }
//..=20
-//.. case Iop_64Uto128: {
+//.. case Iop_64UtoV128: {
//.. HReg rHi, rLo;
//.. HReg dst =3D newVRegV(env);
//.. X86AMode* esp0 =3D X86AMode_IR(0, hregX86_ESP());
@@ -3001,7 +3006,7 @@
//.. if (e->tag =3D=3D Iex_Binop) {
//.. switch (e->Iex.Binop.op) {
//..=20
-//.. case Iop_Set128lo32: {
+//.. case Iop_SetV128lo32: {
//.. HReg dst =3D newVRegV(env);
//.. HReg srcV =3D iselVecExpr(env, e->Iex.Binop.arg1);
//.. HReg srcI =3D iselIntExpr_R(env, e->Iex.Binop.arg2);
@@ -3014,7 +3019,7 @@
//.. return dst;
//.. }
//..=20
-//.. case Iop_Set128lo64: {
+//.. case Iop_SetV128lo64: {
//.. HReg dst =3D newVRegV(env);
//.. HReg srcV =3D iselVecExpr(env, e->Iex.Binop.arg1);
//.. HReg srcIhi, srcIlo;
@@ -3030,7 +3035,7 @@
//.. return dst;
//.. }
//..=20
-//.. case Iop_64HLto128: {
+//.. case Iop_64HLtoV128: {
//.. HReg r3, r2, r1, r0;
//.. X86AMode* esp0 =3D X86AMode_IR(0, hregX86_ESP());
//.. X86AMode* esp4 =3D advance4(esp0);
@@ -3154,9 +3159,9 @@
//.. case Iop_InterleaveLO64x2:=20
//.. op =3D Xsse_UNPCKLQ; arg1isEReg =3D True; goto do_SseReRg;
//..=20
-//.. case Iop_And128: op =3D Xsse_AND; goto do_SseReRg;
-//.. case Iop_Or128: op =3D Xsse_OR; goto do_SseReRg;
-//.. case Iop_Xor128: op =3D Xsse_XOR; goto do_SseReRg;
+//.. case Iop_AndV128: op =3D Xsse_AND; goto do_SseReRg;
+//.. case Iop_OrV128: op =3D Xsse_OR; goto do_SseReRg;
+//.. case Iop_XorV128: op =3D Xsse_XOR; goto do_SseReRg;
//.. case Iop_Add8x16: op =3D Xsse_ADD8; goto do_SseReRg;
//.. case Iop_Add16x8: op =3D Xsse_ADD16; goto do_SseReRg;
//.. case Iop_Add32x4: op =3D Xsse_ADD32; goto do_SseReRg;
@@ -3327,6 +3332,12 @@
addInstr(env, PPC32Instr_Store( 4, am_addr4, rLo ));
return;
}
+//.. if (ty =3D=3D Ity_V128) {
+//.. HReg vec =3D iselVecExpr(env, stmt->Ist.Put.data);
+//.. X86AMode* am =3D X86AMode_IR(stmt->Ist.Put.offset, hregX8=
6_EBP());
+//.. addInstr(env, X86Instr_SseLdSt(False/*store*/, vec, am));
+//.. 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());
@@ -3402,18 +3413,18 @@
addInstr(env, PPC32Instr_FpUnary(Pfp_MOV, fr_dst, fr_src));
return;
}
-//.. if (ty =3D=3D Ity_F32) {
-//.. HReg dst =3D lookupIRTemp(env, tmp);
-//.. HReg src =3D iselFltExpr(env, stmt->Ist.Tmp.data);
-//.. addInstr(env, X86Instr_FpUnary(Xfp_MOV,src,dst));
-//.. return;
-//.. }
-//.. if (ty =3D=3D Ity_V128) {
-//.. HReg dst =3D lookupIRTemp(env, tmp);
-//.. HReg src =3D iselVecExpr(env, stmt->Ist.Tmp.data);
-//.. addInstr(env, mk_vMOVsd_RR(src,dst));
-//.. return;
-//.. }
+ if (ty =3D=3D Ity_F32) {
+ HReg fr_dst =3D lookupIRTemp(env, tmp);
+ HReg fr_src =3D iselFltExpr(env, stmt->Ist.Tmp.data);
+ addInstr(env, PPC32Instr_FpUnary(Pfp_MOV, fr_dst, fr_src));
+ return;
+ }
+ if (ty =3D=3D Ity_V128) {
+ HReg v_dst =3D lookupIRTemp(env, tmp);
+ HReg v_src =3D iselVecExpr(env, stmt->Ist.Tmp.data);
+ addInstr(env, PPC32Instr_AvUnary(Pav_MOV, v_dst, v_src));
+ return;
+ }
break;
}
=20
|
|
From: <sv...@va...> - 2005-06-29 18:54:21
|
Author: cerion
Date: 2005-06-29 19:53:23 +0100 (Wed, 29 Jun 2005)
New Revision: 1230
Log:
Fixed bug in doHelperCall, passing LONG_LONG params
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-29 07:59:18 UTC (rev 1229)
+++ trunk/priv/host-ppc32/isel.c 2005-06-29 18:53:23 UTC (rev 1230)
@@ -634,8 +634,8 @@
iselIntExpr_R(env, args[i]) ));
} else { // Ity_I64
HReg rHi, rLo;
- if (i%2 =3D=3D 1) // ppc32 abi spec for LONG_LONG
- argreg++;
+ if (argreg%2 =3D=3D 1) // ppc32 abi spec for passing a LONG_=
LONG
+ argreg++; // XXX: odd argreg =3D> even rN
vassert(argreg < PPC32_N_REGPARMS-1);
iselInt64Expr(&rHi,&rLo, env, args[i]);
addInstr(env, mk_iMOVds_RR( argregs[argreg++], rHi ));
@@ -668,8 +668,8 @@
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++;
+ if (argreg%2 =3D=3D 1) // ppc32 abi spec for passing a LONG_=
LONG
+ argreg++; // XXX: odd argreg =3D> even rN
vassert(argreg < PPC32_N_REGPARMS-1);
iselInt64Expr(&rHi,&rLo, env, args[i]);
tmpregs[argreg++] =3D rHi;
@@ -695,6 +695,8 @@
=20
/* Move the args to their final destinations. */
for (i =3D 0; i < argreg; i++) {
+ if (tmpregs[i] =3D=3D INVALID_HREG) // Skip invalid regs
+ continue;
/* None of these insns, including any spill code that might
be generated, may alter the condition codes. */
addInstr( env, mk_iMOVds_RR( argregs[i], tmpregs[i] ) );
|
|
From: <sv...@va...> - 2005-06-29 17:13:22
|
Author: sewardj
Date: 2005-06-29 18:12:28 +0100 (Wed, 29 Jun 2005)
New Revision: 4053
Log:
It's official. I am a moron.
Modified:
trunk/coregrind/m_transtab.c
Modified: trunk/coregrind/m_transtab.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_transtab.c 2005-06-29 10:16:14 UTC (rev 4052)
+++ trunk/coregrind/m_transtab.c 2005-06-29 17:12:28 UTC (rev 4053)
@@ -334,7 +334,7 @@
Addr addr;
=20
/* Surely no real cache would have a different line size? */
- vg_assert(cls =3D=3D 16 || cls =3D=3D 32 || cls =3D=3D 64);
+ vg_assert(cls =3D=3D 16 || cls =3D=3D 32 || cls =3D=3D 64 || cls =3D=3D=
128);
=20
startaddr &=3D ~(cls - 1);
for (addr =3D startaddr; addr < endaddr; addr +=3D cls)
|
|
From: Nicholas N. <nj...@cs...> - 2005-06-29 13:35:13
|
Hi, I want to remove the "Corecheck" tool. Corecheck is just like Nulgrind, except that it turns on "core errors". These are errors that the core can detect. The main ones used to be all the pthread errors, before they were disabled. There are also some other minor ones like detecting bad signal numbers in some signal-handling functions, and detecting bogus file descriptors passed to read(). The Corecheck regtests in theory are exercising these "core errors". In practice they are not. Most of them could be moved into Nulgrind with no change. The small number that actually report a "core error" could be moved into memcheck/tests/, since Memcheck (along with Addrcheck and Helgrind) turn on "core errors". I started this move last night, moving some of corecheck/tests/ into none/tests. And since regression testing was Corecheck's raison d'etre, if I move the regression tests out of corecheck/tests/ then Corecheck might as well die. It would be one fewer tool to maintain and document. Any objections? Related to this: Nulgrind currently does report some minor errors, eg. if you pass an invalid file descriptor to read(). I think it shouldn't, that all minor errors like this should only be reported if "core errors" have been turned on in the tool. Thus Nulgrind would never report any kind of errors, just run the program normally. Memcheck and co. would still report these minor errors, of course. Any objections to this? N |
|
From: Nicholas N. <nj...@cs...> - 2005-06-29 12:52:16
|
On Wed, 29 Jun 2005, Julian Seward wrote: >> Fix off-by-one error that was causing four leak-checking regression test >> failures for me, and also fixes bug #106293 for me. Let's hope it has >> the same effect for others. > > Thanks for chasing that. I was going to look at it this morning but I guess > I don't need to now :-) I wasn't even chasing it -- I just stumbled across it while looking at something else and got lucky :) N |
|
From: Paul M. <pa...@sa...> - 2005-06-29 12:28:48
|
Julian Seward writes: > Something similar needs to be instituted for ppc32. So far we > know of ppc32 with no Altivec and ppc32 with Altivec. Are there > further variants that need considering? There are embedded ppc processors (405, 440) that don't have altivec but do have some extra integer multiply-add instructions. The 440 also has a "determine left-most zero byte" instruction IIRC. I'll try to dig up some documentation on these instructions. Regards, Paul. |
|
From: Julian S. <js...@ac...> - 2005-06-29 10:51:50
|
Paul What are the main instruction-set variants in use on ppc32 ? For example, on x86, Vex distinguishes between x86-with-no-SSE capabilities, x86-that-can-do-SSE1 and x86-that-can-do-SSE2. Something similar needs to be instituted for ppc32. So far we know of ppc32 with no Altivec and ppc32 with Altivec. Are there further variants that need considering? Thanks, J |
|
From: <sv...@va...> - 2005-06-29 10:16:21
|
Author: sewardj
Date: 2005-06-29 11:16:14 +0100 (Wed, 29 Jun 2005)
New Revision: 4052
Log:
ppc32: reinstate collection of cache-line-size info from the auxv
array at startup. This is used in m_transtab. However this info is
not yet fed to Vex, so it's still important to zero-out the auxv field
holding cache line size info passed to the client, so as to stop the
client's glibc using dcbz. This will be fixed.
Also get rid of a bunch more ppc32-specific vdso stuff in m_main that
doesn't need to be done. This now means ppc32-linux specifics in
m_main are only marginally intrusive than the x86-linux or amd64-linux
specifics in m_main.
Modified:
trunk/coregrind/m_machine.c
trunk/coregrind/m_main.c
trunk/coregrind/m_transtab.c
trunk/coregrind/pub_core_machine.h
Modified: trunk/coregrind/m_machine.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_machine.c 2005-06-29 08:46:30 UTC (rev 4051)
+++ trunk/coregrind/m_machine.c 2005-06-29 10:16:14 UTC (rev 4052)
@@ -196,6 +196,16 @@
return VG_INVALID_THREADID;
}
=20
+//////////////////////////////////////////////////////////////////
+// Architecture specifics
+
+// PPC: what is the cache line size (for dcbz etc) ?
+// This info is harvested on Linux at startup from the AT_SYSINFO
+// entries. 0 means not-yet-set.
+#if defined(VGA_ppc32)
+Int VG_(cache_line_size_ppc32) =3D 0;
+#endif
+
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
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-29 08:46:30 UTC (rev 4051)
+++ trunk/coregrind/m_main.c 2005-06-29 10:16:14 UTC (rev 4052)
@@ -122,13 +122,7 @@
static Int vg_argc;
static Char **vg_argv;
=20
-#if defined(VGP_ppc32_linux)
-/* From the aux vector */
-Int VG_(cache_line_size);
-UInt VG_(hardware_capabilities);
-#endif
=20
-
/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/
/*=3D=3D=3D Counters, for profiling purposes only =
=3D=3D=3D*/
/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/
@@ -173,28 +167,28 @@
found |=3D 2;
break;
=20
-#if defined(VGP_ppc32_linux)
+# if defined(VGP_ppc32_linux)
case AT_DCACHEBSIZE:
case AT_ICACHEBSIZE:
case AT_UCACHEBSIZE:
- 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 instns in vex (dcbz)
- auxv->u.a_val =3D 0;
+ if (auxv->u.a_val > 0) {
+ VG_(cache_line_size_ppc32) =3D auxv->u.a_val;
+ VG_(debugLog)(1, "main",=20
+ "PPC32 cache line size %u (type %u)\n",=20
+ (UInt)auxv->u.a_val, (UInt)auxv->a_type );
+ }
+ /* HACK: Tell glibc we don't know what the line size is.
+ This stops it using dcbz. */
+ auxv->u.a_val =3D 0;
break;
+# endif
=20
- case AT_HWCAP:
- VG_(hardware_capabilities) =3D auxv->u.a_val;
- break;
-#endif
-
case AT_PHDR:
VG_(valgrind_base) =3D VG_PGROUNDDN(auxv->u.a_val);
break;
=20
+ default:
+ break;
}
=20
if ( found !=3D (1|2) ) {
Modified: trunk/coregrind/m_transtab.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_transtab.c 2005-06-29 08:46:30 UTC (rev 4051)
+++ trunk/coregrind/m_transtab.c 2005-06-29 10:16:14 UTC (rev 4052)
@@ -30,12 +30,13 @@
*/
=20
#include "pub_core_basics.h"
+#include "pub_core_machine.h" // ppc32: VG_(cache_line_size_ppc32)
#include "pub_core_libcbase.h"
#include "pub_core_libcassert.h"
-#include "pub_core_libcmman.h" // For VG_(get_memory_from_mmap)()
+#include "pub_core_libcmman.h" // For VG_(get_memory_from_mmap)()
#include "pub_core_libcprint.h"
#include "pub_core_options.h"
-#include "pub_core_tooliface.h" // For VG_(details).avg_translation_=
sizeB
+#include "pub_core_tooliface.h" // For VG_(details).avg_translation_siz=
eB
#include "pub_core_transtab.h"
=20
/* #define DEBUG_TRANSTAB */
@@ -324,14 +325,17 @@
invalidateFastCache();
}
=20
-#if defined(VGA_ppc32)
-static void invalidate_icache(void *ptr, int nbytes)
+static void invalidate_icache ( void *ptr, Int nbytes )
{
- unsigned long startaddr =3D (unsigned long) ptr;
- unsigned long endaddr =3D startaddr + nbytes;
- unsigned long addr;
- unsigned long cls =3D 16; //VG_(cache_line_size);
+# if defined(VGA_ppc32)
+ Addr startaddr =3D (Addr) ptr;
+ Addr endaddr =3D startaddr + nbytes;
+ Addr cls =3D VG_(cache_line_size_ppc32);
+ Addr addr;
=20
+ /* Surely no real cache would have a different line size? */
+ vg_assert(cls =3D=3D 16 || cls =3D=3D 32 || cls =3D=3D 64);
+
startaddr &=3D ~(cls - 1);
for (addr =3D startaddr; addr < endaddr; addr +=3D cls)
asm volatile("dcbst 0,%0" : : "r" (addr));
@@ -339,8 +343,17 @@
for (addr =3D startaddr; addr < endaddr; addr +=3D cls)
asm volatile("icbi 0,%0" : : "r" (addr));
asm volatile("sync; isync");
+
+# elif defined(VGA_x86)
+ /* no need to do anything, hardware provides coherence */
+
+# elif defined(VGA_amd64)
+ /* no need to do anything, hardware provides coherence */
+
+# else
+# error "Unknown ARCH"
+# endif
}
-#endif
=20
=20
/* Add a translation of vge to TT/TC. The translation is temporarily
@@ -421,9 +434,7 @@
sectors[y].tc_next +=3D reqdQ;
sectors[y].tt_n_inuse++;
=20
-#if defined(VGA_ppc32)
invalidate_icache( dstP, code_len );
-#endif
=20
/* more paranoia */
tce2 =3D sectors[y].tc_next;
Modified: trunk/coregrind/pub_core_machine.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_machine.h 2005-06-29 08:46:30 UTC (rev 4051)
+++ trunk/coregrind/pub_core_machine.h 2005-06-29 10:16:14 UTC (rev 4052)
@@ -88,6 +88,15 @@
// Offsets for the Vex state
#define VG_O_STACK_PTR (offsetof(VexGuestArchState, VG_STACK_PTR)=
)
=20
+// Architecture specifics
+
+// PPC: what is the cache line size (for dcbz etc) ?
+// This info is harvested on Linux at startup from the AT_SYSINFO
+// entries.
+#if defined(VGA_ppc32)
+extern Int VG_(cache_line_size_ppc32);
+#endif
+
#endif // __PUB_CORE_MACHINE_H
=20
/*--------------------------------------------------------------------*/
|
|
From: <sv...@va...> - 2005-06-29 08:46:33
|
Author: sewardj
Date: 2005-06-29 09:46:30 +0100 (Wed, 29 Jun 2005)
New Revision: 4051
Log:
Get rid of some VDSO finding stuff which was ifdef VGP_ppc32_linux but
apparently pointless as per recent mail from PaulM since ppc32-linux
does not use VDSOs yet.
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-29 04:02:24 UTC (rev 4050)
+++ trunk/coregrind/m_main.c 2005-06-29 08:46:30 UTC (rev 4051)
@@ -126,8 +126,6 @@
/* From the aux vector */
Int VG_(cache_line_size);
UInt VG_(hardware_capabilities);
-Addr VG_(vdso_base);
-Addr VG_(vdso_end);
#endif
=20
=20
@@ -154,24 +152,6 @@
=20
=20
/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/
-/*=3D=3D=3D Miscellaneous global functions =
=3D=3D=3D*/
-/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/
-
-#if defined(VGP_ppc32_linux)
-/* Used in scanning /proc/pid/maps for the VDSO */
-static int find_vdso(char *start, char *end, const char *perm,
- off_t offset, int maj, int min, int ino, void *extra)
-{
- if ((Addr)start !=3D VG_(vdso_base))
- return 1; /* keep looking */
- /* found it */
- VG_(vdso_end) =3D (Addr)end;
- return 0;
-}
-#endif
-
-
-/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/
/*=3D=3D=3D Check we were launched by stage 1 =
=3D=3D=3D*/
/*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D*/
=20
@@ -215,12 +195,6 @@
VG_(valgrind_base) =3D VG_PGROUNDDN(auxv->u.a_val);
break;
=20
-#if defined(VGP_ppc32_linux)
- case AT_SYSINFO_EHDR:
- VG_(vdso_base) =3D auxv->u.a_val;
- VG_(foreach_map)(find_vdso, NULL);
- break;
-#endif
}
=20
if ( found !=3D (1|2) ) {
@@ -294,27 +268,8 @@
vg_assert(!res.isError);
=20
// Make client hole
-//zz #if defined(VGP_ppc32_linux)
-//zz {
-//zz Int ires;
-//zz if (VG_(vdso_end) > VG_(client_base) && VG_(vdso_base) < VG_(cli=
ent_end)) {
-//zz if (VG_(client_base) < VG_(vdso_base)) {
-//zz ires =3D munmap((void *)VG_(client_base), VG_(vdso_base) - V=
G_(client_base));
-//zz vg_assert(ires =3D=3D 0);
-//zz }
-//zz if (VG_(vdso_end) < VG_(client_end)) {
-//zz ires =3D munmap((void *)VG_(vdso_end), VG_(client_end) - VG_=
(vdso_end));
-//zz vg_assert(ires =3D=3D 0);
-//zz }
-//zz } else {
-//zz ires =3D munmap((void*)VG_(client_base), client_size);
-//zz vg_assert(ires =3D=3D 0);
-//zz }
-//zz }
-//zz #else
res =3D VG_(munmap_native)((void*)VG_(client_base), client_size);
vg_assert(!res.isError);
-//zz #endif
=20
// Map shadow memory.
// Initially all inaccessible, incrementally initialized as it is use=
d
|
|
From: Julian S. <js...@ac...> - 2005-06-29 08:23:40
|
> Fix off-by-one error that was causing four leak-checking regression test > failures for me, and also fixes bug #106293 for me. Let's hope it has > the same effect for others. Thanks for chasing that. I was going to look at it this morning but I guess I don't need to now :-) J |
|
From: Cerion Armour-B. <ce...@op...> - 2005-06-29 08:09:25
|
On Wednesday 29 June 2005 10:02, Tom Hughes wrote: > In message <200...@op...> > > sv...@va... wrote: > > Fixed coupla altivec typos > > - hopefully fixes FC4 build > > It seems to be fine now. > > Tom Great. I'll have to try out gcc 4... Cerion |
|
From: Tom H. <to...@co...> - 2005-06-29 08:03:10
|
In message <200...@op...>
sv...@va... wrote:
> Fixed coupla altivec typos
> - hopefully fixes FC4 build
It seems to be fine now.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|
|
From: <sv...@va...> - 2005-06-29 07:59:23
|
Author: cerion
Date: 2005-06-29 08:59:18 +0100 (Wed, 29 Jun 2005)
New Revision: 1229
Log:
Fixed coupla altivec typos
- hopefully fixes FC4 build
Modified:
trunk/priv/host-ppc32/hdefs.c
trunk/priv/host-ppc32/hdefs.h
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-28 21:07:02 UTC (rev 1228)
+++ trunk/priv/host-ppc32/hdefs.c 2005-06-29 07:59:18 UTC (rev 1229)
@@ -1226,21 +1226,18 @@
=20
case Pin_AvLdSt: {
UChar sz =3D i->Pin.AvLdSt.sz;
- UChar* str_sz =3D (sz =3D=3D 8) ? "eb" :
- (sz =3D=3D 16) ? "eh" :
- (sz =3D=3D 32) ? "ew" : "";
if (i->Pin.AvLdSt.addr->tag =3D=3D Pam_IR) {
vex_printf("{ ");
ppLoadImm(hregPPC32_GPR30(), i->Pin.AvLdSt.addr->Pam.RR.index);
vex_printf(" }");
}
if (i->Pin.AvLdSt.isLoad) {
- vex_printf("lv%sx ", str_sz);
+ vex_printf("lv%sx ", sz=3D=3D8 ? "eb" : sz=3D=3D16 ? "eh" : sz=3D=
=3D32 ? "ew" : "");
ppHRegPPC32(i->Pin.AvLdSt.reg);
vex_printf(",");
ppPPC32AMode(i->Pin.AvLdSt.addr);
} else {
- vex_printf("stv%sx ", str_sz);
+ vex_printf("stv%sx ", sz=3D=3D8 ? "eb" : sz=3D=3D16 ? "eh" : sz=
=3D=3D32 ? "ew" : "");
ppHRegPPC32(i->Pin.AvLdSt.reg);
vex_printf(",");
ppPPC32AMode(i->Pin.AvLdSt.addr);
Modified: trunk/priv/host-ppc32/hdefs.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/priv/host-ppc32/hdefs.h 2005-06-28 21:07:02 UTC (rev 1228)
+++ trunk/priv/host-ppc32/hdefs.h 2005-06-29 07:59:18 UTC (rev 1229)
@@ -686,12 +686,12 @@
extern PPC32Instr* PPC32Instr_RdWrLR ( Bool wrLR, HReg gpr );
=20
extern PPC32Instr* PPC32Instr_AvLdSt ( Bool isLoad, UChar sz, HReg, =
PPC32AMode* );
-extern PPC32Instr* PPC32Instr_AvUnary ( PPC32FpOp op, HReg dst, HReg =
src );
-extern PPC32Instr* PPC32Instr_AvBinary ( PPC32FpOp op, HReg dst, HReg =
srcL, HReg srcR );
-extern PPC32Instr* PPC32Instr_AvBin8x16 ( PPC32FpOp op, HReg dst, HReg =
srcL, HReg srcR );
-extern PPC32Instr* PPC32Instr_AvBin16x8 ( PPC32FpOp op, HReg dst, HReg =
srcL, HReg srcR );
-extern PPC32Instr* PPC32Instr_AvBin32x4 ( PPC32FpOp op, HReg dst, HReg =
srcL, HReg srcR );
-extern PPC32Instr* PPC32Instr_AvBin32Fx4 ( PPC32FpOp op, HReg dst, HReg =
srcL, HReg srcR );
+extern PPC32Instr* PPC32Instr_AvUnary ( PPC32AvOp op, HReg dst, HReg =
src );
+extern PPC32Instr* PPC32Instr_AvBinary ( PPC32AvOp op, HReg dst, HReg =
srcL, HReg srcR );
+extern PPC32Instr* PPC32Instr_AvBin8x16 ( PPC32AvOp op, HReg dst, HReg =
srcL, HReg srcR );
+extern PPC32Instr* PPC32Instr_AvBin16x8 ( PPC32AvOp op, HReg dst, HReg =
srcL, HReg srcR );
+extern PPC32Instr* PPC32Instr_AvBin32x4 ( PPC32AvOp op, HReg dst, HReg =
srcL, HReg srcR );
+extern PPC32Instr* PPC32Instr_AvBin32Fx4 ( PPC32AvOp op, HReg dst, HReg =
srcL, HReg srcR );
extern PPC32Instr* PPC32Instr_AvPerm ( HReg ctl, HReg dst, HReg srcL=
, HReg srcR );
extern PPC32Instr* PPC32Instr_AvSel ( HReg ctl, HReg dst, HReg srcL=
, HReg srcR );
extern PPC32Instr* PPC32Instr_AvShlDbl ( UChar shift, HReg dst, HReg s=
rcL, HReg srcR );
|
|
From: Tom H. <to...@co...> - 2005-06-29 07:49:32
|
In message <E1D...@du...>
Tom Hughes <to...@co...> wrote:
> gcc -g -O -Wall -Wmissing-prototypes -Wshadow -Winline -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wmissing-declarations -fpie -Ipub -Ipriv -o priv/host-ppc32/hdefs.o \
> -c priv/host-ppc32/hdefs.c
> priv/host-ppc32/hdefs.c:817: error: conflicting types for 'PPC32Instr_AvUnary'
> priv/host-ppc32/hdefs.h:689: error: previous declaration of 'PPC32Instr_AvUnary' was here
The prototype says PPC32FpOp for the first argument but the function
itself says PPC32AvOp. Obviously gcc 4 is stricter about enum types
matching in prototypes.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|
|
From: <sv...@va...> - 2005-06-29 04:02:27
|
Author: njn
Date: 2005-06-29 05:02:24 +0100 (Wed, 29 Jun 2005)
New Revision: 4050
Log:
Fix vg_regtests so it can properly handle alternative output filenames wi=
th
more than one numeric char at the end (eg. xml1.stderr.exp64).
Modified:
trunk/tests/vg_regtest.in
Modified: trunk/tests/vg_regtest.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tests/vg_regtest.in 2005-06-29 03:54:09 UTC (rev 4049)
+++ trunk/tests/vg_regtest.in 2005-06-29 04:02:24 UTC (rev 4050)
@@ -55,15 +55,15 @@
# Note that filters are necessary for stderr results to filter out thing=
s that
# always change, eg. process id numbers.
#
-# Expected stdout (filtered) is kept in <test>.stdout.exp[0-9]? (can be =
more
+# Expected stdout (filtered) is kept in <test>.stdout.exp[0-9]* (can be =
more
# than one expected output). It can be missing if it would be empty. E=
xpected
-# stderr (filtered) is kept in <test>.stderr.exp[0-9]?.=20
+# stderr (filtered) is kept in <test>.stderr.exp[0-9]*.=20
#
# The prerequisite command, if present, must return 0 otherwise the test=
is
# skipped.
#
# If results don't match, the output can be found in <test>.std<strm>.ou=
t,
-# and the diff between expected and actual in <test>.std<strm>.diff[0-9]=
?.
+# and the diff between expected and actual in <test>.std<strm>.diff[0-9]=
*.
#
# Notes on adding regression tests for a new tool are in
# coregrind/docs/coregrind_tools.html.
@@ -236,7 +236,7 @@
(-r $f_exp) or die "Could not read `$f_exp'\n";
=20
my $n =3D "";
- if ($f_exp =3D~ /.*\.exp(\d?)/) {
+ if ($f_exp =3D~ /.*\.exp(\d*)/) {
$n =3D $1;
} else {
$n =3D "";
|
|
From: <sv...@va...> - 2005-06-29 03:54:11
|
Author: njn Date: 2005-06-29 04:54:09 +0100 (Wed, 29 Jun 2005) New Revision: 4049 Log: Add alt output Added: trunk/none/tests/fdleak_cmsg.stderr.exp3 Added: trunk/none/tests/fdleak_cmsg.stderr.exp3 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_cmsg.stderr.exp3 2005-06-29 03:46:32 UTC (rev= 4048) +++ trunk/none/tests/fdleak_cmsg.stderr.exp3 2005-06-29 03:54:09 UTC (rev= 4049) @@ -0,0 +1,53 @@ + + +FILE DESCRIPTORS: 7 open at exit. +Open AF_UNIX socket .: /tmp/sock + at 0x........: accept (in /...libc...) + by 0x........: main (fdleak_cmsg.c:174) + +Open AF_UNIX socket .: /tmp/sock + at 0x........: socket (in /...libc...) + by 0x........: main (fdleak_cmsg.c:174) + +Open file descriptor .: /tmp/data2 + at 0x........: open (in /...libc...) + by 0x........: main (fdleak_cmsg.c:174) + +Open file descriptor .: /tmp/data1 + at 0x........: open (in /...libc...) + by 0x........: main (fdleak_cmsg.c:174) + +Open file descriptor .: . + <inherited from parent> + +Open file descriptor .: . + <inherited from parent> + +Open file descriptor .: /dev/null + <inherited from parent> + + + +FILE DESCRIPTORS: 6 open at exit. +Open file descriptor .: /tmp/data2 + at 0x........: recvmsg (in /...libc...) + by 0x........: main (fdleak_cmsg.c:178) + +Open file descriptor .: /tmp/data1 + at 0x........: recvmsg (in /...libc...) + by 0x........: main (fdleak_cmsg.c:178) + +Open AF_UNIX socket .: <unknown> + at 0x........: socket (in /...libc...) + by 0x........: main (fdleak_cmsg.c:178) + +Open file descriptor .: . + <inherited from parent> + +Open file descriptor .: . + <inherited from parent> + +Open file descriptor .: /dev/null + <inherited from parent> + + |
|
From: <sv...@va...> - 2005-06-29 03:46:36
|
Author: njn
Date: 2005-06-29 04:46:32 +0100 (Wed, 29 Jun 2005)
New Revision: 4048
Log:
Move a heap of tests from corecheck/tests/ into none/tests/. There's
no real point in having them in corecheck/tests since they're not testing
anything that Nulgrind doesn't provide.
Added:
trunk/none/tests/as_mmap.c
trunk/none/tests/as_mmap.stderr.exp
trunk/none/tests/as_mmap.stderr.exp2
trunk/none/tests/as_mmap.vgtest
trunk/none/tests/as_shm.c
trunk/none/tests/as_shm.stderr.exp
trunk/none/tests/as_shm.stdout.exp
trunk/none/tests/as_shm.vgtest
trunk/none/tests/fdleak_cmsg.c
trunk/none/tests/fdleak_cmsg.stderr.exp
trunk/none/tests/fdleak_cmsg.stderr.exp2
trunk/none/tests/fdleak_cmsg.vgtest
trunk/none/tests/fdleak_creat.c
trunk/none/tests/fdleak_creat.stderr.exp
trunk/none/tests/fdleak_creat.stderr.exp2
trunk/none/tests/fdleak_creat.stderr.exp3
trunk/none/tests/fdleak_creat.vgtest
trunk/none/tests/fdleak_dup.c
trunk/none/tests/fdleak_dup.stderr.exp
trunk/none/tests/fdleak_dup.stderr.exp2
trunk/none/tests/fdleak_dup.stderr.exp3
trunk/none/tests/fdleak_dup.vgtest
trunk/none/tests/fdleak_dup2.c
trunk/none/tests/fdleak_dup2.stderr.exp
trunk/none/tests/fdleak_dup2.stderr.exp2
trunk/none/tests/fdleak_dup2.stderr.exp3
trunk/none/tests/fdleak_dup2.vgtest
trunk/none/tests/fdleak_fcntl.c
trunk/none/tests/fdleak_fcntl.stderr.exp
trunk/none/tests/fdleak_fcntl.stderr.exp2
trunk/none/tests/fdleak_fcntl.stderr.exp3
trunk/none/tests/fdleak_fcntl.stderr.exp4
trunk/none/tests/fdleak_fcntl.vgtest
trunk/none/tests/fdleak_ipv4.c
trunk/none/tests/fdleak_ipv4.stderr.exp
trunk/none/tests/fdleak_ipv4.stderr.exp2
trunk/none/tests/fdleak_ipv4.stdout.exp
trunk/none/tests/fdleak_ipv4.vgtest
trunk/none/tests/fdleak_open.c
trunk/none/tests/fdleak_open.stderr.exp
trunk/none/tests/fdleak_open.stderr.exp2
trunk/none/tests/fdleak_open.vgtest
trunk/none/tests/fdleak_pipe.c
trunk/none/tests/fdleak_pipe.stderr.exp
trunk/none/tests/fdleak_pipe.stderr.exp2
trunk/none/tests/fdleak_pipe.vgtest
trunk/none/tests/fdleak_socketpair.c
trunk/none/tests/fdleak_socketpair.stderr.exp
trunk/none/tests/fdleak_socketpair.stderr.exp2
trunk/none/tests/fdleak_socketpair.vgtest
trunk/none/tests/filter_as_mmap
trunk/none/tests/filter_fdleak
trunk/none/tests/vgprintf.c
trunk/none/tests/vgprintf.stderr.exp
trunk/none/tests/vgprintf.stdout.exp
trunk/none/tests/vgprintf.vgtest
Removed:
trunk/corecheck/tests/as_mmap.c
trunk/corecheck/tests/as_mmap.stderr.exp
trunk/corecheck/tests/as_mmap.stderr.exp2
trunk/corecheck/tests/as_mmap.vgtest
trunk/corecheck/tests/as_shm.c
trunk/corecheck/tests/as_shm.stderr.exp
trunk/corecheck/tests/as_shm.stdout.exp
trunk/corecheck/tests/as_shm.vgtest
trunk/corecheck/tests/fdleak_cmsg.c
trunk/corecheck/tests/fdleak_cmsg.stderr.exp
trunk/corecheck/tests/fdleak_cmsg.stderr.exp2
trunk/corecheck/tests/fdleak_cmsg.vgtest
trunk/corecheck/tests/fdleak_creat.c
trunk/corecheck/tests/fdleak_creat.stderr.exp
trunk/corecheck/tests/fdleak_creat.stderr.exp2
trunk/corecheck/tests/fdleak_creat.stderr.exp3
trunk/corecheck/tests/fdleak_creat.vgtest
trunk/corecheck/tests/fdleak_dup.c
trunk/corecheck/tests/fdleak_dup.stderr.exp
trunk/corecheck/tests/fdleak_dup.stderr.exp2
trunk/corecheck/tests/fdleak_dup.stderr.exp3
trunk/corecheck/tests/fdleak_dup.vgtest
trunk/corecheck/tests/fdleak_dup2.c
trunk/corecheck/tests/fdleak_dup2.stderr.exp
trunk/corecheck/tests/fdleak_dup2.stderr.exp2
trunk/corecheck/tests/fdleak_dup2.stderr.exp3
trunk/corecheck/tests/fdleak_dup2.vgtest
trunk/corecheck/tests/fdleak_fcntl.c
trunk/corecheck/tests/fdleak_fcntl.stderr.exp
trunk/corecheck/tests/fdleak_fcntl.stderr.exp2
trunk/corecheck/tests/fdleak_fcntl.stderr.exp3
trunk/corecheck/tests/fdleak_fcntl.stderr.exp4
trunk/corecheck/tests/fdleak_fcntl.vgtest
trunk/corecheck/tests/fdleak_ipv4.c
trunk/corecheck/tests/fdleak_ipv4.stderr.exp
trunk/corecheck/tests/fdleak_ipv4.stderr.exp2
trunk/corecheck/tests/fdleak_ipv4.stdout.exp
trunk/corecheck/tests/fdleak_ipv4.vgtest
trunk/corecheck/tests/fdleak_open.c
trunk/corecheck/tests/fdleak_open.stderr.exp
trunk/corecheck/tests/fdleak_open.stderr.exp2
trunk/corecheck/tests/fdleak_open.vgtest
trunk/corecheck/tests/fdleak_pipe.c
trunk/corecheck/tests/fdleak_pipe.stderr.exp
trunk/corecheck/tests/fdleak_pipe.stderr.exp2
trunk/corecheck/tests/fdleak_pipe.vgtest
trunk/corecheck/tests/fdleak_socketpair.c
trunk/corecheck/tests/fdleak_socketpair.stderr.exp
trunk/corecheck/tests/fdleak_socketpair.stderr.exp2
trunk/corecheck/tests/fdleak_socketpair.vgtest
trunk/corecheck/tests/filter_as_mmap
trunk/corecheck/tests/filter_fdleak
trunk/corecheck/tests/vgprintf.c
trunk/corecheck/tests/vgprintf.stderr.exp
trunk/corecheck/tests/vgprintf.stdout.exp
trunk/corecheck/tests/vgprintf.vgtest
Modified:
trunk/corecheck/tests/Makefile.am
trunk/none/tests/Makefile.am
trunk/tests/filter_addresses
Modified: trunk/corecheck/tests/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/Makefile.am 2005-06-28 23:41:57 UTC (rev 4047)
+++ trunk/corecheck/tests/Makefile.am 2005-06-29 03:46:32 UTC (rev 4048)
@@ -4,28 +4,10 @@
## blocking syscalls, etc.
##----------------------------------------------------------------------=
-----
=20
-noinst_SCRIPTS =3D filter_stderr filter_as_mmap filter_fdleak
+noinst_SCRIPTS =3D filter_stderr
=20
EXTRA_DIST =3D $(noinst_SCRIPTS) \
- as_mmap.stderr.exp as_mmap.stderr.exp2 as_mmap.vgtest \
- as_shm.stderr.exp as_shm.stdout.exp as_shm.vgtest \
erringfds.stderr.exp erringfds.stdout.exp erringfds.vgtest \
- fdleak_cmsg.stderr.exp fdleak_cmsg.stderr.exp2 fdleak_cmsg.vgtest \
- fdleak_creat.stderr.exp fdleak_creat.stderr.exp2 \
- fdleak_creat.stderr.exp3 fdleak_creat.vgtest \
- fdleak_dup.stderr.exp fdleak_dup.stderr.exp2 \
- fdleak_dup.stderr.exp3 fdleak_dup.vgtest \
- fdleak_dup2.stderr.exp fdleak_dup2.stderr.exp2 \
- fdleak_dup2.stderr.exp3 fdleak_dup2.vgtest \
- fdleak_fcntl.stderr.exp fdleak_fcntl.stderr.exp2 \
- fdleak_fcntl.stderr.exp3 fdleak_fcntl.stderr.exp4 \
- fdleak_fcntl.vgtest \
- fdleak_ipv4.stderr.exp fdleak_ipv4.stderr.exp2 \
- fdleak_ipv4.stdout.exp fdleak_ipv4.vgtest \
- fdleak_open.stderr.exp fdleak_open.stderr.exp2 fdleak_open.vgtest \
- fdleak_pipe.stderr.exp fdleak_pipe.stderr.exp2 fdleak_pipe.vgtest \
- fdleak_socketpair.stderr.exp fdleak_socketpair.stderr.exp2 \
- fdleak_socketpair.vgtest \
pth_atfork1.stderr.exp pth_atfork1.stdout.exp pth_atfork1.vgtest \
pth_cancel1.stderr.exp pth_cancel1.stdout.exp pth_cancel1.vgtest \
pth_cancel2.stderr.exp pth_cancel2.vgtest \
@@ -41,38 +23,20 @@
stack_changes.vgtest \
res_search.stderr.exp res_search.stdout.exp res_search.vgtest \
threadederrno.stderr.exp threadederrno.stdout.exp \
- threadederrno.vgtest \
- vgprintf.stderr.exp vgprintf.stdout.exp vgprintf.vgtest
+ threadederrno.vgtest
=20
check_PROGRAMS =3D \
- erringfds fdleak_cmsg fdleak_creat fdleak_dup fdleak_dup2 \
- fdleak_fcntl fdleak_ipv4 fdleak_open fdleak_pipe \
- fdleak_socketpair sigkill res_search \
+ erringfds \
+ sigkill res_search \
pth_atfork1 pth_cancel1 pth_cancel2 pth_cvsimple pth_empty \
pth_exit pth_exit2 pth_mutexspeed pth_once pth_rwlock \
- as_mmap as_shm threadederrno \
- stack_changes vgprintf
+ threadederrno \
+ stack_changes
=20
AM_CFLAGS =3D $(WERROR) -Winline -Wall -Wshadow -g -O0
AM_CPPFLAGS =3D -I$(top_srcdir)/include
AM_CXXFLAGS =3D $(AM_CFLAGS)
=20
-vgprintf_SOURCES =3D vgprintf.c
-
-# Client address space checks
-as_mmap_SOURCES =3D as_mmap.c
-as_shm_SOURCES =3D as_shm.c
-
-# Leak tests
-fdleak_cmsg_SOURCES =3D fdleak_cmsg.c
-fdleak_creat_SOURCES =3D fdleak_creat.c
-fdleak_dup_SOURCES =3D fdleak_dup.c
-fdleak_dup2_SOURCES =3D fdleak_dup2.c
-fdleak_fcntl_SOURCES =3D fdleak_fcntl.c
-fdleak_ipv4_SOURCES =3D fdleak_ipv4.c
-fdleak_open_SOURCES =3D fdleak_open.c
-fdleak_pipe_SOURCES =3D fdleak_pipe.c
-fdleak_socketpair_SOURCES =3D fdleak_socketpair.c
sigkill_SOURCES =3D sigkill.c
=20
# Pthread ones
Deleted: trunk/corecheck/tests/as_mmap.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/corecheck/tests/as_mmap.c 2005-06-28 23:41:57 UTC (rev 4047)
+++ trunk/corecheck/tests/as_mmap.c 2005-06-29 03:46:32 UTC (rev 4048)
@@ -1,35 +0,0 @@
-#include <sys/mman.h>
-#include <stdio.h>
-
-int main()
-{
- char local;
- char *top =3D (char *)(((unsigned long)&local + 0x0fffffff) & ~0x0fffff=
ff);
-
- fprintf(stderr, "1\n");
- if (mmap((void *)0x00000000, 0x10000, PROT_READ|PROT_WRITE,=20
- MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0) =3D=3D MAP_FAILED)
- fprintf(stderr, "mmap @ 0x00000000\n");
-
- fprintf(stderr, "2\n");
- if (mmap((void *)0x00010000, 0x10000, PROT_READ|PROT_WRITE,=20
- MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0) =3D=3D MAP_FAILED)
- fprintf(stderr, "mmap @ 0x00010000\n");
-
- fprintf(stderr, "3\n");
- if (mmap((void *)0x50000000, 0x10000, PROT_READ|PROT_WRITE,=20
- MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0) =3D=3D MAP_FAILED)
- fprintf(stderr, "mmap @ 0x50000000\n");
-
- fprintf(stderr, "4\n");
- if (mmap(top, 0x10000, PROT_READ|PROT_WRITE,=20
- MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0) =3D=3D MAP_FAILED)
- fprintf(stderr, "mmap @ top\n");
-
- fprintf(stderr, "5\n");
- if (mmap(top+0x08000000, 0x10000, PROT_READ|PROT_WRITE,=20
- MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0) =3D=3D MAP_FAILED)
- fprintf(stderr, "mmap @ top+.5G\n");
-
- return 0;
-}
Deleted: trunk/corecheck/tests/as_mmap.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/as_mmap.stderr.exp 2005-06-28 23:41:57 UTC (rev=
4047)
+++ trunk/corecheck/tests/as_mmap.stderr.exp 2005-06-29 03:46:32 UTC (rev=
4048)
@@ -1,12 +0,0 @@
-
-1
-2
-3
-4
-Warning: client syscall mmap2 tried to modify addresses 0x........-0x...=
.....
-mmap @ top
-5
-Warning: client syscall mmap2 tried to modify addresses 0x........-0x...=
.....
-mmap @ top+.5G
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/as_mmap.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/as_mmap.stderr.exp2 2005-06-28 23:41:57 UTC (re=
v 4047)
+++ trunk/corecheck/tests/as_mmap.stderr.exp2 2005-06-29 03:46:32 UTC (re=
v 4048)
@@ -1,12 +0,0 @@
-
-1
-2
-3
-4
-Warning: client syscall old_mmap tried to modify addresses 0x........-0x=
........
-mmap @ top
-5
-Warning: client syscall old_mmap tried to modify addresses 0x........-0x=
........
-mmap @ top+.5G
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/as_mmap.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/as_mmap.vgtest 2005-06-28 23:41:57 UTC (rev 404=
7)
+++ trunk/corecheck/tests/as_mmap.vgtest 2005-06-29 03:46:32 UTC (rev 404=
8)
@@ -1,2 +0,0 @@
-prog: as_mmap
-stderr_filter: filter_as_mmap
Deleted: trunk/corecheck/tests/as_shm.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/corecheck/tests/as_shm.c 2005-06-28 23:41:57 UTC (rev 4047)
+++ trunk/corecheck/tests/as_shm.c 2005-06-29 03:46:32 UTC (rev 4048)
@@ -1,33 +0,0 @@
-#include <sys/types.h>
-#include <sys/ipc.h>
-#include <sys/shm.h>
-#include <stdio.h>
-
-int main()
-{
- int shmid =3D shmget(IPC_PRIVATE, 0x10000, IPC_CREAT|IPC_EXCL|0777);
- void *addr;
- char local;
- char *top =3D (char *)(((unsigned long)&local + 0x0fffffff) & ~0x0fffff=
ff);
-
- if (shmid =3D=3D -1)
- perror("shmget");
-
- addr =3D shmat(shmid, 0, 0);
-
- if (addr =3D=3D (void *)-1)
- perror("shmat @ 0");
- else
- printf("shmat 0: addr=3D...\n");
-
- addr =3D shmat(shmid, top, 0);
-
- if (addr =3D=3D (void *)-1)
- perror("shmat @ top");
- else
- printf("shmat 2: addr=3D...\n");
-
- shmctl(shmid, IPC_RMID, NULL);
-
- return 0;
-}
Deleted: trunk/corecheck/tests/as_shm.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/as_shm.stderr.exp 2005-06-28 23:41:57 UTC (rev =
4047)
+++ trunk/corecheck/tests/as_shm.stderr.exp 2005-06-29 03:46:32 UTC (rev =
4048)
@@ -1,5 +0,0 @@
-
-Warning: client syscall shmat tried to modify addresses 0x........-0x...=
.....
-shmat @ top: Invalid argument
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/as_shm.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/as_shm.stdout.exp 2005-06-28 23:41:57 UTC (rev =
4047)
+++ trunk/corecheck/tests/as_shm.stdout.exp 2005-06-29 03:46:32 UTC (rev =
4048)
@@ -1 +0,0 @@
-shmat 0: addr=3D...
Deleted: trunk/corecheck/tests/as_shm.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/as_shm.vgtest 2005-06-28 23:41:57 UTC (rev 4047=
)
+++ trunk/corecheck/tests/as_shm.vgtest 2005-06-29 03:46:32 UTC (rev 4048=
)
@@ -1,2 +0,0 @@
-prog: as_shm
-stderr_filter: filter_as_mmap
Deleted: trunk/corecheck/tests/fdleak_cmsg.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/corecheck/tests/fdleak_cmsg.c 2005-06-28 23:41:57 UTC (rev 4047=
)
+++ trunk/corecheck/tests/fdleak_cmsg.c 2005-06-29 03:46:32 UTC (rev 4048=
)
@@ -1,186 +0,0 @@
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <sys/socket.h>
-#include <sys/un.h>
-#include <stdio.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <errno.h>
-
-char filea[24];
-char fileb[24];
-char sock[24];
-
-void
-server ()
-{
- int s, fd1, fd2;
- struct sockaddr_un addr;
- =20
- fd1 =3D open(filea, O_RDWR | O_CREAT | O_TRUNC, 0750);
- if(fd1 =3D=3D -1) {
- perror("open");
- exit(1);
- }
-
- fd2 =3D open(fileb, O_RDWR | O_CREAT | O_TRUNC, 0750);
- if(fd2 =3D=3D -1) {
- perror("open");
- exit(1);
- }
-
- s =3D socket(PF_UNIX, SOCK_STREAM, 0);
- if(s =3D=3D -1) {
- perror("socket");
- exit(1);
- }
-
- memset(&addr, 0, sizeof(addr));
- addr.sun_family =3D AF_UNIX;
- sprintf(addr.sun_path, sock);
-
- unlink(addr.sun_path);
- if(bind(s, (struct sockaddr *)&addr, sizeof(addr)) =3D=3D -1) {
- perror("bind");
- exit(1);
- }
-
- if(listen(s, 5) =3D=3D -1) {
- perror("listen");
- exit(1);
- }
-
- {
- int x;
- int baddrsize =3D 0;
- struct sockaddr_un baddr;
- struct msghdr msg =3D {NULL, 0, NULL, 0, 0, 0, 0};
- struct cmsghdr *cmsg;
- char buf[CMSG_SPACE(sizeof(int) * 2)];
- struct iovec iov[1];
-
- memset(&baddr, 0, sizeof(baddr));
- x =3D accept(s, (struct sockaddr *)&baddr, &baddrsize);
- if(x =3D=3D -1) {
- perror("accept");
- exit(1);
- }
-
- msg.msg_control =3D buf;
- msg.msg_controllen =3D sizeof(buf);
- cmsg =3D CMSG_FIRSTHDR(&msg);
- cmsg->cmsg_level =3D SOL_SOCKET;
- cmsg->cmsg_type =3D SCM_RIGHTS;
- cmsg->cmsg_len =3D CMSG_LEN(sizeof(int) * 2);
- ((int *)CMSG_DATA(cmsg))[0] =3D fd1;
- ((int *)CMSG_DATA(cmsg))[1] =3D fd2;
-
- iov[0].iov_base =3D "hello";
- iov[0].iov_len =3D 6;
-
- msg.msg_iov =3D iov;
- msg.msg_iovlen =3D 1;
-
- if(sendmsg(x, &msg, 0) =3D=3D -1) {
- perror("sendmsg");
- exit(1);
- }
- }
-}
-
-void
-client ()
-{
- int s, fd1 =3D -1, fd2 =3D -1, size, count =3D 0, ret;
- struct sockaddr_un addr;
- struct iovec iov[1];
- union {
- struct cmsghdr cm;
- char control[CMSG_SPACE(sizeof(int) * 2)];
- } control_un;
- struct msghdr msg =3D { NULL, 0, iov, 1, control_un.control,
- sizeof(control_un), 0 };
- struct cmsghdr *cmsg =3D &control_un.cm;
- char buf[1024];
-
- iov[0].iov_base =3D buf;
- iov[0].iov_len =3D sizeof(buf);
-
- s =3D socket(PF_UNIX, SOCK_STREAM, 0);
- if(s =3D=3D -1) {
- perror("socket");
- exit(1);
- }
-
- addr.sun_family =3D AF_UNIX;
- sprintf(addr.sun_path, sock);
-
- do {
- count++;
- ret =3D connect(s, (struct sockaddr *)&addr, sizeof(addr));
- if(ret =3D=3D -1) sleep(1);
- } while (count < 10 && ret =3D=3D -1);
-
- if(ret =3D=3D -1) {
- perror("connect");
- exit(1);
- }
-
- again:
- if((size =3D recvmsg(s, &msg, 0)) =3D=3D -1) {
- if (errno =3D=3D EINTR)
- goto again; /* SIGCHLD from server exiting could interrupt */
- perror("recvmsg");
- exit(1);
- }
-
-
- cmsg =3D CMSG_FIRSTHDR(&msg);
- while(cmsg) {
- if(cmsg->cmsg_level =3D=3D SOL_SOCKET &&
- cmsg->cmsg_type =3D=3D SCM_RIGHTS &&
- cmsg->cmsg_len =3D=3D CMSG_LEN(sizeof(int) * 2)) {
- fd1 =3D ((int *)CMSG_DATA(cmsg))[0];
- fd2 =3D ((int *)CMSG_DATA(cmsg))[1];
- }
-
- cmsg =3D CMSG_NXTHDR(&msg, cmsg);
- }
-
- if(fd1 !=3D -1) write(fd1, "Yeah 1\n", 8);
- if(fd2 !=3D -1) write(fd2, "Yeah 2\n", 8);
-}
-
-
-int
-main (int argc, char **argv)
-{
- int pid, status;
-
- /*
- * Fedora Core 1's Perl opens /dev/pts/2 as fd 10. Let's close it
- * now to get consistent results across different releases.
- */
-
- close(10);
-
- pid =3D getpid();
- sprintf(filea, "/tmp/data1.%d", pid);
- sprintf(fileb, "/tmp/data2.%d", pid);
- sprintf(sock, "/tmp/sock.%d", pid);
-
- if((pid =3D fork()) =3D=3D 0) {
- server();
- return 0;
- }
-
- client();
-
- wait(&status);
-
- unlink(filea);
- unlink(fileb);
- unlink(sock);
- return 0;
-}
Deleted: trunk/corecheck/tests/fdleak_cmsg.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_cmsg.stderr.exp 2005-06-28 23:41:57 UTC =
(rev 4047)
+++ trunk/corecheck/tests/fdleak_cmsg.stderr.exp 2005-06-29 03:46:32 UTC =
(rev 4048)
@@ -1,60 +0,0 @@
-
-
-FILE DESCRIPTORS: 7 open at exit.
-Open AF_UNIX socket .: /tmp/sock
- at 0x........: accept (in /...libc...)
- by 0x........: server (fdleak_cmsg.c:64)
- by 0x........: main (fdleak_cmsg.c:174)
-
-Open AF_UNIX socket .: /tmp/sock
- at 0x........: socket (in /...libc...)
- by 0x........: server (fdleak_cmsg.c:33)
- by 0x........: main (fdleak_cmsg.c:174)
-
-Open file descriptor .: /tmp/data2
- at 0x........: open (in /...libc...)
- by 0x........: main (fdleak_cmsg.c:174)
-
-Open file descriptor .: /tmp/data1
- at 0x........: open (in /...libc...)
- by 0x........: main (fdleak_cmsg.c:174)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-
-FILE DESCRIPTORS: 6 open at exit.
-Open file descriptor .: /tmp/data2
- at 0x........: recvmsg (in /...libc...)
- by 0x........: client (fdleak_cmsg.c:131)
- by 0x........: main (fdleak_cmsg.c:178)
-
-Open file descriptor .: /tmp/data1
- at 0x........: recvmsg (in /...libc...)
- by 0x........: client (fdleak_cmsg.c:131)
- by 0x........: main (fdleak_cmsg.c:178)
-
-Open AF_UNIX socket .: <unknown>
- at 0x........: socket (in /...libc...)
- by 0x........: client (fdleak_cmsg.c:110)
- by 0x........: main (fdleak_cmsg.c:178)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_cmsg.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_cmsg.stderr.exp2 2005-06-28 23:41:57 UTC=
(rev 4047)
+++ trunk/corecheck/tests/fdleak_cmsg.stderr.exp2 2005-06-29 03:46:32 UTC=
(rev 4048)
@@ -1,62 +0,0 @@
-
-
-FILE DESCRIPTORS: 7 open at exit.
-Open AF_UNIX socket .: /tmp/sock
- at 0x........: accept (in /...libc...)
- by 0x........: server (fdleak_cmsg.c:64)
- by 0x........: main (fdleak_cmsg.c:174)
-
-Open AF_UNIX socket .: /tmp/sock
- at 0x........: socket (in /...libc...)
- by 0x........: server (fdleak_cmsg.c:33)
- by 0x........: main (fdleak_cmsg.c:174)
-
-Open file descriptor .: /tmp/data2
- at 0x........: open (in /...libc...)
- by 0x........: server (fdleak_cmsg.c:27)
- by 0x........: main (fdleak_cmsg.c:174)
-
-Open file descriptor .: /tmp/data1
- at 0x........: open (in /...libc...)
- by 0x........: server (fdleak_cmsg.c:21)
- by 0x........: main (fdleak_cmsg.c:174)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-
-FILE DESCRIPTORS: 6 open at exit.
-Open file descriptor .: /tmp/data2
- at 0x........: recvmsg (in /...libc...)
- by 0x........: client (fdleak_cmsg.c:131)
- by 0x........: main (fdleak_cmsg.c:178)
-
-Open file descriptor .: /tmp/data1
- at 0x........: recvmsg (in /...libc...)
- by 0x........: client (fdleak_cmsg.c:131)
- by 0x........: main (fdleak_cmsg.c:178)
-
-Open AF_UNIX socket .: <unknown>
- at 0x........: socket (in /...libc...)
- by 0x........: client (fdleak_cmsg.c:110)
- by 0x........: main (fdleak_cmsg.c:178)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_cmsg.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_cmsg.vgtest 2005-06-28 23:41:57 UTC (rev=
4047)
+++ trunk/corecheck/tests/fdleak_cmsg.vgtest 2005-06-29 03:46:32 UTC (rev=
4048)
@@ -1,4 +0,0 @@
-prog: fdleak_cmsg
-vgopts: --track-fds=3Dyes
-stderr_filter: filter_fdleak
-args: < /dev/null
Deleted: trunk/corecheck/tests/fdleak_creat.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/corecheck/tests/fdleak_creat.c 2005-06-28 23:41:57 UTC (rev 404=
7)
+++ trunk/corecheck/tests/fdleak_creat.c 2005-06-29 03:46:32 UTC (rev 404=
8)
@@ -1,21 +0,0 @@
-#include <unistd.h>
-#include <stdio.h>
-#include <fcntl.h>
-
-int
-main (int argc, char **argv)
-{
- char filename[24];
- =20
- /*
- * Fedora Core 1's Perl opens /dev/pts/2 as fd 10. Let's close it
- * now to get consistent results across different releases.
- */
-
- close(10);
-
- sprintf(filename, "/tmp/file.%d\n", getpid());
- creat(filename, 0);
- unlink(filename);
- return 0;
-}
Deleted: trunk/corecheck/tests/fdleak_creat.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_creat.stderr.exp 2005-06-28 23:41:57 UTC=
(rev 4047)
+++ trunk/corecheck/tests/fdleak_creat.stderr.exp 2005-06-29 03:46:32 UTC=
(rev 4048)
@@ -1,20 +0,0 @@
-
-
-FILE DESCRIPTORS: 4 open at exit.
-Open file descriptor .: /tmp/file
-
- at 0x........: creat (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_creat.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_creat.stderr.exp2 2005-06-28 23:41:57 UT=
C (rev 4047)
+++ trunk/corecheck/tests/fdleak_creat.stderr.exp2 2005-06-29 03:46:32 UT=
C (rev 4048)
@@ -1,19 +0,0 @@
-
-
-FILE DESCRIPTORS: 4 open at exit.
-Open file descriptor .: /tmp/file
-
- at 0x........: open (in /...libc...)
- by 0x........: main (fdleak_creat.c:18)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_creat.stderr.exp3
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_creat.stderr.exp3 2005-06-28 23:41:57 UT=
C (rev 4047)
+++ trunk/corecheck/tests/fdleak_creat.stderr.exp3 2005-06-29 03:46:32 UT=
C (rev 4048)
@@ -1,19 +0,0 @@
-
-
-FILE DESCRIPTORS: 4 open at exit.
-Open file descriptor .: /tmp/file
-
- at 0x........: creat (in /...libc...)
- by 0x........: main (fdleak_creat.c:18)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_creat.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_creat.vgtest 2005-06-28 23:41:57 UTC (re=
v 4047)
+++ trunk/corecheck/tests/fdleak_creat.vgtest 2005-06-29 03:46:32 UTC (re=
v 4048)
@@ -1,4 +0,0 @@
-prog: fdleak_creat
-vgopts: --track-fds=3Dyes
-stderr_filter: filter_fdleak
-args: < /dev/null
Deleted: trunk/corecheck/tests/fdleak_dup.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/corecheck/tests/fdleak_dup.c 2005-06-28 23:41:57 UTC (rev 4047)
+++ trunk/corecheck/tests/fdleak_dup.c 2005-06-29 03:46:32 UTC (rev 4048)
@@ -1,19 +0,0 @@
-#include <unistd.h>
-#include <fcntl.h>
-
-int
-main (int argc, char **argv)
-{
- int s;
-
- /*
- * Fedora Core 1's Perl opens /dev/pts/2 as fd 10. Let's close it
- * now to get consistent results across different releases.
- */
-
- close(10);
-
- s =3D open("/dev/null", O_RDONLY);
- dup(s);
- return 0;
-}
Deleted: trunk/corecheck/tests/fdleak_dup.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_dup.stderr.exp 2005-06-28 23:41:57 UTC (=
rev 4047)
+++ trunk/corecheck/tests/fdleak_dup.stderr.exp 2005-06-29 03:46:32 UTC (=
rev 4048)
@@ -1,24 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: dup (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_dup.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_dup.stderr.exp2 2005-06-28 23:41:57 UTC =
(rev 4047)
+++ trunk/corecheck/tests/fdleak_dup.stderr.exp2 2005-06-29 03:46:32 UTC =
(rev 4048)
@@ -1,23 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: dup (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: main (fdleak_dup.c:16)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_dup.stderr.exp3
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_dup.stderr.exp3 2005-06-28 23:41:57 UTC =
(rev 4047)
+++ trunk/corecheck/tests/fdleak_dup.stderr.exp3 2005-06-29 03:46:32 UTC =
(rev 4048)
@@ -1,22 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: dup (in /...libc...)
- by 0x........: main (fdleak_dup.c:17)
-
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: main (fdleak_dup.c:16)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_dup.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_dup.vgtest 2005-06-28 23:41:57 UTC (rev =
4047)
+++ trunk/corecheck/tests/fdleak_dup.vgtest 2005-06-29 03:46:32 UTC (rev =
4048)
@@ -1,4 +0,0 @@
-prog: fdleak_dup
-vgopts: --track-fds=3Dyes
-stderr_filter: filter_fdleak
-args: < /dev/null
Deleted: trunk/corecheck/tests/fdleak_dup2.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/corecheck/tests/fdleak_dup2.c 2005-06-28 23:41:57 UTC (rev 4047=
)
+++ trunk/corecheck/tests/fdleak_dup2.c 2005-06-29 03:46:32 UTC (rev 4048=
)
@@ -1,23 +0,0 @@
-#include <unistd.h>
-#include <fcntl.h>
-
-int
-main (int argc, char **argv)
-{
- int s1;
- int s2;
-
- /*
- * Fedora Core 1's Perl opens /dev/pts/2 as fd 10. Let's close it
- * now to get consistent results across different releases.
- */
-
- close(10);
-
- s1 =3D open("/dev/null", O_RDONLY);
- s2 =3D open("/dev/null", O_RDONLY);
-
- dup2(s1, 20);
- dup2(s1, s2);
- return 0;
-}
Deleted: trunk/corecheck/tests/fdleak_dup2.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_dup2.stderr.exp 2005-06-28 23:41:57 UTC =
(rev 4047)
+++ trunk/corecheck/tests/fdleak_dup2.stderr.exp 2005-06-29 03:46:32 UTC =
(rev 4048)
@@ -1,29 +0,0 @@
-
-
-FILE DESCRIPTORS: 6 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: dup2 (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: /dev/null
- at 0x........: dup2 (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_dup2.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_dup2.stderr.exp2 2005-06-28 23:41:57 UTC=
(rev 4047)
+++ trunk/corecheck/tests/fdleak_dup2.stderr.exp2 2005-06-29 03:46:32 UTC=
(rev 4048)
@@ -1,28 +0,0 @@
-
-
-FILE DESCRIPTORS: 6 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: dup2 (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: /dev/null
- at 0x........: dup2 (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: main (fdleak_dup2.c:17)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_dup2.stderr.exp3
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_dup2.stderr.exp3 2005-06-28 23:41:57 UTC=
(rev 4047)
+++ trunk/corecheck/tests/fdleak_dup2.stderr.exp3 2005-06-29 03:46:32 UTC=
(rev 4048)
@@ -1,26 +0,0 @@
-
-
-FILE DESCRIPTORS: 6 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: dup2 (in /...libc...)
- by 0x........: main (fdleak_dup2.c:20)
-
-Open file descriptor .: /dev/null
- at 0x........: dup2 (in /...libc...)
- by 0x........: main (fdleak_dup2.c:21)
-
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: main (fdleak_dup2.c:17)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_dup2.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_dup2.vgtest 2005-06-28 23:41:57 UTC (rev=
4047)
+++ trunk/corecheck/tests/fdleak_dup2.vgtest 2005-06-29 03:46:32 UTC (rev=
4048)
@@ -1,4 +0,0 @@
-prog: fdleak_dup2
-vgopts: --track-fds=3Dyes
-stderr_filter: filter_fdleak
-args: < /dev/null
Deleted: trunk/corecheck/tests/fdleak_fcntl.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/corecheck/tests/fdleak_fcntl.c 2005-06-28 23:41:57 UTC (rev 404=
7)
+++ trunk/corecheck/tests/fdleak_fcntl.c 2005-06-29 03:46:32 UTC (rev 404=
8)
@@ -1,20 +0,0 @@
-#include <unistd.h>
-#include <stdio.h>
-#include <fcntl.h>
-
-int
-main (int argc, char **argv)
-{
- int s1;
-
- /*
- * Fedora Core 1's Perl opens /dev/pts/2 as fd 10. Let's close it
- * now to get consistent results across different releases.
- */
-
- close(10);
-
- s1 =3D open("/dev/null", O_RDONLY);
- if(fcntl(s1, F_DUPFD, s1) =3D=3D -1) perror("fcntl");
- return 0;
-}
Deleted: trunk/corecheck/tests/fdleak_fcntl.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_fcntl.stderr.exp 2005-06-28 23:41:57 UTC=
(rev 4047)
+++ trunk/corecheck/tests/fdleak_fcntl.stderr.exp 2005-06-29 03:46:32 UTC=
(rev 4048)
@@ -1,23 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: fcntl (in /...libc...)
- by 0x........: main (fdleak_fcntl.c:18)
-
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_fcntl.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_fcntl.stderr.exp2 2005-06-28 23:41:57 UT=
C (rev 4047)
+++ trunk/corecheck/tests/fdleak_fcntl.stderr.exp2 2005-06-29 03:46:32 UT=
C (rev 4048)
@@ -1,24 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: fcntl (in /...libc...)
- by 0x........: fcntl (in /...libc...)
- by 0x........: main (fdleak_fcntl.c:18)
-
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_fcntl.stderr.exp3
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_fcntl.stderr.exp3 2005-06-28 23:41:57 UT=
C (rev 4047)
+++ trunk/corecheck/tests/fdleak_fcntl.stderr.exp3 2005-06-29 03:46:32 UT=
C (rev 4048)
@@ -1,24 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: do_fcntl (in /...libc...)
- by 0x........: fcntl (in /...libc...)
- by 0x........: main (fdleak_fcntl.c:18)
-
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_fcntl.stderr.exp4
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_fcntl.stderr.exp4 2005-06-28 23:41:57 UT=
C (rev 4047)
+++ trunk/corecheck/tests/fdleak_fcntl.stderr.exp4 2005-06-29 03:46:32 UT=
C (rev 4048)
@@ -1,22 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: fcntl (in /...libc...)
- by 0x........: main (fdleak_fcntl.c:18)
-
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: main (fdleak_fcntl.c:17)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_fcntl.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_fcntl.vgtest 2005-06-28 23:41:57 UTC (re=
v 4047)
+++ trunk/corecheck/tests/fdleak_fcntl.vgtest 2005-06-29 03:46:32 UTC (re=
v 4048)
@@ -1,4 +0,0 @@
-prog: fdleak_fcntl
-vgopts: --track-fds=3Dyes
-stderr_filter: filter_fdleak
-args: < /dev/null
Deleted: trunk/corecheck/tests/fdleak_ipv4.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/corecheck/tests/fdleak_ipv4.c 2005-06-28 23:41:57 UTC (rev 4047=
)
+++ trunk/corecheck/tests/fdleak_ipv4.c 2005-06-29 03:46:32 UTC (rev 4048=
)
@@ -1,109 +0,0 @@
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <stdio.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <string.h>
-
-void
-server ()
-{
- int s, x;
- struct sockaddr_in baddr;
- struct sockaddr_in addr;
- int baddrsize =3D sizeof(baddr);
- int one =3D 1;
- =20
- s =3D socket(PF_INET, SOCK_STREAM, 0);
- if(s =3D=3D -1) {
- perror("socket");
- exit(1);
- }
-
- setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(int));
- memset(&addr, 0, sizeof(addr));
- addr.sin_family =3D AF_INET;
- addr.sin_addr.s_addr =3D inet_addr("127.0.0.1");
- addr.sin_port =3D 12321;
-
- if(bind(s, (struct sockaddr *)&addr, sizeof(addr)) =3D=3D -1) {
- perror("bind");
- exit(1);
- }
-
- if(listen(s, 5) =3D=3D -1) {
- perror("listen");
- exit(1);
- }
-
- memset(&baddr, 0, sizeof(baddr));
- x =3D accept(s, (struct sockaddr *)&baddr, &baddrsize);
- if(x =3D=3D -1) {
- perror("accept");
- exit(1);
- }
-
- write(x, "hello", 6);
-}
-
-void
-client ()
-{
- int s, count =3D 0, ret;
- struct sockaddr_in addr;
- char buf[1024];
-
- s =3D socket(PF_INET, SOCK_STREAM, 0);
- if(s =3D=3D -1) {
- perror("socket");
- exit(1);
- }
-
- addr.sin_family =3D AF_INET;
- addr.sin_addr.s_addr =3D inet_addr("127.0.0.1");
- addr.sin_port =3D 12321;
-
- do {
- count++;
- ret =3D connect(s, (struct sockaddr *)&addr, sizeof(addr));
- if(ret =3D=3D -1) sleep(1);
- } while (count < 10 && ret =3D=3D -1);
-
- if(ret =3D=3D -1) {
- perror("connect");
- exit(1);
- }
-
- read(s, buf, sizeof(buf));
-
- printf("%s\n", buf);
-}
-
-
-int
-main (int argc, char **argv)
-{
- int pid, status;
-
- /*
- * Fedora Core 1's Perl opens /dev/pts/2 as fd 10. Let's close it
- * now to get consistent results across different releases.
- */
-
- close(10);
-
- if((pid =3D fork()) =3D=3D 0) {
- server();
- return 0;
- }
-
- client();
-
- wait(&status);
-
- return 0;
-}
Deleted: trunk/corecheck/tests/fdleak_ipv4.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_ipv4.stderr.exp 2005-06-28 23:41:57 UTC =
(rev 4047)
+++ trunk/corecheck/tests/fdleak_ipv4.stderr.exp 2005-06-29 03:46:32 UTC =
(rev 4048)
@@ -1,42 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open AF_INET socket 4: 127.0.0.1:... <-> 127.0.0.1:...
- at 0x........: accept (in /...libc...)
- by 0x........: server (fdleak_ipv4.c:44)
- by 0x........: main (fdleak_ipv4.c:100)
-
-Open AF_INET socket 3: 127.0.0.1:... <-> unbound
- at 0x........: socket (in /...libc...)
- by 0x........: server (fdleak_ipv4.c:21)
- by 0x........: main (fdleak_ipv4.c:100)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-
-FILE DESCRIPTORS: 4 open at exit.
-Open AF_INET socket 3: 127.0.0.1:... <-> 127.0.0.1:...
- at 0x........: socket (in /...libc...)
- by 0x........: client (fdleak_ipv4.c:60)
- by 0x........: main (fdleak_ipv4.c:104)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_ipv4.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_ipv4.stderr.exp2 2005-06-28 23:41:57 UTC=
(rev 4047)
+++ trunk/corecheck/tests/fdleak_ipv4.stderr.exp2 2005-06-29 03:46:32 UTC=
(rev 4048)
@@ -1,39 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open AF_INET socket 4: 127.0.0.1:... <-> 127.0.0.1:...
- at 0x........: accept (in /...libc...)
- by 0x........: main (fdleak_ipv4.c:100)
-
-Open AF_INET socket 3: 127.0.0.1:... <-> unbound
- at 0x........: socket (in /...libc...)
- by 0x........: main (fdleak_ipv4.c:100)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-
-FILE DESCRIPTORS: 4 open at exit.
-Open AF_INET socket 3: 127.0.0.1:... <-> 127.0.0.1:...
- at 0x........: socket (in /...libc...)
- by 0x........: main (fdleak_ipv4.c:104)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_ipv4.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_ipv4.stdout.exp 2005-06-28 23:41:57 UTC =
(rev 4047)
+++ trunk/corecheck/tests/fdleak_ipv4.stdout.exp 2005-06-29 03:46:32 UTC =
(rev 4048)
@@ -1 +0,0 @@
-hello
Deleted: trunk/corecheck/tests/fdleak_ipv4.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_ipv4.vgtest 2005-06-28 23:41:57 UTC (rev=
4047)
+++ trunk/corecheck/tests/fdleak_ipv4.vgtest 2005-06-29 03:46:32 UTC (rev=
4048)
@@ -1,4 +0,0 @@
-prog: fdleak_ipv4
-vgopts: --track-fds=3Dyes
-stderr_filter: filter_fdleak
-args: < /dev/null
Deleted: trunk/corecheck/tests/fdleak_open.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/corecheck/tests/fdleak_open.c 2005-06-28 23:41:57 UTC (rev 4047=
)
+++ trunk/corecheck/tests/fdleak_open.c 2005-06-29 03:46:32 UTC (rev 4048=
)
@@ -1,15 +0,0 @@
-#include <fcntl.h>
-#include <unistd.h>
-int
-main (int argc, char **argv)
-{
- /*
- * Fedora Core 1's Perl opens /dev/pts/2 as fd 10. Let's close it
- * now to get consistent results across different releases.
- */
-
- close(10);
-
- open("/dev/null", O_RDONLY);
- return 0;
-}
Deleted: trunk/corecheck/tests/fdleak_open.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_open.stderr.exp 2005-06-28 23:41:57 UTC =
(rev 4047)
+++ trunk/corecheck/tests/fdleak_open.stderr.exp 2005-06-29 03:46:32 UTC =
(rev 4048)
@@ -1,19 +0,0 @@
-
-
-FILE DESCRIPTORS: 4 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_open.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_open.stderr.exp2 2005-06-28 23:41:57 UTC=
(rev 4047)
+++ trunk/corecheck/tests/fdleak_open.stderr.exp2 2005-06-29 03:46:32 UTC=
(rev 4048)
@@ -1,18 +0,0 @@
-
-
-FILE DESCRIPTORS: 4 open at exit.
-Open file descriptor .: /dev/null
- at 0x........: open (in /...libc...)
- by 0x........: main (fdleak_open.c:13)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_open.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_open.vgtest 2005-06-28 23:41:57 UTC (rev=
4047)
+++ trunk/corecheck/tests/fdleak_open.vgtest 2005-06-29 03:46:32 UTC (rev=
4048)
@@ -1,4 +0,0 @@
-prog: fdleak_open
-vgopts: --track-fds=3Dyes
-stderr_filter: filter_fdleak
-args: < /dev/null
Deleted: trunk/corecheck/tests/fdleak_pipe.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/corecheck/tests/fdleak_pipe.c 2005-06-28 23:41:57 UTC (rev 4047=
)
+++ trunk/corecheck/tests/fdleak_pipe.c 2005-06-29 03:46:32 UTC (rev 4048=
)
@@ -1,17 +0,0 @@
-#include <unistd.h>
-
-int
-main (int argc, char **argv)
-{
- int fds[2];
-
- /*
- * Fedora Core 1's Perl opens /dev/pts/2 as fd 10. Let's close it
- * now to get consistent results across different releases.
- */
-
- close(10);
-
- pipe(fds);
- return 0;
-}
Deleted: trunk/corecheck/tests/fdleak_pipe.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_pipe.stderr.exp 2005-06-28 23:41:57 UTC =
(rev 4047)
+++ trunk/corecheck/tests/fdleak_pipe.stderr.exp 2005-06-29 03:46:32 UTC =
(rev 4048)
@@ -1,24 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open file descriptor .:
- at 0x........: pipe (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .:
- at 0x........: pipe (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_pipe.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_pipe.stderr.exp2 2005-06-28 23:41:57 UTC=
(rev 4047)
+++ trunk/corecheck/tests/fdleak_pipe.stderr.exp2 2005-06-29 03:46:32 UTC=
(rev 4048)
@@ -1,22 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open file descriptor .:
- at 0x........: pipe (in /...libc...)
- by 0x........: main (fdleak_pipe.c:15)
-
-Open file descriptor .:
- at 0x........: pipe (in /...libc...)
- by 0x........: main (fdleak_pipe.c:15)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_pipe.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_pipe.vgtest 2005-06-28 23:41:57 UTC (rev=
4047)
+++ trunk/corecheck/tests/fdleak_pipe.vgtest 2005-06-29 03:46:32 UTC (rev=
4048)
@@ -1,4 +0,0 @@
-prog: fdleak_pipe
-vgopts: --track-fds=3Dyes
-stderr_filter: filter_fdleak
-args: < /dev/null
Deleted: trunk/corecheck/tests/fdleak_socketpair.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/corecheck/tests/fdleak_socketpair.c 2005-06-28 23:41:57 UTC (re=
v 4047)
+++ trunk/corecheck/tests/fdleak_socketpair.c 2005-06-29 03:46:32 UTC (re=
v 4048)
@@ -1,17 +0,0 @@
-#include <sys/socket.h>
-#include <unistd.h>
-int
-main (int argc, char **argv)
-{
- int fds[2];
-
- /*
- * Fedora Core 1's Perl opens /dev/pts/2 as fd 10. Let's close it
- * now to get consistent results across different releases.
- */
-
- close(10);
-
- socketpair(AF_UNIX, SOCK_STREAM, PF_UNIX, fds);
- return 0;
-}
Deleted: trunk/corecheck/tests/fdleak_socketpair.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_socketpair.stderr.exp 2005-06-28 23:41:5=
7 UTC (rev 4047)
+++ trunk/corecheck/tests/fdleak_socketpair.stderr.exp 2005-06-29 03:46:3=
2 UTC (rev 4048)
@@ -1,22 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open AF_UNIX socket .: <unknown>
- at 0x........: socketpair (in /...libc...)
- by 0x........: main (fdleak_socketpair.c:15)
-
-Open AF_UNIX socket .: <unknown>
- at 0x........: socketpair (in /...libc...)
- by 0x........: main (fdleak_socketpair.c:15)
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_socketpair.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_socketpair.stderr.exp2 2005-06-28 23:41:=
57 UTC (rev 4047)
+++ trunk/corecheck/tests/fdleak_socketpair.stderr.exp2 2005-06-29 03:46:=
32 UTC (rev 4048)
@@ -1,24 +0,0 @@
-
-
-FILE DESCRIPTORS: 5 open at exit.
-Open AF_UNIX socket .: <unknown>
- at 0x........: socketpair (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open AF_UNIX socket .: <unknown>
- at 0x........: socketpair (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: .
- <inherited from parent>
-
-Open file descriptor .: /dev/null
- <inherited from parent>
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/fdleak_socketpair.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/fdleak_socketpair.vgtest 2005-06-28 23:41:57 UT=
C (rev 4047)
+++ trunk/corecheck/tests/fdleak_socketpair.vgtest 2005-06-29 03:46:32 UT=
C (rev 4048)
@@ -1,4 +0,0 @@
-prog: fdleak_socketpair
-vgopts: --track-fds=3Dyes
-stderr_filter: filter_fdleak
-args: < /dev/null
Deleted: trunk/corecheck/tests/filter_as_mmap
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/filter_as_mmap 2005-06-28 23:41:57 UTC (rev 404=
7)
+++ trunk/corecheck/tests/filter_as_mmap 2005-06-29 03:46:32 UTC (rev 404=
8)
@@ -1,8 +0,0 @@
-#! /bin/sh
-
-dir=3D`dirname $0`
-
-./filter_stderr |
-
-# Anonymise addresses
-$dir/../../tests/filter_addresses
Deleted: trunk/corecheck/tests/filter_fdleak
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/filter_fdleak 2005-06-28 23:41:57 UTC (rev 4047=
)
+++ trunk/corecheck/tests/filter_fdleak 2005-06-29 03:46:32 UTC (rev 4048=
)
@@ -1,20 +0,0 @@
-#! /bin/sh
-
-dir=3D`dirname $0`
-
-./filter_stderr |
-
-# Anonymise addresses
-$dir/../../tests/filter_addresses |
-
-# Anonymise line numbers in mac_replace_strmem.c
-sed "s/mac_replace_strmem.c:[0-9]*/mac_replace_strmem.c:.../" |
-
-$dir/../../tests/filter_test_paths |
-
-sed s/"^Open AF_UNIX socket [0-9]*: <unknown>/Open AF_UNIX socket .: <un=
known>/" |
-sed s/"^Open \(AF_UNIX socket\|file descriptor\) [0-9]*: \/dev\/null/Ope=
n \\1 .: \/dev\/null/" |
-sed s/"^Open \(AF_UNIX socket\|file descriptor\) [0-9]*: \/tmp\/\(sock\|=
data1\|data2\|file\)\.[0-9]*/Open \\1 .: \/tmp\/\\2/" |
-sed s/"^Open file descriptor [0-9]*: .*/Open file descriptor .: ./" |
-sed s/"^Open file descriptor [0-9]*:$/Open file descriptor .:/" |
-sed s/"127.0.0.1:[0-9]*/127.0.0.1:.../g"
Deleted: trunk/corecheck/tests/vgprintf.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...
[truncated message content] |
|
From: Tom H. <th...@cy...> - 2005-06-29 03:04:38
|
Nightly build on audi ( i686, Red Hat 9 ) started at 2005-06-29 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 == 178 tests, 8 stderr failures, 2 stdout failures ================= 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) none/tests/yield (stdout) |
|
From: <js...@ac...> - 2005-06-29 02:39:32
|
Nightly build on phoenix ( SuSE 9.1 ) started at 2005-06-29 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 == 176 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <to...@co...> - 2005-06-29 02:30:35
|
Nightly build on dunsmere ( athlon, Fedora Core 4 ) started at 2005-06-29 03:30:03 BST Checking out vex source tree ... done Building vex ... failed Last 20 lines of log.verbose follow -c priv/host-amd64/hdefs.c gcc -g -O -Wall -Wmissing-prototypes -Wshadow -Winline -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wmissing-declarations -fpie -Ipub -Ipriv -o priv/host-arm/hdefs.o \ -c priv/host-arm/hdefs.c gcc -g -O -Wall -Wmissing-prototypes -Wshadow -Winline -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wmissing-declarations -fpie -Ipub -Ipriv -o priv/host-ppc32/hdefs.o \ -c priv/host-ppc32/hdefs.c priv/host-ppc32/hdefs.c:817: error: conflicting types for 'PPC32Instr_AvUnary' priv/host-ppc32/hdefs.h:689: error: previous declaration of 'PPC32Instr_AvUnary' was here priv/host-ppc32/hdefs.c:825: error: conflicting types for 'PPC32Instr_AvBinary' priv/host-ppc32/hdefs.h:690: error: previous declaration of 'PPC32Instr_AvBinary' was here priv/host-ppc32/hdefs.c:834: error: conflicting types for 'PPC32Instr_AvBin8x16' priv/host-ppc32/hdefs.h:691: error: previous declaration of 'PPC32Instr_AvBin8x16' was here priv/host-ppc32/hdefs.c:843: error: conflicting types for 'PPC32Instr_AvBin16x8' priv/host-ppc32/hdefs.h:692: error: previous declaration of 'PPC32Instr_AvBin16x8' was here priv/host-ppc32/hdefs.c:852: error: conflicting types for 'PPC32Instr_AvBin32x4' priv/host-ppc32/hdefs.h:693: error: previous declaration of 'PPC32Instr_AvBin32x4' was here priv/host-ppc32/hdefs.c:861: error: conflicting types for 'PPC32Instr_AvBin32Fx4' priv/host-ppc32/hdefs.h:694: error: previous declaration of 'PPC32Instr_AvBin32Fx4' was here priv/host-ppc32/hdefs.c: In function 'ppPPC32Instr': priv/host-ppc32/hdefs.c:1231: warning: pointer targets in initialization differ in signedness make: *** [priv/host-ppc32/hdefs.o] Error 1 |
|
From: Tom H. <th...@cy...> - 2005-06-29 02:21:07
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2005-06-29 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 == 177 tests, 12 stderr failures, 1 stdout failure ================= memcheck/tests/addressable (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/xml1 (stderr) corecheck/tests/fdleak_cmsg (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) none/tests/yield (stdout) |