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
(44) |
2
(9) |
3
(30) |
4
(28) |
5
(42) |
6
(14) |
7
(10) |
|
8
(7) |
9
(8) |
10
(6) |
11
(15) |
12
(13) |
13
(14) |
14
(23) |
|
15
(17) |
16
(10) |
17
(82) |
18
(14) |
19
(21) |
20
(14) |
21
(21) |
|
22
(7) |
23
(13) |
24
(16) |
25
(11) |
26
(11) |
27
(6) |
28
(7) |
|
29
(8) |
30
(13) |
31
(8) |
|
|
|
|
|
From: <sv...@va...> - 2006-10-11 17:05:01
|
Author: sewardj
Date: 2006-10-11 18:04:56 +0100 (Wed, 11 Oct 2006)
New Revision: 6209
Log:
Use 'ctr' rather than 'lr' as the base for indirect jumps. POWER4
likes that much better -- gives up to 15% speedup with --tool=3Dnone.
Modified:
branches/AIX5/coregrind/m_dispatch/dispatch-ppc32-aix5.S
Modified: branches/AIX5/coregrind/m_dispatch/dispatch-ppc32-aix5.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/coregrind/m_dispatch/dispatch-ppc32-aix5.S 2006-10-11 1=
6:43:15 UTC (rev 6208)
+++ branches/AIX5/coregrind/m_dispatch/dispatch-ppc32-aix5.S 2006-10-11 1=
7:04:56 UTC (rev 6209)
@@ -296,10 +296,10 @@
/* Found a match. Call tce[1], which is 8 bytes along, since
each tce element is a 64-bit int. */
addi 8,5,8
- mtlr 8
+ mtctr 8
=20
/* run the translation */
- blrl
+ bctrl
=20
/* On return from guest code:
r3 holds destination (original) address.
@@ -362,10 +362,10 @@
/* Found a match. Call tce[1], which is 8 bytes along, since
each tce element is a 64-bit int. */
addi 8,5,8
- mtlr 8
+ mtctr 8
=20
/* run the translation */
- blrl
+ bctrl
=20
/* On return from guest code:
r3 holds destination (original) address.
|
|
From: <sv...@va...> - 2006-10-11 16:43:21
|
Author: sewardj
Date: 2006-10-11 17:43:15 +0100 (Wed, 11 Oct 2006)
New Revision: 6208
Log:
Make the profiling dispatcher work.
Modified:
branches/AIX5/coregrind/m_dispatch/dispatch-ppc32-aix5.S
Modified: branches/AIX5/coregrind/m_dispatch/dispatch-ppc32-aix5.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/coregrind/m_dispatch/dispatch-ppc32-aix5.S 2006-10-11 1=
6:09:25 UTC (rev 6207)
+++ branches/AIX5/coregrind/m_dispatch/dispatch-ppc32-aix5.S 2006-10-11 1=
6:43:15 UTC (rev 6208)
@@ -64,6 +64,8 @@
.tc vgPlain_machine_ppc32_has_FP[TC],vgPlain_machine_ppc32_has_FP[RW=
]
tocent__vgPlain_tt_fast:
.tc vgPlain_tt_fast[TC],vgPlain_tt_fast[RW]
+tocent__vgPlain_tt_fastN:
+ .tc vgPlain_tt_fast[TC],vgPlain_tt_fastN[RW]
.csect .text[PR]
.align 2
.globl vgPlain_run_innerloop
@@ -315,19 +317,17 @@
=20
.globl VG_(run_innerloop__dispatch_profiled)
VG_(run_innerloop__dispatch_profiled):
- trap
-#if 0
/* At entry: Live regs:
- r1 (=3Dsp)
+ r1 (=3Dsp)
r3 (=3DCIA =3D next guest address)
r29 (=3Ddispatch_ctr)
r31 (=3Dguest_state)
Stack state:
- 44(r1) (=3Dorig guest_state)
+ 128(r1) (=3Dorig guest_state)
*/
=20
/* Has the guest state pointer been messed with? If yes, exit. */
- lwz 5,44(1) /* original guest_state ptr */
+ lwz 5,128(1) /* original guest_state ptr */
cmpw 5,31
bne gsp_changed
=20
@@ -335,27 +335,30 @@
stw 3,OFFSET_ppc32_CIA(31)
=20
/* Are we out of timeslice? If yes, defer to scheduler. */
- subi 29,29,1
+ addi 29,29,-1
cmplwi 29,0
beq counter_is_zero
=20
/* try a fast lookup in the translation cache */
/* r4 =3D VG_TT_FAST_HASH(addr) * sizeof(ULong*)
=3D ((r3 >>u 2) & VG_TT_FAST_MASK) << 2 */
- rlwinm 4,3, 0, 32-2-VG_TT_FAST_BITS, 31-2=20
- addis 5,4,VG_(tt_fast)@ha
- lwz 5,VG_(tt_fast)@l(5)
+ rlwinm 4,3, 0, 32-2-VG_TT_FAST_BITS, 31-2
+
+ lwz 5,tocent__vgPlain_tt_fast(2) /* r5 =3D &tt_fast */
+
+ lwzx 5,5,4 /* r5 =3D tt_fast[r4] */
+
lwz 6,4(5) /* big-endian, so comparing 2nd 32bit word */
cmpw 3,6
bne fast_lookup_failed
=20
/* increment bb profile counter */
- addis 6,4,VG_(tt_fastN)@ha
- lwz 7,VG_(tt_fastN)@l(6)
- lwz 8,0(7)
- addi 8,8,1
- stw 8,0(7)
-
+ lwz 9,tocent__vgPlain_tt_fastN(2) /* r9 =3D &tt_fastN */
+ lwzx 7,9,4 /* r7 =3D tt_fastN[r4] */
+ lwz 10,0(7)
+ addi 10,10,1
+ stw 10,0(7)
+=09
/* Found a match. Call tce[1], which is 8 bytes along, since
each tce element is a 64-bit int. */
addi 8,5,8
@@ -373,7 +376,6 @@
/* start over */
b VG_(run_innerloop__dispatch_profiled)
/*NOTREACHED*/
-#endif
=20
/*----------------------------------------------------*/
/*--- exit points ---*/
|
|
From: <sv...@va...> - 2006-10-11 16:09:27
|
Author: sewardj
Date: 2006-10-11 17:09:25 +0100 (Wed, 11 Oct 2006)
New Revision: 6207
Log:
Make vg_perf work on AIX, by using the POSIX-portability flag for
/usr/bin/time. AIX doesn't even manage to conform to that, but it's
good enough.
Modified:
branches/AIX5/perf/vg_perf.in
Modified: branches/AIX5/perf/vg_perf.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/perf/vg_perf.in 2006-10-11 16:08:19 UTC (rev 6206)
+++ branches/AIX5/perf/vg_perf.in 2006-10-11 16:09:25 UTC (rev 6207)
@@ -240,7 +240,8 @@
}
}
=20
-# Run program N times, return the best user time.
+# Run program N times, return the best user time. Use the POSIX
+# -p flag on /usr/bin/time so as to get something parseable on AIX.
sub time_prog($$)
{
my ($cmd, $n) =3D @_;
@@ -252,9 +253,9 @@
die "\n*** Command returned non-zero ($retval)"
. "\n*** See perf.{cmd,stdout,stderr} to determine what we=
nt wrong.\n";
my $out =3D `cat perf.stderr`;
- ($out =3D~ /usertime: ([\d\.]+)s/) or=20
+ ($out =3D~ /[Uu]ser([ ]+)([\d\.]+)/) or=20
die "\n*** missing usertime in perf.stderr\n";
- $tmin =3D $1 if ($1 < $tmin);
+ $tmin =3D $2 if ($2 < $tmin);
}
# Avoid divisions by zero!
return (0 =3D=3D $tmin ? 0.01 : $tmin);
@@ -277,7 +278,7 @@
}
}
=20
- my $timecmd =3D "/usr/bin/time -f 'usertime: %Us'";
+ my $timecmd =3D "/usr/bin/time -p";
=20
# Do the native run(s).
printf("-- $name --\n") if (@vgdirs > 1);
|
|
From: <sv...@va...> - 2006-10-11 16:08:25
|
Author: sewardj
Date: 2006-10-11 17:08:19 +0100 (Wed, 11 Oct 2006)
New Revision: 6206
Log:
Make one suppression more general.
Modified:
branches/AIX5/aix5libc.supp
Modified: branches/AIX5/aix5libc.supp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/aix5libc.supp 2006-10-11 16:07:54 UTC (rev 6205)
+++ branches/AIX5/aix5libc.supp 2006-10-11 16:08:19 UTC (rev 6206)
@@ -242,7 +242,6 @@
Memcheck:Cond
fun:seekdir64
fun:opendir64
- fun:getwd
}
=20
## No idea what this is caused by
|
|
From: <sv...@va...> - 2006-10-11 16:07:58
|
Author: sewardj
Date: 2006-10-11 17:07:54 +0100 (Wed, 11 Oct 2006)
New Revision: 6205
Log:
AIX requires that in the case of MAP_ANONYMOUS, fildes must be -1.
Modified:
branches/AIX5/perf/bigcode.c
Modified: branches/AIX5/perf/bigcode.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/perf/bigcode.c 2006-10-11 16:07:14 UTC (rev 6204)
+++ branches/AIX5/perf/bigcode.c 2006-10-11 16:07:54 UTC (rev 6205)
@@ -37,7 +37,7 @@
=20
char* a =3D mmap(0, FN_SIZE * N_LOOPS,=20
PROT_EXEC|PROT_WRITE,=20
- MAP_PRIVATE|MAP_ANONYMOUS, 0,0);
+ MAP_PRIVATE|MAP_ANONYMOUS, -1,0);
assert(a !=3D (char*)MAP_FAILED);
=20
if (argc <=3D 1) {
|
|
From: <sv...@va...> - 2006-10-11 16:07:18
|
Author: sewardj
Date: 2006-10-11 17:07:14 +0100 (Wed, 11 Oct 2006)
New Revision: 6204
Log:
AIX 5.2 doesn't seem to have heard of posix_memalign().
Modified:
branches/AIX5/memcheck/tests/memalign2.c
Modified: branches/AIX5/memcheck/tests/memalign2.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/memcheck/tests/memalign2.c 2006-10-11 16:06:33 UTC (rev=
6203)
+++ branches/AIX5/memcheck/tests/memalign2.c 2006-10-11 16:07:14 UTC (rev=
6204)
@@ -26,7 +26,10 @@
int res;
assert(sizeof(long int) =3D=3D sizeof(void*));
=20
-# if !defined(_AIX) =20
+# if defined(_AIX)
+ printf("AIX 5.2 knows about neither memalign() nor posix_memalign().\=
n");
+
+# else
p =3D memalign(0, 100); assert(0 =3D=3D (long)p % 8);
p =3D memalign(1, 100); assert(0 =3D=3D (long)p % 8);
p =3D memalign(2, 100); assert(0 =3D=3D (long)p % 8);
@@ -45,7 +48,6 @@
p =3D memalign(4095, 100); assert(0 =3D=3D (long)p % 4096);
p =3D memalign(4096, 100); assert(0 =3D=3D (long)p % 4096);
p =3D memalign(4097, 100); assert(0 =3D=3D (long)p % 8192);
-# endif
=20
# define PM(a,b,c) posix_memalign((void**)a, b, c)
=20
@@ -66,6 +68,8 @@
res =3D PM(&p, 4096, 100); assert(0 =3D=3D res &&
0 =3D=3D (long)p % 4096=
);=20
res =3D PM(&p, 4097, 100); assert(EINVAL =3D=3D res);
+
+# endif
=20
return 0;
}
|
|
From: <sv...@va...> - 2006-10-11 16:06:36
|
Author: sewardj
Date: 2006-10-11 17:06:33 +0100 (Wed, 11 Oct 2006)
New Revision: 6203
Log:
AIX 5.2 compile fixes.
Modified:
branches/AIX5/none/tests/fdleak_cmsg.c
Modified: branches/AIX5/none/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
--- branches/AIX5/none/tests/fdleak_cmsg.c 2006-10-11 16:05:59 UTC (rev 6=
202)
+++ branches/AIX5/none/tests/fdleak_cmsg.c 2006-10-11 16:06:33 UTC (rev 6=
203)
@@ -1,6 +1,26 @@
+
+/* On AIX 5.2, _LINUX_SOURCE_COMPAT needs to be defined when reading
+ sys/socket.h in order to make CMSG_SPACE and CMSG_LEN visible. */
+
+#if defined(_AIX)
+#define _LINUX_SOURCE_COMPAT 1
+#endif
+
+#include <sys/socket.h>
+
+#if defined(_AIX)
+#undef _LINUX_SOURCE_COMPAT
+#endif
+
+
+/* Needed for 'memset' on AIX 5.2 */
+#if defined(_AIX)
+# include <memory.h>
+#endif
+
+
#include <sys/types.h>
#include <sys/wait.h>
-#include <sys/socket.h>
#include <sys/un.h>
#include <stdio.h>
#include <fcntl.h>
@@ -8,12 +28,13 @@
#include <stdlib.h>
#include <errno.h>
=20
+
char filea[24];
char fileb[24];
char sock[24];
=20
void
-server ()
+server (void)
{
int s, fd1, fd2;
struct sockaddr_un addr;
@@ -90,7 +111,7 @@
}
=20
void
-client ()
+client (void)
{
int s, fd1 =3D -1, fd2 =3D -1, size, count =3D 0, ret;
struct sockaddr_un addr;
|
|
From: <sv...@va...> - 2006-10-11 16:06:02
|
Author: sewardj
Date: 2006-10-11 17:05:59 +0100 (Wed, 11 Oct 2006)
New Revision: 6202
Log:
If someone has registered a fault (signal) catcher, try it first,
before messing around with the faults-in-the-stack-segment logic.
This makes the leack checker work on AIX 5.2.
Modified:
branches/AIX5/coregrind/m_signals.c
Modified: branches/AIX5/coregrind/m_signals.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/coregrind/m_signals.c 2006-10-11 16:04:24 UTC (rev 6201=
)
+++ branches/AIX5/coregrind/m_signals.c 2006-10-11 16:05:59 UTC (rev 6202=
)
@@ -1627,9 +1627,9 @@
SizeT udelta;
=20
/* Find the next Segment above addr */
- NSegment const*const seg
+ NSegment const* seg
=3D VG_(am_find_nsegment)(addr);
- NSegment const*const seg_next=20
+ NSegment const* seg_next=20
=3D seg ? VG_(am_next_nsegment)( (NSegment*)seg, True/*fwds*/ )
: NULL;
=20
@@ -1668,10 +1668,12 @@
return True;
}
=20
-static void (*fault_catcher)(Int sig, Addr addr);
+static void (*fault_catcher)(Int sig, Addr addr) =3D NULL;
=20
void VG_(set_fault_catcher)(void (*catcher)(Int, Addr))
{
+ if (0)
+ VG_(debugLog)(0, "signals", "set fault catcher to %p\n", catcher);
vg_assert2(NULL =3D=3D catcher || NULL =3D=3D fault_catcher,
"Fault catcher is already registered");
=20
@@ -1785,15 +1787,28 @@
}
vg_assert(sigNo >=3D 1 && sigNo <=3D VG_(max_signal));
=20
+ /* Check to see if someone is interested in faults. The fault
+ catcher should never be set whilst we're in generated code, so
+ check for that. AFAIK the only use of the catcher right now is
+ memcheck's leak detector.
+ */
+ if (fault_catcher) {
+ vg_assert(VG_(in_generated_code) =3D=3D False);
+
+ (*fault_catcher)(sigNo, (Addr)info->VKI_SIGINFO_si_addr);
+ /* If the catcher returns, then it didn't handle the fault,
+ so carry on panicing. */
+ }
+
/* Special fault-handling case. We can now get signals which can
act upon and immediately restart the faulting instruction.
*/
if (info->si_signo =3D=3D VKI_SIGSEGV) {
Addr fault =3D (Addr)info->VKI_SIGINFO_si_addr;
Addr esp =3D VG_(get_SP)(tid);
- NSegment const*const seg
+ NSegment const* seg
=3D VG_(am_find_nsegment)(fault);
- NSegment const*const seg_next=20
+ NSegment const* seg_next=20
=3D seg ? VG_(am_next_nsegment)( (NSegment*)seg, True/*fwds*/ )
: NULL;
=20
@@ -1856,14 +1871,6 @@
resume_scheduler(tid);
}
=20
- /* Check to see if someone is interested in faults. */
- if (fault_catcher) {
- (*fault_catcher)(sigNo, (Addr)info->VKI_SIGINFO_si_addr);
-
- /* If the catcher returns, then it didn't handle the fault,
- so carry on panicing. */
- }
-
/* If resume_scheduler returns or its our fault, it means we
don't have longjmp set up, implying that we weren't running
client code, and therefore it was actually generated by
|
|
From: <sv...@va...> - 2006-10-11 16:04:35
|
Author: sewardj
Date: 2006-10-11 17:04:24 +0100 (Wed, 11 Oct 2006)
New Revision: 6201
Log:
Fix compile warning on aix.
Modified:
branches/AIX5/auxprogs/valgrind-listener.c
Modified: branches/AIX5/auxprogs/valgrind-listener.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/AIX5/auxprogs/valgrind-listener.c 2006-10-06 13:04:01 UTC (r=
ev 6200)
+++ branches/AIX5/auxprogs/valgrind-listener.c 2006-10-11 16:04:24 UTC (r=
ev 6201)
@@ -230,7 +230,8 @@
int main (int argc, char** argv)=20
{
int i, j, k, res, one;
- int main_sd, new_sd, client_len;
+ int main_sd, new_sd;
+ socklen_t client_len;
struct sockaddr_in client_addr, server_addr;
=20
char /*bool*/ exit_when_zero =3D 0;
@@ -306,7 +307,7 @@
=20
/* ok, we have someone waiting to connect. Get the sd. */
client_len =3D sizeof(client_addr);
- new_sd =3D accept(main_sd, (struct sockaddr *) &client_addr,=20
+ new_sd =3D accept(main_sd, (struct sockaddr *)&client_addr,=20
&client_len);
if (new_sd < 0) {
perror("cannot accept connection ");
|
|
From: <js...@ac...> - 2006-10-11 13:50:56
|
Nightly build on minnie ( SuSE 10.0, ppc32 ) started at 2006-10-11 09:00:02 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 214 tests, 10 stderr failures, 7 stdout failures, 0 posttest failures == memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/leakotron (stdout) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-fp (stderr) none/tests/ppc32/jm-int (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/round (stderr) none/tests/ppc32/test_fx (stdout) none/tests/ppc32/test_fx (stderr) none/tests/ppc32/test_gx (stdout) |
|
From: Tom H. <to...@co...> - 2006-10-11 02:45:38
|
Nightly build on dunsmere ( athlon, Fedora Core 5 ) started at 2006-10-11 03:30:07 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 246 tests, 4 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |
|
From: Tom H. <th...@cy...> - 2006-10-11 02:26:01
|
Nightly build on dellow ( x86_64, Fedora Core 5 ) started at 2006-10-11 03:10:07 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 274 tests, 20 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/leak-pool-0 (stderr) memcheck/tests/leak-pool-1 (stderr) memcheck/tests/leak-pool-2 (stderr) memcheck/tests/leak-pool-3 (stderr) memcheck/tests/leak-pool-4 (stderr) memcheck/tests/leak-pool-5 (stderr) memcheck/tests/mempool (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/xml1 (stderr) none/tests/fdleak_cmsg (stderr) none/tests/fdleak_creat (stderr) none/tests/fdleak_dup (stderr) none/tests/fdleak_dup2 (stderr) none/tests/fdleak_fcntl (stderr) none/tests/fdleak_ipv4 (stderr) none/tests/fdleak_open (stderr) none/tests/fdleak_pipe (stderr) none/tests/fdleak_socketpair (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/rlimit_nofile (stderr) |
|
From: Tom H. <th...@cy...> - 2006-10-11 02:25:05
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2006-10-11 03:15:02 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Last 20 lines of verbose log follow echo /tmp/ccuKABYp.s:4393: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccuKABYp.s:4513: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccuKABYp.s:4633: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccuKABYp.s:4753: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccuKABYp.s:4873: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccuKABYp.s:4993: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccuKABYp.s:5113: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccuKABYp.s:5233: Error: no such instruction: `fisttpq -56(%ebp)' make[5]: *** [insn_sse3.o] Error 1 rm insn_mmx.c insn_sse2.c insn_fpu.c insn_mmxext.c insn_sse.c insn_sse3.c insn_cmov.c insn_basic.c make[5]: Leaving directory `/tmp/valgrind.14266/valgrind/none/tests/x86' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/tmp/valgrind.14266/valgrind/none/tests/x86' make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `/tmp/valgrind.14266/valgrind/none/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/tmp/valgrind.14266/valgrind/none' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/tmp/valgrind.14266/valgrind' make: *** [check] Error 2 ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Last 20 lines of verbose log follow echo /tmp/ccyHmuIv.s:4393: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccyHmuIv.s:4513: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccyHmuIv.s:4633: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccyHmuIv.s:4753: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccyHmuIv.s:4873: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccyHmuIv.s:4993: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccyHmuIv.s:5113: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccyHmuIv.s:5233: Error: no such instruction: `fisttpq -56(%ebp)' make[5]: *** [insn_sse3.o] Error 1 rm insn_mmx.c insn_sse2.c insn_fpu.c insn_mmxext.c insn_sse.c insn_sse3.c insn_cmov.c insn_basic.c make[5]: Leaving directory `/tmp/valgrind.14266/valgrind/none/tests/x86' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/tmp/valgrind.14266/valgrind/none/tests/x86' make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `/tmp/valgrind.14266/valgrind/none/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/tmp/valgrind.14266/valgrind/none' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/tmp/valgrind.14266/valgrind' make: *** [check] Error 2 ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Wed Oct 11 03:19:55 2006 --- new.short Wed Oct 11 03:25:00 2006 *************** *** 7,16 **** Last 20 lines of verbose log follow echo ! /tmp/ccyHmuIv.s:4393: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccyHmuIv.s:4513: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccyHmuIv.s:4633: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccyHmuIv.s:4753: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccyHmuIv.s:4873: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccyHmuIv.s:4993: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccyHmuIv.s:5113: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccyHmuIv.s:5233: Error: no such instruction: `fisttpq -56(%ebp)' make[5]: *** [insn_sse3.o] Error 1 --- 7,16 ---- Last 20 lines of verbose log follow echo ! /tmp/ccuKABYp.s:4393: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccuKABYp.s:4513: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccuKABYp.s:4633: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccuKABYp.s:4753: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccuKABYp.s:4873: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccuKABYp.s:4993: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccuKABYp.s:5113: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccuKABYp.s:5233: Error: no such instruction: `fisttpq -56(%ebp)' make[5]: *** [insn_sse3.o] Error 1 |
|
From: Tom H. <th...@cy...> - 2006-10-11 02:20:02
|
Nightly build on lloyd ( x86_64, Fedora Core 3 ) started at 2006-10-11 03:05:09 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 274 tests, 12 stderr failures, 2 stdout failures, 0 posttest failures == memcheck/tests/leak-pool-0 (stderr) memcheck/tests/leak-pool-1 (stderr) memcheck/tests/leak-pool-2 (stderr) memcheck/tests/leak-pool-3 (stderr) memcheck/tests/leak-pool-4 (stderr) memcheck/tests/leak-pool-5 (stderr) memcheck/tests/leakotron (stdout) memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |
|
From: Tom H. <th...@cy...> - 2006-10-11 02:18:04
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2006-10-11 03:00:03 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 276 tests, 12 stderr failures, 2 stdout failures, 0 posttest failures == memcheck/tests/leak-pool-0 (stderr) memcheck/tests/leak-pool-1 (stderr) memcheck/tests/leak-pool-2 (stderr) memcheck/tests/leak-pool-3 (stderr) memcheck/tests/leak-pool-4 (stderr) memcheck/tests/leak-pool-5 (stderr) memcheck/tests/mempool (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/tls (stdout) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 276 tests, 12 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/leak-pool-0 (stderr) memcheck/tests/leak-pool-1 (stderr) memcheck/tests/leak-pool-2 (stderr) memcheck/tests/leak-pool-3 (stderr) memcheck/tests/leak-pool-4 (stderr) memcheck/tests/leak-pool-5 (stderr) memcheck/tests/mempool (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Wed Oct 11 03:08:43 2006 --- new.short Wed Oct 11 03:17:57 2006 *************** *** 8,10 **** ! == 276 tests, 12 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/leak-pool-0 (stderr) --- 8,10 ---- ! == 276 tests, 12 stderr failures, 2 stdout failures, 0 posttest failures == memcheck/tests/leak-pool-0 (stderr) *************** *** 22,23 **** --- 22,24 ---- none/tests/mremap2 (stdout) + none/tests/tls (stdout) |