You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
(13) |
2
(33) |
3
(25) |
4
(22) |
5
(22) |
6
(21) |
7
(19) |
|
8
(29) |
9
(34) |
10
(29) |
11
(37) |
12
(36) |
13
(28) |
14
(25) |
|
15
(28) |
16
(23) |
17
(36) |
18
(21) |
19
(12) |
20
(14) |
21
(10) |
|
22
(7) |
23
(15) |
24
(41) |
25
(15) |
26
(9) |
27
(7) |
28
(6) |
|
29
(16) |
30
(24) |
31
(22) |
|
|
|
|
|
From: <sv...@va...> - 2005-05-17 21:15:00
|
Author: njn Date: 2005-05-17 22:14:54 +0100 (Tue, 17 May 2005) New Revision: 3765 Modified: trunk/Makefile.core-AM_CPPFLAGS.am trunk/Makefile.tool-flags.am Log: Don't need to -I $(builddir)/include now that valgrind.h isn't generated from valgrind.h.in. Modified: trunk/Makefile.core-AM_CPPFLAGS.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/Makefile.core-AM_CPPFLAGS.am 2005-05-17 21:10:11 UTC (rev 3764) +++ trunk/Makefile.core-AM_CPPFLAGS.am 2005-05-17 21:14:54 UTC (rev 3765) @@ -1,12 +1,9 @@ -# we need $(top_builddir)/include for when builddir !=3D srcdir, because -# valgrind.h is generated from valgrind.h.in. add_includes =3D -I$(top_srcdir)/coregrind \ -I$(top_srcdir) \ -I$(top_srcdir)/coregrind/$(VG_ARCH) \ -I$(top_srcdir)/coregrind/$(VG_OS) \ -I$(top_srcdir)/coregrind/$(VG_PLATFORM) \ -I$(top_srcdir)/include \ - -I$(top_builddir)/include \ -I@VEX_DIR@/pub \ -DVGA_$(VG_ARCH)=3D1 \ -DVGO_$(VG_OS)=3D1 \ Modified: trunk/Makefile.tool-flags.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/Makefile.tool-flags.am 2005-05-17 21:10:11 UTC (rev 3764) +++ trunk/Makefile.tool-flags.am 2005-05-17 21:14:54 UTC (rev 3765) @@ -1,7 +1,4 @@ -# we need $(top_builddir)/include for when builddir !=3D srcdir, because -# valgrind.h is generated from valgrind.h.in. add_includes =3D -I$(top_srcdir)/include \ - -I$(top_builddir)/include \ -I@VEX_DIR@/pub \ -DVGA_$(VG_ARCH)=3D1 \ -DVGO_$(VG_OS)=3D1 \ |
|
From: <sv...@va...> - 2005-05-17 21:10:14
|
Author: njn
Date: 2005-05-17 22:10:11 +0100 (Tue, 17 May 2005)
New Revision: 3764
Modified:
trunk/coregrind/core.h
Log:
minor cleanups
Modified: trunk/coregrind/core.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/core.h 2005-05-17 21:07:46 UTC (rev 3763)
+++ trunk/coregrind/core.h 2005-05-17 21:10:11 UTC (rev 3764)
@@ -35,9 +35,6 @@
#include "tool.h" // tool stuff
#include "core_arch.h" // arch-specific stuff, eg. x86/core_arch.h
=20
-// Ugly: this is needed by linux/core_os.h
-typedef struct _ThreadState ThreadState;
-
#include "core_platform.h" // platform-specific stuff,
// eg. x86-linux/core_platform.h
#include "core_os.h" // OS-specific stuff, eg. linux/core_os.h
@@ -204,7 +201,7 @@
ThreadArchState;
=20
=20
-struct _ThreadState {
+typedef struct {
/* ThreadId =3D=3D 0 (and hence vg_threads[0]) is NEVER USED.
The thread identity is simply the index in vg_threads[].
ThreadId =3D=3D 1 is the root thread and has the special property
@@ -288,8 +285,10 @@
/* Per-thread jmp_buf to resume scheduler after a signal */
Bool sched_jmpbuf_valid;
jmp_buf sched_jmpbuf;
-};
+}
+ThreadState;
=20
+
/* The thread table. */
extern ThreadState VG_(threads)[VG_N_THREADS];
=20
@@ -324,7 +323,8 @@
extern Int VG_(count_living_threads)(void);
=20
/* Nuke all threads except tid. */
-extern void VG_(nuke_all_threads_except) ( ThreadId me, VgSchedReturnCod=
e reason );
+extern void VG_(nuke_all_threads_except) ( ThreadId me,
+ VgSchedReturnCode reason );
=20
/* Make a thread the running thread. The thread must previously been
sleeping, and not holding the CPU semaphore. This will set the
@@ -589,9 +589,6 @@
/* Something of a function looking for a home ... start up debugger. */
extern void VG_(start_debugger) ( ThreadId tid );
=20
-/* Counts downwards in vg_run_innerloop. */
-extern UInt VG_(dispatch_ctr);
-
/* Stats ... */
extern void VG_(print_scheduler_stats) ( void );
=20
|
|
From: <sv...@va...> - 2005-05-17 21:07:49
|
Author: njn
Date: 2005-05-17 22:07:46 +0100 (Tue, 17 May 2005)
New Revision: 3763
Modified:
trunk/auxprogs/valgrind-listener.c
trunk/include/tool.h
Log:
Avoid compiler warnings.
Modified: trunk/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
--- trunk/auxprogs/valgrind-listener.c 2005-05-17 21:02:03 UTC (rev 3762)
+++ trunk/auxprogs/valgrind-listener.c 2005-05-17 21:07:46 UTC (rev 3763)
@@ -99,7 +99,7 @@
struct pollfd conn_pollfd[M_CONNECTIONS];
=20
=20
-void set_nonblocking ( int sd )
+static void set_nonblocking ( int sd )
{
int res;
res =3D fcntl(sd, F_GETFL);
@@ -110,7 +110,7 @@
}
}
=20
-void set_blocking ( int sd )
+static void set_blocking ( int sd )
{
int res;
res =3D fcntl(sd, F_GETFL);
@@ -122,7 +122,7 @@
}
=20
=20
-void copyout ( char* buf, int nbuf )
+static void copyout ( char* buf, int nbuf )
{
int i;
for (i =3D 0; i < nbuf; i++) {
@@ -135,7 +135,7 @@
fflush(stdout);
}
=20
-int read_from_sd ( int sd )
+static int read_from_sd ( int sd )
{
char buf[100];
int n;
@@ -154,7 +154,7 @@
}
=20
=20
-void snooze ( void )
+static void snooze ( void )
{
struct timespec req;
req.tv_sec =3D 0;
@@ -164,7 +164,7 @@
=20
=20
/* returns 0 if invalid, else port # */
-int atoi_portno ( char* str )
+static int atoi_portno ( char* str )
{
int n =3D 0;
while (1) {
@@ -183,7 +183,7 @@
}
=20
=20
-void usage ( void )
+static void usage ( void )
{
fprintf(stderr,=20
"\n"
@@ -206,7 +206,7 @@
}
=20
=20
-void banner ( char* str )
+static void banner ( char* str )
{
time_t t;
t =3D time(NULL);
@@ -215,14 +215,14 @@
}
=20
=20
-void exit_routine ( void )
+static void exit_routine ( void )
{
banner("exited");
exit(0);
}
=20
=20
-void sigint_handler ( int signo )
+static void sigint_handler ( int signo )
{
exit_routine();
}
Modified: trunk/include/tool.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/include/tool.h 2005-05-17 21:02:03 UTC (rev 3762)
+++ trunk/include/tool.h 2005-05-17 21:07:46 UTC (rev 3763)
@@ -271,7 +271,7 @@
extern Int VG_(strlen) ( const Char* str );
extern Char* VG_(strcat) ( Char* dest, const Char* src );
extern Char* VG_(strncat) ( Char* dest, const Char* src, Int n );
-extern Char* VG_(strpbrk) ( const Char* s, const Char* accept );
+extern Char* VG_(strpbrk) ( const Char* s, const Char* accpt );
extern Char* VG_(strcpy) ( Char* dest, const Char* src );
extern Char* VG_(strncpy) ( Char* dest, const Char* src, Int ndes=
t );
extern Int VG_(strcmp) ( const Char* s1, const Char* s2 );
|
|
From: <sv...@va...> - 2005-05-17 21:02:10
|
Author: njn Date: 2005-05-17 22:02:03 +0100 (Tue, 17 May 2005) New Revision: 3762 Modified: trunk/coregrind/m_demangle/demangle.c Log: Add missing #include. Modified: trunk/coregrind/m_demangle/demangle.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_demangle/demangle.c 2005-05-17 16:13:15 UTC (rev 37= 61) +++ trunk/coregrind/m_demangle/demangle.c 2005-05-17 21:02:03 UTC (rev 37= 62) @@ -29,6 +29,7 @@ */ =20 #include "core.h" +#include "pub_core_demangle.h" #include "pub_core_options.h" #include "demangle.h" =20 |
|
From: <sv...@va...> - 2005-05-17 16:13:19
|
Author: tom
Date: 2005-05-17 17:13:15 +0100 (Tue, 17 May 2005)
New Revision: 3761
Modified:
trunk/configure.in
Log:
Pass an explicit "-m32" or "-m64" in the C flags on x86/amd64 systems
so that we get the right compiler when --host is used to ask for an x86
build on amd64 or vice versa.
Modified: trunk/configure.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/configure.in 2005-05-17 16:11:40 UTC (rev 3760)
+++ trunk/configure.in 2005-05-17 16:13:15 UTC (rev 3761)
@@ -96,9 +96,9 @@
AC_MSG_RESULT([ok (${host_cpu})])
VG_ARCH=3D"x86"
KICKSTART_BASE=3D"0xb0000000"
- ARCH_CORE_AM_CFLAGS=3D"@PREFERRED_STACK_BOUNDARY@ -DELFSZ=3D32"
- ARCH_TOOL_AM_CFLAGS=3D"@PREFERRED_STACK_BOUNDARY@"
- ARCH_CORE_AM_CCASFLAGS=3D""
+ ARCH_CORE_AM_CFLAGS=3D"-m32 @PREFERRED_STACK_BOUNDARY@ -DELFSZ=3D=
32"
+ ARCH_TOOL_AM_CFLAGS=3D"-m32 @PREFERRED_STACK_BOUNDARY@"
+ ARCH_CORE_AM_CCASFLAGS=3D"-m32"
;;
=20
x86_64)=20
@@ -108,15 +108,15 @@
# quantities; therefore going above 0x7fffffff doesn't work... t=
his is
# a problem.
KICKSTART_BASE=3D"0x70000000"
- ARCH_CORE_AM_CFLAGS=3D"-fomit-frame-pointer @PREFERRED_STACK_BOU=
NDARY@ -DELFSZ=3D64"=20
+ ARCH_CORE_AM_CFLAGS=3D"-m64 -fomit-frame-pointer @PREFERRED_STAC=
K_BOUNDARY@ -DELFSZ=3D64"=20
# XXX: need to use -fpic, otherwise when linking tools I get thi=
s error
# message:
# relocation R_X86_64_32 can not be used when making a shared =
object;
# recompile with -fPIC
#
# I don't understand... --njn
- ARCH_TOOL_AM_CFLAGS=3D"-fomit-frame-pointer @PREFERRED_STACK_BOU=
NDARY@ -fpic"
- ARCH_CORE_AM_CCASFLAGS=3D""
+ ARCH_TOOL_AM_CFLAGS=3D"-m64 -fomit-frame-pointer @PREFERRED_STAC=
K_BOUNDARY@ -fpic"
+ ARCH_CORE_AM_CCASFLAGS=3D"-m64"
;;
=20
arm*)=20
|
|
From: <sv...@va...> - 2005-05-17 16:12:15
|
Author: tom
Date: 2005-05-17 17:11:40 +0100 (Tue, 17 May 2005)
New Revision: 3760
Modified:
trunk/Makefile.core-AM_CPPFLAGS.am
trunk/auxprogs/Makefile.am
trunk/configure.in
trunk/coregrind/Makefile.am
trunk/coregrind/amd64-linux/Makefile.am
trunk/coregrind/amd64/Makefile.am
trunk/coregrind/arm-linux/Makefile.am
trunk/coregrind/arm/Makefile.am
trunk/coregrind/linux/Makefile.am
trunk/coregrind/m_aspacemgr/Makefile.am
trunk/coregrind/m_demangle/Makefile.am
trunk/coregrind/m_dispatch/Makefile.am
trunk/coregrind/m_replacemalloc/Makefile.am
trunk/coregrind/m_sigframe/Makefile.am
trunk/coregrind/m_syscalls/Makefile.am
trunk/coregrind/x86-linux/Makefile.am
trunk/coregrind/x86/Makefile.am
Log:
Get rid of all the duplicated settings of AM_CFLAGS in the makefiles
for the various core modules and use a single global setting so that
the flags are actually consistent everywhere.
Also get rid of most the USE_PIE blocks in the makefiles by having
configure pass expand a variable in the new global AM_CFLAGS to one
of "-fpie" or "" depending on whether PIE is in use.
Modified: trunk/Makefile.core-AM_CPPFLAGS.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/Makefile.core-AM_CPPFLAGS.am 2005-05-17 13:45:04 UTC (rev 3759)
+++ trunk/Makefile.core-AM_CPPFLAGS.am 2005-05-17 16:11:40 UTC (rev 3760)
@@ -12,6 +12,11 @@
-DVGO_$(VG_OS)=3D1 \
-DVGP_$(VG_ARCH)_$(VG_OS)=3D1
=20
+BASE_AM_CFLAGS =3D @ARCH_CORE_AM_CFLAGS@ -Wmissing-prototypes -Winline -=
Wall -Wshadow -O -g
+
+PIC_AM_CFLAGS =3D $(BASE_AM_CFLAGS) -fpic -fno-omit-frame-pointer
+
AM_CPPFLAGS =3D $(add_includes)
+AM_CFLAGS =3D $(WERROR) @PIE_AM_CFLAGS@ $(BASE_AM_CFLAGS)
AM_CCASFLAGS =3D $(add_includes) @ARCH_CORE_AM_CCASFLAGS@ -Wa,-gstabs
=20
Modified: trunk/auxprogs/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/auxprogs/Makefile.am 2005-05-17 13:45:04 UTC (rev 3759)
+++ trunk/auxprogs/Makefile.am 2005-05-17 16:11:40 UTC (rev 3760)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Winline -Wall -O -g
-
bin_PROGRAMS =3D valgrind-listener
=20
valgrind_listener_SOURCES =3D valgrind-listener.c
Modified: trunk/configure.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/configure.in 2005-05-17 13:45:04 UTC (rev 3759)
+++ trunk/configure.in 2005-05-17 16:11:40 UTC (rev 3760)
@@ -335,6 +335,7 @@
fi
=20
# Check for PIE support in the compiler and linker
+AC_SUBST(PIE_AM_CFLAGS)
AC_CACHE_CHECK([for PIE support], vg_cv_pie,
[AC_ARG_ENABLE(pie, [ --enable-pie platform supports=
PIE linking],
[vg_cv_pie=3D$enableval],
@@ -350,6 +351,7 @@
LDFLAGS=3D$safe_LDFLAGS])])
if test "$vg_cv_pie" =3D yes; then
AC_DEFINE([HAVE_PIE], 1, [can create position-independent executables])
+PIE_AM_CFLAGS=3D"-fpie"
fi
AM_CONDITIONAL(USE_PIE, test "$vg_cv_pie" =3D "yes")
=20
Modified: trunk/coregrind/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/Makefile.am 2005-05-17 13:45:04 UTC (rev 3759)
+++ trunk/coregrind/Makefile.am 2005-05-17 16:11:40 UTC (rev 3760)
@@ -23,9 +23,6 @@
AM_CPPFLAGS +=3D -DVG_LIBDIR=3D"\"$(valdir)"\" \
-DKICKSTART_BASE=3D@KICKSTART_BASE@
=20
-AM_CFLAGS =3D $(WERROR) -Wmissing-prototypes -Winline -Wall -Wshadow -O =
-g @ARCH_CORE_AM_CFLAGS@
-AM_CFLAGS +=3D -fno-omit-frame-pointer
-
default.supp: $(SUPP_FILES)
=20
bin_PROGRAMS =3D \
@@ -120,7 +117,7 @@
## only referred to by tool shared objects).
stage2_extra2 =3D \
m_replacemalloc/libreplacemalloc_core.a
-=09
+
## Nb: older versions of automake don't seem to like having +=3D within =
an
## if-then-else, so we have to use these variables for the common parts.
st2_DEPS_common =3D \
@@ -133,14 +130,12 @@
-Wl,-version-script $(srcdir)/valgrind.vs
=20
if USE_PIE
-stage2_CFLAGS =3D $(AM_CFLAGS) -fpie
stage2_DEPENDENCIES =3D $(st2_DEPS_common)
stage2_LDFLAGS =3D \
$(st2_LDFLAGS_common) \
-Wl,--whole-archive $(stage2_extra2) -Wl,--no-whole-archive \
-pie
else
-stage2_CFLAGS =3D $(AM_CFLAGS)
stage2_DEPENDENCIES =3D $(st2_DEPS_common) ${VG_ARCH}/stage2.lds
stage2_LDFLAGS =3D \
$(st2_LDFLAGS_common) \
Modified: trunk/coregrind/amd64/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/coregrind/amd64/Makefile.am 2005-05-17 13:45:04 UTC (rev 3759)
+++ trunk/coregrind/amd64/Makefile.am 2005-05-17 16:11:40 UTC (rev 3760)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Winline -Wall -Wshadow -O -fomit-frame-pointer =
-g
-
noinst_HEADERS =3D \
core_arch.h
=20
@@ -20,12 +18,6 @@
jmp_with_stack.c \
state.c
=20
-if USE_PIE
-libarch_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libarch_a_CFLAGS =3D $(AM_CFLAGS)
-endif
-
# Extract ld's default linker script and hack it to our needs
stage2.lds: Makefile
$(CC) -Wl,--verbose -nostdlib 2>&1 | sed \
Modified: trunk/coregrind/amd64-linux/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/coregrind/amd64-linux/Makefile.am 2005-05-17 13:45:04 UTC (rev =
3759)
+++ trunk/coregrind/amd64-linux/Makefile.am 2005-05-17 16:11:40 UTC (rev =
3760)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Winline -Wall -Wshadow -O -fomit-frame-pointer =
-g
-
noinst_HEADERS =3D \
core_platform.h \
vki_unistd.h
@@ -12,9 +10,3 @@
=20
libplatform_a_SOURCES =3D \
core_platform.c
-
-if USE_PIE
-libplatform_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libplatform_a_CFLAGS =3D $(AM_CFLAGS)
-endif
Modified: trunk/coregrind/arm/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/coregrind/arm/Makefile.am 2005-05-17 13:45:04 UTC (rev 3759)
+++ trunk/coregrind/arm/Makefile.am 2005-05-17 16:11:40 UTC (rev 3760)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Winline -Wall -Wshadow -O -fomit-frame-pointer =
-g
-
noinst_HEADERS =3D \
core_arch.h
=20
@@ -18,12 +16,6 @@
libarch_a_SOURCES =3D \
state.c
=20
-if USE_PIE
-libarch_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libarch_a_CFLAGS =3D $(AM_CFLAGS)
-endif
-
# Extract ld's default linker script and hack it to our needs
stage2.lds: Makefile
$(CC) -Wl,--verbose -nostdlib 2>&1 | sed \
Modified: trunk/coregrind/arm-linux/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/coregrind/arm-linux/Makefile.am 2005-05-17 13:45:04 UTC (rev 37=
59)
+++ trunk/coregrind/arm-linux/Makefile.am 2005-05-17 16:11:40 UTC (rev 37=
60)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Winline -Wall -Wshadow -O -fomit-frame-pointer =
-g
-
noinst_HEADERS =3D \
core_platform.h \
vki_unistd.h
@@ -11,8 +9,3 @@
=20
libplatform_a_SOURCES =3D
=20
-if USE_PIE
-libplatform_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libplatform_a_CFLAGS =3D $(AM_CFLAGS)
-endif
Modified: trunk/coregrind/linux/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/coregrind/linux/Makefile.am 2005-05-17 13:45:04 UTC (rev 3759)
+++ trunk/coregrind/linux/Makefile.am 2005-05-17 16:11:40 UTC (rev 3760)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Wmissing-prototypes -Winline -Wall -Wshadow -O =
-g
-
noinst_HEADERS =3D \
core_os.h
=20
@@ -11,9 +9,3 @@
libos_a_SOURCES =3D \
core_os.c \
sema.c
-
-if USE_PIE
-libos_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libos_a_CFLAGS =3D $(AM_CFLAGS)
-endif
Modified: trunk/coregrind/m_aspacemgr/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/coregrind/m_aspacemgr/Makefile.am 2005-05-17 13:45:04 UTC (rev =
3759)
+++ trunk/coregrind/m_aspacemgr/Makefile.am 2005-05-17 16:11:40 UTC (rev =
3760)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Wmissing-prototypes -Winline -Wall -Wshadow -O =
-g
-
EXTRA_DIST =3D \
README_ASPACEMGR.txt
=20
@@ -11,9 +9,3 @@
libaspacemgr_a_SOURCES =3D \
read_procselfmaps.c \
aspacemgr.c
-
-if USE_PIE
-libaspacemgr_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libaspacemgr_a_CFLAGS =3D $(AM_CFLAGS)
-endif
Modified: trunk/coregrind/m_demangle/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/coregrind/m_demangle/Makefile.am 2005-05-17 13:45:04 UTC (rev 3=
759)
+++ trunk/coregrind/m_demangle/Makefile.am 2005-05-17 16:11:40 UTC (rev 3=
760)
@@ -1,14 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-## Test repeated in both arms of the if-then-else because older versions=
of
-## automake don't seem to like having +=3D within an if-then-else.
-if USE_PIE
-AM_CFLAGS =3D $(WERROR) -Winline -Wall -Wshadow -O -g -fpie
-else
-AM_CFLAGS =3D $(WERROR) -Winline -Wall -Wshadow -O -g
-endif
-
noinst_HEADERS =3D \
ansidecl.h \
dyn-string.h \
Modified: trunk/coregrind/m_dispatch/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/coregrind/m_dispatch/Makefile.am 2005-05-17 13:45:04 UTC (rev 3=
759)
+++ trunk/coregrind/m_dispatch/Makefile.am 2005-05-17 16:11:40 UTC (rev 3=
760)
@@ -1,17 +1,9 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Wmissing-prototypes -Winline -Wall -Wshadow -O =
-g
-
noinst_LIBRARIES =3D libdispatch.a
=20
## XXX: this won't work with "make dist" -- only one dispatch-XXX.S file
## will be put in the tarball. Problem exists in various other Makefile=
s.
libdispatch_a_SOURCES =3D \
dispatch-@VG_ARCH@.S
-
-if USE_PIE
-libdispatch_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libdispatch_a_CFLAGS =3D $(AM_CFLAGS)
-endif
Modified: trunk/coregrind/m_replacemalloc/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/coregrind/m_replacemalloc/Makefile.am 2005-05-17 13:45:04 UTC (=
rev 3759)
+++ trunk/coregrind/m_replacemalloc/Makefile.am 2005-05-17 16:11:40 UTC (=
rev 3760)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Wmissing-prototypes -Winline -Wall -Wshadow -O =
-g
-
EXTRA_DIST =3D \
README_REPLACEMALLOC.txt
=20
@@ -13,15 +11,9 @@
libreplacemalloc_core_a_SOURCES =3D \
replacemalloc_core.c
=20
-if USE_PIE
-libreplacemalloc_core_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libreplacemalloc_core_a_CFLAGS =3D $(AM_CFLAGS)
-endif
-
libreplacemalloc_toolpreload_a_SOURCES =3D \
vg_replace_malloc.c
libreplacemalloc_toolpreload_a_CFLAGS =3D \
- $(AM_CFLAGS) -fpic -fno-omit-frame-pointer
+ $(PIC_AM_CFLAGS)
=20
=20
Modified: trunk/coregrind/m_sigframe/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/coregrind/m_sigframe/Makefile.am 2005-05-17 13:45:04 UTC (rev 3=
759)
+++ trunk/coregrind/m_sigframe/Makefile.am 2005-05-17 16:11:40 UTC (rev 3=
760)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Wmissing-prototypes -Winline -Wall -Wshadow -O =
-g
-
EXTRA_DIST =3D \
README_SIGFRAME.txt
=20
@@ -10,9 +8,3 @@
=20
libsigframe_a_SOURCES =3D \
sigframe-@VG_PLATFORM@.c
-
-if USE_PIE
-libsigframe_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libsigframe_a_CFLAGS =3D $(AM_CFLAGS)
-endif
Modified: trunk/coregrind/m_syscalls/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/coregrind/m_syscalls/Makefile.am 2005-05-17 13:45:04 UTC (rev 3=
759)
+++ trunk/coregrind/m_syscalls/Makefile.am 2005-05-17 16:11:40 UTC (rev 3=
760)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Wmissing-prototypes -Winline -Wall -Wshadow -O =
-g
-
EXTRA_DIST =3D \
README_SYSCALLS.txt
=20
@@ -12,7 +10,7 @@
priv_syscalls-amd64-linux.h \
priv_syscalls-arm-linux.h \
priv_syscalls-x86-linux.h
-=09
+
noinst_LIBRARIES =3D libsyscalls.a
=20
libsyscalls_a_SOURCES =3D \
@@ -20,9 +18,3 @@
syscalls.c \
syscalls-@VG_OS@.c \
syscalls-@VG_PLATFORM@.c
-
-if USE_PIE
-libsyscalls_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libsyscalls_a_CFLAGS =3D $(AM_CFLAGS)
-endif
Modified: trunk/coregrind/x86/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/coregrind/x86/Makefile.am 2005-05-17 13:45:04 UTC (rev 3759)
+++ trunk/coregrind/x86/Makefile.am 2005-05-17 16:11:40 UTC (rev 3760)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Wmissing-prototypes -Winline -Wall -Wshadow -O =
-g
-
noinst_HEADERS =3D \
core_arch.h
=20
@@ -20,15 +18,9 @@
jmp_with_stack.c \
state.c
=20
-if USE_PIE
-libarch_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libarch_a_CFLAGS =3D $(AM_CFLAGS)
-endif
-
# Extract ld's default linker script and hack it to our needs
stage2.lds: Makefile
- $(CC) -Wl,--verbose -nostdlib 2>&1 | sed \
+ $(CC) $(AM_CFLAGS) -Wl,--verbose -nostdlib 2>&1 | sed \
-e '1,/^=3D=3D=3D=3D=3D\+$$/d' \
-e '/^=3D=3D=3D=3D=3D\+$$/d' \
-e 's/0x08048000/kickstart_base/g' > $@ || rm -f $@
Modified: trunk/coregrind/x86-linux/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/coregrind/x86-linux/Makefile.am 2005-05-17 13:45:04 UTC (rev 37=
59)
+++ trunk/coregrind/x86-linux/Makefile.am 2005-05-17 16:11:40 UTC (rev 37=
60)
@@ -1,8 +1,6 @@
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
=20
-AM_CFLAGS =3D $(WERROR) -Wmissing-prototypes -Winline -Wall -Wshadow -O =
-g
-
noinst_HEADERS =3D \
core_platform.h \
vki_unistd.h
@@ -12,9 +10,3 @@
=20
libplatform_a_SOURCES =3D \
core_platform.c
-
-if USE_PIE
-libplatform_a_CFLAGS =3D $(AM_CFLAGS) -fpie
-else
-libplatform_a_CFLAGS =3D $(AM_CFLAGS)
-endif
|
|
From: <sv...@va...> - 2005-05-17 13:45:10
|
Author: sewardj Date: 2005-05-17 14:45:04 +0100 (Tue, 17 May 2005) New Revision: 3759 Modified: trunk/coregrind/m_options.c Log: Give this file a standard preamble, since having empty C files is thoroughly confusing. Modified: trunk/coregrind/m_options.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_options.c 2005-05-17 13:43:54 UTC (rev 3758) +++ trunk/coregrind/m_options.c 2005-05-17 13:45:04 UTC (rev 3759) @@ -0,0 +1,39 @@ + +/*--------------------------------------------------------------------*/ +/*--- Command line options. ---*/ +/*--- m_options.c ---*/ +/*--------------------------------------------------------------------*/ + +/* + This file is part of Valgrind, a dynamic binary instrumentation + framework. + + Copyright (C) 2000-2005 Nicholas Nethercote + nj...@va... + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307, USA. + + The GNU General Public License is contained in the file COPYING. +*/ + +/* This file would contain the executable content of the m_options + module, if there were any. However, there aren't. */ + + +/*--------------------------------------------------------------------*/ +/*--- end m_options.c ---*/ +/*--------------------------------------------------------------------*/ + |
|
From: <sv...@va...> - 2005-05-17 13:44:00
|
Author: sewardj Date: 2005-05-17 14:43:54 +0100 (Tue, 17 May 2005) New Revision: 3758 Modified: trunk/coregrind/m_tooliface.c Log: comment-only wibble Modified: trunk/coregrind/m_tooliface.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_tooliface.c 2005-05-17 11:03:52 UTC (rev 3757) +++ trunk/coregrind/m_tooliface.c 2005-05-17 13:43:54 UTC (rev 3758) @@ -1,7 +1,7 @@ =20 /*--------------------------------------------------------------------*/ /*--- Stuff relating to tool data structures. ---*/ -/*--- vg_needs.c ---*/ +/*--- m_tooliface.c ---*/ /*--------------------------------------------------------------------*/ =20 /* |
|
From: <sv...@va...> - 2005-05-17 11:04:06
|
Author: tom
Date: 2005-05-17 12:03:52 +0100 (Tue, 17 May 2005)
New Revision: 3757
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr.c
Log:
Correct file name in error messages.
Modified: trunk/coregrind/m_aspacemgr/aspacemgr.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_aspacemgr/aspacemgr.c 2005-05-17 04:28:23 UTC (rev =
3756)
+++ trunk/coregrind/m_aspacemgr/aspacemgr.c 2005-05-17 11:03:52 UTC (rev =
3757)
@@ -127,12 +127,12 @@
segnames_used++;
} else {
VG_(printf)(
- "coregrind/vg_memory.c:\n"
+ "coregrind/m_aspacemgr/aspacemgr.c:\n"
" VG_N_SEGNAMES is too small: "
"increase it and rebuild Valgrind.\n"
);
VG_(printf)(
- "coregrind/vg_memory.c:\n"
+ "coregrind/m_aspacemgr/aspacemgr.c:\n"
" giving up now.\n\n"
);
VG_(exit)(0);
|
|
From: Julian S. <js...@ac...> - 2005-05-17 10:22:36
|
> Modified: > trunk/include/pub_tool_errormgr.h > trunk/memcheck/mac_leakcheck.c > trunk/memcheck/mac_shared.c > trunk/memcheck/mac_shared.h > Log: > Undo the awful Leak Error type-abuse. Excellent! J |
|
From: <sv...@va...> - 2005-05-17 04:28:25
|
Author: njn Date: 2005-05-17 05:28:23 +0100 (Tue, 17 May 2005) New Revision: 3756 Modified: trunk/coregrind/x86/state.c Log: Remove orphaned comment. Modified: trunk/coregrind/x86/state.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/x86/state.c 2005-05-17 04:20:31 UTC (rev 3755) +++ trunk/coregrind/x86/state.c 2005-05-17 04:28:23 UTC (rev 3756) @@ -35,17 +35,7 @@ =20 #include "libvex_guest_x86.h" =20 -/* Global and Local descriptor tables for threads. =20 - See comments in libvex_guest_x86.h for LibVEX's model of x86 - segment descriptors. - - Mostly, threads never generate LDT (or GDT?) entries. Therefore, - we will initially start off with LDTs and GDTs being (HWord)NULL - and allocate them on demand. -*/ - - /*------------------------------------------------------------*/ /*--- Determining arch/subarch. ---*/ /*------------------------------------------------------------*/ |
|
From: <sv...@va...> - 2005-05-17 04:20:34
|
Author: njn Date: 2005-05-17 05:20:31 +0100 (Tue, 17 May 2005) New Revision: 3755 Added: trunk/coregrind/m_syscalls/priv_syscalls-linux.h Modified: trunk/coregrind/linux/core_os.h trunk/coregrind/m_syscalls/Makefile.am trunk/coregrind/m_syscalls/priv_syscalls.h Log: Move linux-only syscall wrappers into m_syscalls. Modified: trunk/coregrind/linux/core_os.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/linux/core_os.h 2005-05-17 04:00:11 UTC (rev 3754) +++ trunk/coregrind/linux/core_os.h 2005-05-17 04:20:31 UTC (rev 3755) @@ -32,69 +32,6 @@ #ifndef __LINUX_CORE_OS_H #define __LINUX_CORE_OS_H =20 -// Macros for adding Linux-specific, arch-independent wrappers to a sysc= all -// table. -#define LINX_(const, name) SYS_WRAPPER_ENTRY_X_(vgOS_linux, const, na= me)=20 -#define LINXY(const, name) SYS_WRAPPER_ENTRY_XY(vgOS_linux, const, na= me) - -// The following syscall wrappers are Linux-specific, but arch-independe= nt. -#define VGO_LINUX_SYSCALL_WRAPPER(x) \ - extern UInt VGO_(linux_##x##_flags); \ - extern void VGO_(linux_##x##_before)(ThreadId tid, ThreadState *tst);= \ - extern void VGO_(linux_##x##_after) (ThreadId tid, ThreadState *tst) - -VGO_LINUX_SYSCALL_WRAPPER(sys_exit_group); - -VGO_LINUX_SYSCALL_WRAPPER(sys_mount); -VGO_LINUX_SYSCALL_WRAPPER(sys_oldumount); -VGO_LINUX_SYSCALL_WRAPPER(sys_umount); - -VGO_LINUX_SYSCALL_WRAPPER(sys_llseek); -VGO_LINUX_SYSCALL_WRAPPER(sys_adjtimex); - -VGO_LINUX_SYSCALL_WRAPPER(sys_setfsuid16); -VGO_LINUX_SYSCALL_WRAPPER(sys_setfsgid16); -VGO_LINUX_SYSCALL_WRAPPER(sys_setresuid16); // man page says "non-stand= ard"; -VGO_LINUX_SYSCALL_WRAPPER(sys_getresuid16); -VGO_LINUX_SYSCALL_WRAPPER(sys_setresgid16); // man page says "non-stand= ard" -VGO_LINUX_SYSCALL_WRAPPER(sys_getresgid16); - -VGO_LINUX_SYSCALL_WRAPPER(sys_setfsuid); -VGO_LINUX_SYSCALL_WRAPPER(sys_setfsgid); -VGO_LINUX_SYSCALL_WRAPPER(sys_setresuid); // man page says "non-stand= ard" -VGO_LINUX_SYSCALL_WRAPPER(sys_getresuid); -VGO_LINUX_SYSCALL_WRAPPER(sys_setresgid); // man page says "non-stand= ard" -VGO_LINUX_SYSCALL_WRAPPER(sys_getresgid); - -VGO_LINUX_SYSCALL_WRAPPER(sys_ioperm); -VGO_LINUX_SYSCALL_WRAPPER(sys_syslog); -VGO_LINUX_SYSCALL_WRAPPER(sys_vhangup); -VGO_LINUX_SYSCALL_WRAPPER(sys_sysinfo); -VGO_LINUX_SYSCALL_WRAPPER(sys_personality); -VGO_LINUX_SYSCALL_WRAPPER(sys_sysctl); -VGO_LINUX_SYSCALL_WRAPPER(sys_prctl); - -VGO_LINUX_SYSCALL_WRAPPER(sys_sendfile); -VGO_LINUX_SYSCALL_WRAPPER(sys_sendfile64); -VGO_LINUX_SYSCALL_WRAPPER(sys_futex); - -VGO_LINUX_SYSCALL_WRAPPER(sys_epoll_create); -VGO_LINUX_SYSCALL_WRAPPER(sys_epoll_ctl); -VGO_LINUX_SYSCALL_WRAPPER(sys_epoll_wait); - -VGO_LINUX_SYSCALL_WRAPPER(sys_gettid); -VGO_LINUX_SYSCALL_WRAPPER(sys_tkill); -VGO_LINUX_SYSCALL_WRAPPER(sys_tgkill); - -VGO_LINUX_SYSCALL_WRAPPER(sys_fadvise64); -VGO_LINUX_SYSCALL_WRAPPER(sys_fadvise64_64); - -VGO_LINUX_SYSCALL_WRAPPER(sys_io_setup); -VGO_LINUX_SYSCALL_WRAPPER(sys_io_destroy); -VGO_LINUX_SYSCALL_WRAPPER(sys_io_getevents); -VGO_LINUX_SYSCALL_WRAPPER(sys_io_submit); -VGO_LINUX_SYSCALL_WRAPPER(sys_io_cancel); - #define FUTEX_SEMA 0 =20 #if FUTEX_SEMA Modified: trunk/coregrind/m_syscalls/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/coregrind/m_syscalls/Makefile.am 2005-05-17 04:00:11 UTC (rev 3= 754) +++ trunk/coregrind/m_syscalls/Makefile.am 2005-05-17 04:20:31 UTC (rev 3= 755) @@ -8,6 +8,7 @@ =20 noinst_HEADERS =3D \ priv_syscalls.h \ + priv_syscalls-linux.h \ priv_syscalls-amd64-linux.h \ priv_syscalls-arm-linux.h \ priv_syscalls-x86-linux.h Added: trunk/coregrind/m_syscalls/priv_syscalls-linux.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/m_syscalls/priv_syscalls-linux.h 2005-05-17 04:00:11 = UTC (rev 3754) +++ trunk/coregrind/m_syscalls/priv_syscalls-linux.h 2005-05-17 04:20:31 = UTC (rev 3755) @@ -0,0 +1,101 @@ + +/*--------------------------------------------------------------------*/ +/*--- Linux-specific syscalls stuff. priv_syscalls-linux.h ---*/ +/*--------------------------------------------------------------------*/ + +/* + This file is part of Valgrind, a dynamic binary instrumentation + framework. + + Copyright (C) 2000-2005 Nicholas Nethercote + nj...@va... + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307, USA. + + The GNU General Public License is contained in the file COPYING. +*/ + +#ifndef __PRIV_SYSCALLS_LINUX_H +#define __PRIV_SYSCALLS_LINUX_H + +// Macros for adding Linux-specific, arch-independent wrappers to a sysc= all +// table. +#define LINX_(const, name) SYS_WRAPPER_ENTRY_X_(vgOS_linux, const, na= me)=20 +#define LINXY(const, name) SYS_WRAPPER_ENTRY_XY(vgOS_linux, const, na= me) + +// The following syscall wrappers are Linux-specific, but arch-independe= nt. +#define LINUX_SYSCALL_WRAPPER(x) \ + extern UInt VGO_(linux_##x##_flags); \ + extern void VGO_(linux_##x##_before)(ThreadId tid, ThreadState *tst);= \ + extern void VGO_(linux_##x##_after) (ThreadId tid, ThreadState *tst) + +LINUX_SYSCALL_WRAPPER(sys_exit_group); + +LINUX_SYSCALL_WRAPPER(sys_mount); +LINUX_SYSCALL_WRAPPER(sys_oldumount); +LINUX_SYSCALL_WRAPPER(sys_umount); + +LINUX_SYSCALL_WRAPPER(sys_llseek); +LINUX_SYSCALL_WRAPPER(sys_adjtimex); + +LINUX_SYSCALL_WRAPPER(sys_setfsuid16); +LINUX_SYSCALL_WRAPPER(sys_setfsgid16); +LINUX_SYSCALL_WRAPPER(sys_setresuid16); // man page says "non-standard"= ; +LINUX_SYSCALL_WRAPPER(sys_getresuid16); +LINUX_SYSCALL_WRAPPER(sys_setresgid16); // man page says "non-standard" +LINUX_SYSCALL_WRAPPER(sys_getresgid16); + +LINUX_SYSCALL_WRAPPER(sys_setfsuid); +LINUX_SYSCALL_WRAPPER(sys_setfsgid); +LINUX_SYSCALL_WRAPPER(sys_setresuid); // man page says "non-standard" +LINUX_SYSCALL_WRAPPER(sys_getresuid); +LINUX_SYSCALL_WRAPPER(sys_setresgid); // man page says "non-standard" +LINUX_SYSCALL_WRAPPER(sys_getresgid); + +LINUX_SYSCALL_WRAPPER(sys_ioperm); +LINUX_SYSCALL_WRAPPER(sys_syslog); +LINUX_SYSCALL_WRAPPER(sys_vhangup); +LINUX_SYSCALL_WRAPPER(sys_sysinfo); +LINUX_SYSCALL_WRAPPER(sys_personality); +LINUX_SYSCALL_WRAPPER(sys_sysctl); +LINUX_SYSCALL_WRAPPER(sys_prctl); + +LINUX_SYSCALL_WRAPPER(sys_sendfile); +LINUX_SYSCALL_WRAPPER(sys_sendfile64); +LINUX_SYSCALL_WRAPPER(sys_futex); + +LINUX_SYSCALL_WRAPPER(sys_epoll_create); +LINUX_SYSCALL_WRAPPER(sys_epoll_ctl); +LINUX_SYSCALL_WRAPPER(sys_epoll_wait); + +LINUX_SYSCALL_WRAPPER(sys_gettid); +LINUX_SYSCALL_WRAPPER(sys_tkill); +LINUX_SYSCALL_WRAPPER(sys_tgkill); + +LINUX_SYSCALL_WRAPPER(sys_fadvise64); +LINUX_SYSCALL_WRAPPER(sys_fadvise64_64); + +LINUX_SYSCALL_WRAPPER(sys_io_setup); +LINUX_SYSCALL_WRAPPER(sys_io_destroy); +LINUX_SYSCALL_WRAPPER(sys_io_getevents); +LINUX_SYSCALL_WRAPPER(sys_io_submit); +LINUX_SYSCALL_WRAPPER(sys_io_cancel); + +#endif // __PRIV_SYSCALLS_LINUX_H + +/*--------------------------------------------------------------------*/ +/*--- end ---*/ +/*--------------------------------------------------------------------*/ Modified: trunk/coregrind/m_syscalls/priv_syscalls.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/m_syscalls/priv_syscalls.h 2005-05-17 04:00:11 UTC (r= ev 3754) +++ trunk/coregrind/m_syscalls/priv_syscalls.h 2005-05-17 04:20:31 UTC (r= ev 3755) @@ -32,8 +32,12 @@ =20 #include "pub_core_options.h" =20 -// This is ugly, but the alternatives (ie. doing it "properly" with -I o= ptions -// and directories and more Makefiles) are even worse. +#if defined(VGO_linux) +# include "priv_syscalls-linux.h" +#else +# error Unknown OS +#endif + #if defined(VGP_amd64_linux) # include "priv_syscalls-amd64-linux.h" #elif defined(VGP_arm_linux) |
|
From: <sv...@va...> - 2005-05-17 04:00:26
|
Author: njn
Date: 2005-05-17 05:00:11 +0100 (Tue, 17 May 2005)
New Revision: 3754
Modified:
trunk/include/pub_tool_errormgr.h
trunk/memcheck/mac_leakcheck.c
trunk/memcheck/mac_shared.c
trunk/memcheck/mac_shared.h
Log:
Undo the awful Leak Error type-abuse.
Modified: trunk/include/pub_tool_errormgr.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/include/pub_tool_errormgr.h 2005-05-17 03:22:38 UTC (rev 3753)
+++ trunk/include/pub_tool_errormgr.h 2005-05-17 04:00:11 UTC (rev 3754)
@@ -78,9 +78,9 @@
/* Similar to VG_(maybe_record_error)(), except this one doesn't record =
the
error -- useful for errors that can only happen once. The errors can=
be
suppressed, though. Return value is True if it was suppressed.
- `print_error' dictates whether to print the error, which is a bit of =
a
+ 'print_error' dictates whether to print the error, which is a bit of =
a
hack that's useful sometimes if you just want to know if the error wo=
uld
- be suppressed without possibly printing it. `count_error' dictates
+ be suppressed without possibly printing it. 'count_error' dictates
whether to add the error in the error total count (another mild hack)=
. */
extern Bool VG_(unique_error) ( ThreadId tid, ErrorKind ekind,
Addr a, Char* s, void* extra,
Modified: trunk/memcheck/mac_leakcheck.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/mac_leakcheck.c 2005-05-17 03:22:38 UTC (rev 3753)
+++ trunk/memcheck/mac_leakcheck.c 2005-05-17 04:00:11 UTC (rev 3754)
@@ -99,6 +99,12 @@
}
LossRecord;
=20
+/* The 'extra' struct for leak errors. */
+typedef struct {
+ UInt n_this_record;
+ UInt n_total_records;
+ LossRecord* lossRecord;
+} LeakExtra;
=20
/* Find the i such that ptr points at or inside the block described by
shadows[i]. Return -1 if none found. This assumes that shadows[]
@@ -178,7 +184,7 @@
static Bool (*lc_is_within_valid_secondary) (Addr addr);
static Bool (*lc_is_valid_aligned_word) (Addr addr);
=20
-static const Char *pp_lossmode(Reachedness lossmode)
+static const Char *str_lossmode(Reachedness lossmode)
{
const Char *loss =3D "?";
=20
@@ -194,10 +200,11 @@
=20
/* Used for printing leak errors, avoids exposing the LossRecord type (w=
hich
comes in as void*, requiring a cast. */
-void MAC_(pp_LeakError)(void* vl, UInt n_this_record, UInt n_total_recor=
ds)
+void MAC_(pp_LeakError)(void* vextra)
{
- LossRecord* l =3D (LossRecord*)vl;
- const Char *loss =3D pp_lossmode(l->loss_mode);
+ LeakExtra* extra =3D (LeakExtra*)vextra;
+ LossRecord* l =3D extra->lossRecord;
+ const Char *loss =3D str_lossmode(l->loss_mode);
=20
VG_(message)(Vg_UserMsg, "");
if (l->indirect_bytes) {
@@ -205,12 +212,12 @@
"%d (%d direct, %d indirect) bytes in %d blocks are %s in loss reco=
rd %d of %d",
l->total_bytes + l->indirect_bytes,=20
l->total_bytes, l->indirect_bytes, l->num_blocks,
- loss, n_this_record, n_total_records);
+ loss, extra->n_this_record, extra->n_total_records);
} else {
VG_(message)(Vg_UserMsg,=20
"%d bytes in %d blocks are %s in loss record %d of %d",
l->total_bytes, l->num_blocks,
- loss, n_this_record, n_total_records);
+ loss, extra->n_this_record, extra->n_total_records);
}
VG_(pp_ExeContext)(l->allocated_at);
}
@@ -409,6 +416,7 @@
LossRecord* errlist;
LossRecord* p;
Bool is_suppressed;
+ LeakExtra leak_extra;
=20
/* Go through and group lost structures into cliques. For each
Unreached block, push it onto the mark stack, and find all the
@@ -419,7 +427,7 @@
for (i =3D 0; i < lc_n_shadows; i++) {
if (VG_DEBUG_CLIQUE)
VG_(printf)("cliques: %d at %p -> %s\n",
- i, lc_shadows[i]->data, pp_lossmode(lc_markstack[i].state));
+ i, lc_shadows[i]->data, str_lossmode(lc_markstack[i].state));
if (lc_markstack[i].state !=3D Unreached)
continue;
=20
@@ -487,18 +495,23 @@
/* Ok to have tst=3D=3DNULL; it's only used if --gdb-attach=3Dyes=
, and
we disallow that when --leak-check=3Dyes. =20
=20
- Prints the error if not suppressed, unless it's reachable (Prop=
er or IndirectLeak)
- and --show-reachable=3Dno */
+ Prints the error if not suppressed, unless it's reachable (Prop=
er
+ or IndirectLeak) and --show-reachable=3Dno */
=20
print_record =3D ( MAC_(clo_show_reachable) ||=20
- Unreached =3D=3D p_min->loss_mode || Interior =3D=3D p_min->los=
s_mode );
+ Unreached =3D=3D p_min->loss_mode ||=20
+ Interior =3D=3D p_min->loss_mode );
+
+ // Nb: because VG_(unique_error) does all the error processing
+ // immediately, and doesn't save the error, leakExtra can be
+ // stack-allocated.
+ leak_extra.n_this_record =3D i+1;
+ leak_extra.n_total_records =3D n_lossrecords;
+ leak_extra.lossRecord =3D p_min;
is_suppressed =3D=20
- VG_(unique_error) ( tid, LeakErr, (UInt)i+1,
- /* HACK ALERT */
- ULong_to_Ptr((ULong)(UInt)n_lossrecords),=20
- /* end HACK ALERT */
- (void*) p_min,
- p_min->allocated_at, print_record,
+ VG_(unique_error) ( tid, LeakErr, /*Addr*/0, /*s*/NULL,
+ /*extra*/&leak_extra,=20
+ /*where*/p_min->allocated_at, print_record,
/*allow_GDB_attach*/False, /*count_error*/F=
alse );
=20
if (is_suppressed) {
Modified: trunk/memcheck/mac_shared.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/mac_shared.c 2005-05-17 03:22:38 UTC (rev 3753)
+++ trunk/memcheck/mac_shared.c 2005-05-17 04:00:11 UTC (rev 3754)
@@ -337,11 +337,7 @@
break;
}
case LeakErr: {
- /* Totally abusing the types of these spare fields... oh well. =
*/
- UInt n_this_record =3D (UWord)VG_(get_error_address)(err);
- UInt n_total_records =3D (UWord)VG_(get_error_string) (err);
-
- MAC_(pp_LeakError)(err_extra, n_this_record, n_total_records);
+ MAC_(pp_LeakError)(err_extra);
break;
}
=20
Modified: trunk/memcheck/mac_shared.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/memcheck/mac_shared.h 2005-05-17 03:22:38 UTC (rev 3753)
+++ trunk/memcheck/mac_shared.h 2005-05-17 04:00:11 UTC (rev 3754)
@@ -418,8 +418,7 @@
UWord* arg_block, UWor=
d* ret );
=20
/* For leak checking */
-extern void MAC_(pp_LeakError)(void* vl, UInt n_this_record,=20
- UInt n_total_records);=20
+extern void MAC_(pp_LeakError)(void* extra);
=20
extern void MAC_(print_malloc_stats) ( void );
=20
|
|
From: Nicholas N. <nj...@cs...> - 2005-05-17 03:23:55
|
SVN commit 414830 by nethercote:
Update website address.
MERGED FROM 3.0 REPOSITORY
M +1 -1 trunk/valgrind/README =20
M +1 -1 trunk/valgrind/README_MISSING_SYSCALL_OR_IOCTL =20
M +1 -1 trunk/valgrind/README_PACKAGERS =20
M +1 -1 trunk/valgrind/cachegrind/docs/cg_techdocs.html =20
M +1 -1 trunk/valgrind/coregrind/docs/coregrind_core.html =20
M +1 -1 trunk/valgrind/include/basic_types.h =20
M +1 -1 trunk/valgrind/memcheck/docs/mc_techdocs.html =20
M +1 -1 trunk/valgrind/none/tests/cmdline1.stdout.exp =20
M +1 -1 trunk/valgrind/none/tests/cmdline2.stdout.exp =20
--- trunk/valgrind/README #414829:414830
@@ -87,7 +87,7 @@
=20
6. See if it works. Try "valgrind --tool=3Dmemcheck ls -l". Either
this works, or it bombs out with some complaint. In that case,
- please let us know (see valgrind.kde.org/bugs.html).
+ please let us know (see www.valgrind.org).
=20
Important! Do not move the valgrind installation into a place
different from that specified by --prefix at build time. This will
--- trunk/valgrind/README_MISSING_SYSCALL_OR_IOCTL #414829:414830
@@ -166,5 +166,5 @@
more specific case to get the right behaviour.
=20
As above, please create a bug report and attach the patch as described
-on http://valgrind.kde.org/bugs.html
+on http://www.valgrind.org.
=20
--- trunk/valgrind/README_PACKAGERS #414829:414830
@@ -63,4 +63,4 @@
=20
=20
If you find any more hints/tips for packaging, please report
-it as a bugreport. See http://valgrind.kde.org/bugs.html for details.
+it as a bugreport. See http://www.valgrind.org for details.
--- trunk/valgrind/cachegrind/docs/cg_techdocs.html #414829:414830
@@ -33,7 +33,7 @@
<p>
<a href=3D"mailto:nj...@ca...">nj...@ca...</a><br>
<a
-href=3D"http://valgrind.kde.org">http://valgrind.kde.org</a><br>
+href=3D"http://www.valgrind.org">http://www.valgrind.org</a><br>
<p>
Copyright © 2001-2003 Nick Nethercote
<p>
--- trunk/valgrind/coregrind/docs/coregrind_core.html #414829:414830
@@ -1168,7 +1168,7 @@
=20
<a name=3D"problems"></a>
<h3>2.11 If you have problems</h3>
-Contact us at <a href=3D"http://valgrind.kde.org">valgrind.kde.org</a>.
+Contact us at <a href=3D"http://www.valgrind.org">www.valgrind.org</a>.
=20
<p>See <a href=3D"#limits">this section</a> for the known limitations of
Valgrind, and for a list of programs which are known not to work on
--- trunk/valgrind/include/basic_types.h #414829:414830
@@ -67,7 +67,7 @@
Where to send bug reports to.
------------------------------------------------------------------ */
=20
-#define VG_BUGS_TO "valgrind.kde.org"
+#define VG_BUGS_TO "www.valgrind.org"
=20
=20
#endif /* __BASIC_TYPES_H */
--- trunk/valgrind/memcheck/docs/mc_techdocs.html #414829:414830
@@ -33,7 +33,7 @@
These notes pertain to snapshot 20020306<br>
<p>
<a href=3D"mailto:js...@ac...">js...@ac...</a><br>
-<a href=3D"http://valgrind.kde.org">http://valgrind.kde.org</a><br>
+<a href=3D"http://www.valgrind.org">http://www.valgrind.org</a><br>
Copyright © 2000-2004 Julian Seward
<p>
Valgrind is licensed under the GNU General Public License,=20
--- trunk/valgrind/none/tests/cmdline1.stdout.exp #414829:414830
@@ -37,7 +37,7 @@
=20
Valgrind is Copyright (C) 2000-2005 Julian Seward et al.
and licensed under the GNU General Public License, version 2.
- Bug reports, feedback, admiration, abuse, etc, to: valgrind.kde.org.
+ Bug reports, feedback, admiration, abuse, etc, to: www.valgrind.org.
=20
Tools are copyright and licensed by their authors. See each
tool's start-up message for more information.
--- trunk/valgrind/none/tests/cmdline2.stdout.exp #414829:414830
@@ -59,7 +59,7 @@
=20
Valgrind is Copyright (C) 2000-2005 Julian Seward et al.
and licensed under the GNU General Public License, version 2.
- Bug reports, feedback, admiration, abuse, etc, to: valgrind.kde.org.
+ Bug reports, feedback, admiration, abuse, etc, to: www.valgrind.org.
=20
Tools are copyright and licensed by their authors. See each
tool's start-up message for more information.
|
|
From: <sv...@va...> - 2005-05-17 03:22:42
|
Author: njn
Date: 2005-05-17 04:22:38 +0100 (Tue, 17 May 2005)
New Revision: 3753
Modified:
trunk/README
trunk/README_MISSING_SYSCALL_OR_IOCTL
trunk/README_PACKAGERS
trunk/include/basic_types.h
trunk/none/tests/cmdline1.stdout.exp
trunk/none/tests/cmdline2.stdout.exp
Log:
Update website address.
MERGE TO 2.4 REPOSITORY
Modified: trunk/README
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/README 2005-05-17 02:20:35 UTC (rev 3752)
+++ trunk/README 2005-05-17 03:22:38 UTC (rev 3753)
@@ -87,7 +87,7 @@
=20
6. See if it works. Try "valgrind --tool=3Dmemcheck ls -l". Either
this works, or it bombs out with some complaint. In that case,
- please let us know (see valgrind.kde.org/bugs.html).
+ please let us know (see www.valgrind.org).
=20
Important! Do not move the valgrind installation into a place
different from that specified by --prefix at build time. This will
Modified: trunk/README_MISSING_SYSCALL_OR_IOCTL
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/README_MISSING_SYSCALL_OR_IOCTL 2005-05-17 02:20:35 UTC (rev 37=
52)
+++ trunk/README_MISSING_SYSCALL_OR_IOCTL 2005-05-17 03:22:38 UTC (rev 37=
53)
@@ -166,5 +166,5 @@
more specific case to get the right behaviour.
=20
As above, please create a bug report and attach the patch as described
-on http://valgrind.kde.org/bugs.html
+on http://www.valgrind.org.
=20
Modified: trunk/README_PACKAGERS
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/README_PACKAGERS 2005-05-17 02:20:35 UTC (rev 3752)
+++ trunk/README_PACKAGERS 2005-05-17 03:22:38 UTC (rev 3753)
@@ -63,4 +63,4 @@
=20
=20
If you find any more hints/tips for packaging, please report
-it as a bugreport. See http://valgrind.kde.org/bugs.html for details.
+it as a bugreport. See http://www.valgrind.org for details.
Modified: trunk/include/basic_types.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/include/basic_types.h 2005-05-17 02:20:35 UTC (rev 3752)
+++ trunk/include/basic_types.h 2005-05-17 03:22:38 UTC (rev 3753)
@@ -75,7 +75,7 @@
Where to send bug reports to.
------------------------------------------------------------------ */
=20
-#define VG_BUGS_TO "valgrind.kde.org"
+#define VG_BUGS_TO "www.valgrind.org"
=20
=20
#endif /* __BASIC_TYPES_H */
Modified: trunk/none/tests/cmdline1.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/none/tests/cmdline1.stdout.exp 2005-05-17 02:20:35 UTC (rev 375=
2)
+++ trunk/none/tests/cmdline1.stdout.exp 2005-05-17 03:22:38 UTC (rev 375=
3)
@@ -42,7 +42,7 @@
=20
Valgrind is Copyright (C) 2000-2005 Julian Seward et al.
and licensed under the GNU General Public License, version 2.
- Bug reports, feedback, admiration, abuse, etc, to: valgrind.kde.org.
+ Bug reports, feedback, admiration, abuse, etc, to: www.valgrind.org.
=20
Tools are copyright and licensed by their authors. See each
tool's start-up message for more information.
Modified: trunk/none/tests/cmdline2.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/none/tests/cmdline2.stdout.exp 2005-05-17 02:20:35 UTC (rev 375=
2)
+++ trunk/none/tests/cmdline2.stdout.exp 2005-05-17 03:22:38 UTC (rev 375=
3)
@@ -83,7 +83,7 @@
=20
Valgrind is Copyright (C) 2000-2005 Julian Seward et al.
and licensed under the GNU General Public License, version 2.
- Bug reports, feedback, admiration, abuse, etc, to: valgrind.kde.org.
+ Bug reports, feedback, admiration, abuse, etc, to: www.valgrind.org.
=20
Tools are copyright and licensed by their authors. See each
tool's start-up message for more information.
|
|
From: <sv...@va...> - 2005-05-17 03:13:11
|
Author: tom
Date: 2005-05-16 08:31:57 +0100 (Mon, 16 May 2005)
New Revision: 3736
Modified:
trunk/coregrind/vg_symtab2.c
Log:
Fill in the amd64 case for regaddr_from_tst.
Modified: trunk/coregrind/vg_symtab2.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/vg_symtab2.c 2005-05-16 07:31:05 UTC (rev 3735)
+++ trunk/coregrind/vg_symtab2.c 2005-05-16 07:31:57 UTC (rev 3736)
@@ -2270,7 +2270,28 @@
default: return 0;
}
#elif defined(VGA_amd64)
-# error AMD64 not done yet
+/* This is the Intel register encoding -- integer regs. */
+# define R_STACK_PTR 7
+# define R_FRAME_PTR 6
+ switch (regno) {
+ case 0: return (Addr) & arch->vex.guest_RAX;
+ case 1: return (Addr) & arch->vex.guest_RDX;
+ case 2: return (Addr) & arch->vex.guest_RCX;
+ case 3: return (Addr) & arch->vex.guest_RBX;
+ case 4: return (Addr) & arch->vex.guest_RSI;
+ case 5: return (Addr) & arch->vex.guest_RDI;
+ case R_FRAME_PTR: return (Addr) & arch->vex.guest_RBP;
+ case R_STACK_PTR: return (Addr) & arch->vex.guest_RSP;
+ case 8: return (Addr) & arch->vex.guest_R8;
+ case 9: return (Addr) & arch->vex.guest_R9;
+ case 10: return (Addr) & arch->vex.guest_R10;
+ case 11: return (Addr) & arch->vex.guest_R11;
+ case 12: return (Addr) & arch->vex.guest_R12;
+ case 13: return (Addr) & arch->vex.guest_R13;
+ case 14: return (Addr) & arch->vex.guest_R14;
+ case 15: return (Addr) & arch->vex.guest_R15;
+ default: return 0;
+ }
#else
# error Unknown platform
#endif
|
|
From: Tom H. <th...@cy...> - 2005-05-17 03:04:06
|
Nightly build on audi ( i686, Red Hat 9 ) started at 2005-05-17 03:25:01 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 == 174 tests, 3 stderr failures, 1 stdout failure ================= corecheck/tests/fdleak_cmsg (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) none/tests/yield (stdout) |
|
From: <js...@ac...> - 2005-05-17 03:02:34
|
Nightly build on phoenix ( SuSE 9.1 ) started at 2005-05-17 03:50:00 BST Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow insn_mmx: valgrind ./insn_mmx insn_mmxext: (skipping, prereq failed: ../../../tests/cputest x86-mmxext) insn_sse: valgrind ./insn_sse insn_sse2: (skipping, prereq failed: ../../../tests/cputest x86-sse2) int: valgrind ./int pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 201 tests, 5 stderr failures, 0 stdout failures ================= memcheck/tests/pth_once (stderr) memcheck/tests/scalar (stderr) memcheck/tests/threadederrno (stderr) memcheck/tests/writev (stderr) corecheck/tests/fdleak_fcntl (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <to...@co...> - 2005-05-17 02:36:00
|
Nightly build on dunsmere ( athlon, Fedora Core 3 ) started at 2005-05-17 03:30:03 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 175 tests, 13 stderr failures, 1 stdout failure ================= memcheck/tests/execve (stderr) memcheck/tests/execve2 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) corecheck/tests/fdleak_cmsg (stderr) corecheck/tests/fdleak_creat (stderr) corecheck/tests/fdleak_dup (stderr) corecheck/tests/fdleak_dup2 (stderr) corecheck/tests/fdleak_fcntl (stderr) corecheck/tests/fdleak_open (stderr) none/tests/faultstatus (stderr) none/tests/selfrun (stdout) none/tests/selfrun (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <to...@co...> - 2005-05-17 02:26:26
|
Nightly build on dunsmere ( Fedora Core 3 ) started at 2005-05-17 03:20:04 BST Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow insn_mmx: valgrind ./insn_mmx insn_mmxext: valgrind ./insn_mmxext insn_sse: valgrind ./insn_sse insn_sse2: (skipping, prereq failed: ../../../tests/cputest x86-sse2) int: valgrind ./int sh: line 1: 15296 Segmentation fault VALGRINDLIB=/tmp/valgrind.22022/valgrind/.in_place /tmp/valgrind.22022/valgrind/./coregrind/valgrind --command-line-only=yes --memcheck:leak-check=no --addrcheck:leak-check=no --tool=none ./int >int.stdout.out 2>int.stderr.out pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 207 tests, 4 stderr failures, 0 stdout failures ================= memcheck/tests/execve (stderr) memcheck/tests/execve2 (stderr) memcheck/tests/scalar (stderr) memcheck/tests/scalar_supp (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2005-05-17 02:25:38
|
Nightly build on ginetta ( i686, Red Hat 8.0 ) started at 2005-05-17 03:20: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 == 173 tests, 3 stderr failures, 0 stdout failures ================= corecheck/tests/fdleak_cmsg (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-05-17 02:23:02
|
Nightly build on audi ( Red Hat 9 ) started at 2005-05-17 03:15:02 BST Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow fpu_lazy_eflags: valgrind ./fpu_lazy_eflags insn_basic: valgrind ./insn_basic insn_cmov: valgrind ./insn_cmov insn_fpu: valgrind ./insn_fpu insn_mmx: valgrind ./insn_mmx insn_mmxext: valgrind ./insn_mmxext insn_sse: valgrind ./insn_sse insn_sse2: (skipping, prereq failed: ../../../tests/cputest x86-sse2) int: valgrind ./int pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 206 tests, 1 stderr failure, 0 stdout failures ================= memcheck/tests/scalar (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2005-05-17 02:21:36
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2005-05-17 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 == 173 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/vgtest_ume (stderr) corecheck/tests/fdleak_cmsg (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) none/tests/yield (stdout) |
|
From: <sv...@va...> - 2005-05-17 02:20:40
|
Author: sewardj Date: 2005-05-17 03:20:35 +0100 (Tue, 17 May 2005) New Revision: 3752 Modified: trunk/coregrind/m_hashtable.c Log: A 4999 entry hashtable is too small when there are a huge number (500k ish) of blocks simultaneously live, and the client is doing intensive malloc/frees. Increase the table size 16-fold. Modified: trunk/coregrind/m_hashtable.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_hashtable.c 2005-05-16 23:31:24 UTC (rev 3751) +++ trunk/coregrind/m_hashtable.c 2005-05-17 02:20:35 UTC (rev 3752) @@ -37,7 +37,7 @@ =20 /* Holds malloc'd but not freed blocks. Static, so zero-inited by defau= lt. */ =20 -#define VG_N_CHAINS 4999 /* a prime number */ +#define VG_N_CHAINS 80021 /*4999*/ /* a prime number */ =20 #define VG_CHAIN_NO(aa) (((UWord)(aa)) % VG_N_CHAINS) =20 |
|
From: Tom H. <th...@cy...> - 2005-05-17 02:20:23
|
Nightly build on dellow ( x86_64, Fedora Core 3 ) started at 2005-05-17 03:10:03 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 == 154 tests, 17 stderr failures, 2 stdout failures ================= memcheck/tests/brk (stderr) memcheck/tests/error_counts (stdout) memcheck/tests/sigaltstack (stderr) memcheck/tests/sigprocmask (stderr) memcheck/tests/toobig-allocs (stderr) memcheck/tests/weirdioctl (stderr) corecheck/tests/fdleak_cmsg (stderr) corecheck/tests/fdleak_creat (stderr) corecheck/tests/fdleak_dup (stderr) corecheck/tests/fdleak_dup2 (stderr) corecheck/tests/fdleak_fcntl (stderr) corecheck/tests/fdleak_ipv4 (stderr) corecheck/tests/fdleak_open (stderr) corecheck/tests/fdleak_pipe (stderr) corecheck/tests/fdleak_socketpair (stderr) massif/tests/toobig-allocs (stderr) none/tests/faultstatus (stderr) none/tests/selfrun (stdout) none/tests/selfrun (stderr) |