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
(32) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(32) |
2
(22) |
3
(47) |
4
(29) |
5
(18) |
6
(16) |
|
7
(21) |
8
(29) |
9
(23) |
10
(68) |
11
(20) |
12
(17) |
13
(17) |
|
14
(27) |
15
(26) |
16
(21) |
17
(13) |
18
(19) |
19
(29) |
20
(13) |
|
21
(9) |
22
(8) |
23
(29) |
24
(56) |
25
(21) |
26
(46) |
27
(33) |
|
28
(25) |
29
(41) |
30
(35) |
31
(28) |
|
|
|
|
From: <sv...@va...> - 2005-08-29 13:44:49
|
Author: sewardj Date: 2005-08-29 14:44:43 +0100 (Mon, 29 Aug 2005) New Revision: 4569 Log: mark 3.0.1RC1 Modified: trunk/NEWS Modified: trunk/NEWS =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/NEWS 2005-08-29 13:44:08 UTC (rev 4568) +++ trunk/NEWS 2005-08-29 13:44:43 UTC (rev 4569) @@ -51,7 +51,12 @@ 111555 VEX/Makefile: CC is set to gcc n-i-bz Fix XML bugs in FAQ =20 =20 +(3.0.1RC1: 29 August 05,=20 + vex/branches/VEX_3_0_BRANCH r1367,=20 + valgrind/branches/VALGRIND_3_0_BRANCH r4570). =20 + + Release 3.0.0 (3 August 2005) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3.0.0 is a major overhaul of Valgrind. The most significant user |
|
From: <sv...@va...> - 2005-08-29 13:44:10
|
Author: sewardj Date: 2005-08-29 14:44:08 +0100 (Mon, 29 Aug 2005) New Revision: 4568 Log: --> 3.0.1RC1 testing point Modified: branches/VALGRIND_3_0_BRANCH/configure.in Modified: branches/VALGRIND_3_0_BRANCH/configure.in =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/VALGRIND_3_0_BRANCH/configure.in 2005-08-29 13:39:34 UTC (re= v 4567) +++ branches/VALGRIND_3_0_BRANCH/configure.in 2005-08-29 13:44:08 UTC (re= v 4568) @@ -1,5 +1,5 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(Valgrind, 3.0.1.SVN, val...@li...) +AC_INIT(Valgrind, 3.0.1RC1, val...@li...) AC_CONFIG_SRCDIR(coregrind/m_main.c) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE |
|
From: <sv...@va...> - 2005-08-29 13:39:37
|
Author: sewardj Date: 2005-08-29 14:39:34 +0100 (Mon, 29 Aug 2005) New Revision: 4567 Log: Doc versions -> 3.0.1 Modified: branches/VALGRIND_3_0_BRANCH/docs/xml/vg-entities.xml Modified: branches/VALGRIND_3_0_BRANCH/docs/xml/vg-entities.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/VALGRIND_3_0_BRANCH/docs/xml/vg-entities.xml 2005-08-29 13:2= 4:51 UTC (rev 4566) +++ branches/VALGRIND_3_0_BRANCH/docs/xml/vg-entities.xml 2005-08-29 13:3= 9:34 UTC (rev 4567) @@ -7,6 +7,6 @@ =20 <!-- valgrind release + version stuff --> <!ENTITY rel-type "Release"> -<!ENTITY rel-version "3.0.0"> -<!ENTITY rel-date "August 3 2005"> +<!ENTITY rel-version "3.0.1"> +<!ENTITY rel-date "August 29 2005"> =20 |
|
From: <sv...@va...> - 2005-08-29 13:24:52
|
Author: sewardj Date: 2005-08-29 14:24:51 +0100 (Mon, 29 Aug 2005) New Revision: 4566 Log: Update for 3.0.1. Modified: trunk/NEWS Modified: trunk/NEWS =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/NEWS 2005-08-29 13:22:33 UTC (rev 4565) +++ trunk/NEWS 2005-08-29 13:24:51 UTC (rev 4566) @@ -1,4 +1,57 @@ =20 +Release 3.0.1 (29 August 2005) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +3.0.1 fixes a bunch of bugs reported in 3.0.0. There is no new +functionality. Some of the fixed bugs are critical, so if you +use/distribute 3.0.0, and upgrade to 3.0.1 is recommended. The fixed +bugs are: + +(note: "n-i-bz" means "not in bugzilla" -- this bug does not have + a bugzilla entry). + +109313 (=3D=3D 110505) x86 cmpxchg8b +n-i-bz x86: track but ignore changes to %eflags.AC (alignment check) +110102 dis_op2_E_G(amd64) +110202 x86 sys_waitpid(#286) +110203 clock_getres(,0) +110208 execve fail wrong retval +110274 SSE1 now mandatory for x86 +110388 amd64 0xDD 0xD1 +110464 amd64 0xDC 0x1D FCOMP +110478 amd64 0xF 0xD PREFETCH +n-i-bz XML <unique> printing wrong +n-i-bz Dirk r4359 (amd64 syscalls from trunk) +110591 amd64 and x86: rdtsc not implemented properly +n-i-bz Nick r4384 (stub implementations of Addrcheck and Helgrind) +110652 AMD64 valgrind crashes on cwtd instruction +110653 AMD64 valgrind crashes on sarb $0x4,foo(%rip) instruction +110656 PATH=3D/usr/bin::/bin valgrind foobar stats ./fooba +110657 Small test fixes +110671 vex x86->IR: unhandled instruction bytes: 0xF3 0xC3 (rep ret) +n-i-bz Nick (Cachegrind should not assert when it encounters a client + request.) +110685 amd64->IR: unhandled instruction bytes: 0xE1 0x56 (loope Jb) +110830 configuring with --host fails to build 32 bit on 64 bit target +110875 Assertion when execve fails +n-i-bz Updates to Memcheck manual +n-i-bz Fixed broken malloc_usable_size() +110898 opteron instructions missing: btq btsq btrq bsfq +110954 x86->IR: unhandled instruction bytes: 0xE2 0xF6 (loop Jb) +n-i-bz Make suppressions work for "???" lines in stacktraces. +111006 bogus warnings from linuxthreads +111092 x86: dis_Grp2(Reg): unhandled case(x86)=20 +111231 sctp_getladdrs() and sctp_getpaddrs() returns uninitialized + memory +111102 (comment #4) Fixed 64-bit unclean "silly arg" message +n-i-bz vex x86->IR: unhandled instruction bytes: 0x14 0x0 +n-i-bz minor umount/fcntl wrapper fixes +111090 Internal Error running Massif +101204 noisy warning +111513 Illegal opcode for SSE instruction (x86 movups) +111555 VEX/Makefile: CC is set to gcc +n-i-bz Fix XML bugs in FAQ =20 + + Release 3.0.0 (3 August 2005) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3.0.0 is a major overhaul of Valgrind. The most significant user |
|
From: Nicholas N. <nj...@cs...> - 2005-08-29 13:22:48
|
On Wed, 24 Aug 2005, Greg Parker wrote: I examined Valgrind's generic syscall wrappers and compared them to Darwin / Mac OS X's syscall list. > # The following groups of syscalls are mostly not generic > # and should be handled en masse: > *16 > *xattr > clock_* > mq_* > msg* > rt_sig* > sched_* > sig* > timer_* I've moved *16, clock_*, mq_* and timer_* so far. > # Unused and not generic - possibly keep in syswrap-generic.c > fcntl64 (flags are different) Should this be in the "Not generic" category below? > msgctl (no vki_msgbuf) > msgrcv (no vki_msgbuf) > msgsnd (no vki_msgbuf) I haven't done these ones yet because they're odd... on AMD64/Linux they're separate syscalls, on x86/Linux they're part of the super "socketcall" syscall. Looking more closely, they should be moved. > sched_getparam (no vki_sched_param) > sched_setparam (no vki_sched_param) > sched_setscheduler (no vki_sched_param) > utime (no vki_utimbuf) I think these, as well as the sched_* ones that don't cause compile failures, are POSIX? Perhaps they should just go in the Linux-specific part for now, and we can create a syswrap-posix.c file later if necessary. > # Not generic - probably move to OS-specific files > fgetxattr (darwin has another parameter) > flistxattr (darwin has another parameter) > fremovexattr (darwin has another parameter) > fsetxattr (darwin has another parameter) > getxattr (darwin has another parameter) > kill (darwin has another parameter) > listxattr (darwin has another parameter) > lseek (darwin's off_t is 64 bits even on 32-bit archs) > mmap (darwin's off_t is 64 bits even on 32-bit archs) > munlockall (darwin has another parameter) > pipe (darwin has different parameters and return value) > quotactl (darwin has different parameters) > removexattr (darwin has another parameter) > setxattr (darwin has another parameter) > sigpending (darwin only has one sigset_t type > sigprocmask (darwin only has one sigset_t type) > waitid (darwin has different parameters) I haven't moved these yet, but I guess I will. |
|
From: <sv...@va...> - 2005-08-29 13:22:34
|
Author: sewardj
Date: 2005-08-29 14:22:33 +0100 (Mon, 29 Aug 2005)
New Revision: 4565
Log:
Update (hopefully this is the final change for 3.0.1)
Modified:
trunk/docs/internals/3_0_BUGSTATUS.txt
Modified: trunk/docs/internals/3_0_BUGSTATUS.txt
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/docs/internals/3_0_BUGSTATUS.txt 2005-08-29 13:21:19 UTC (rev 4=
564)
+++ trunk/docs/internals/3_0_BUGSTATUS.txt 2005-08-29 13:22:33 UTC (rev 4=
565)
@@ -400,7 +400,7 @@
memory
=20
FIXED-TRUNK: 4549
-FIXED-30BRANCH: TODO
+FIXED-30BRANCH: 4563
=20
----------------------------------------------------------------
=20
@@ -422,7 +422,7 @@
not-in-bugzilla minor umount/fcntl wrapper fixes
=20
FIXED-TRUNK: 4487
-FIXED-30BRANCH: TODO
+FIXED-30BRANCH: 4562
=20
----------------------------------------------------------------
=20
@@ -436,19 +436,27 @@
101204 noisy warning
=20
FIXED-TRUNK: 4511
-FIXED-30BRANCH: TODO
+FIXED-30BRANCH: 4561
=20
----------------------------------------------------------------
=20
+111513 Illegal opcode for SSE instruction (x86 movups)
+NB. Bug reporter did not yet verify that the fix works.
+
+FIXED-TRUNK: 1362
+FIXED-30BRANCH: 1367
+
+----------------------------------------------------------------
+
111555 VEX/Makefile: CC is set to gcc
=20
-FIXED-TRUNK: TODO
-FIXED-30BRANCH: TODO
+FIXED-TRUNK: 1364, 4559
+FIXED-30BRANCH: 1365, 4560
=20
----------------------------------------------------------------
=20
not-in-bugzilla Fix XML bugs in FAQ =20
=20
FIXED-TRUNK: 4528
-FIXED-30BRANCH: TODO
+FIXED-30BRANCH: 4564
=20
|
|
From: <sv...@va...> - 2005-08-29 13:21:23
|
Author: sewardj
Date: 2005-08-29 14:21:19 +0100 (Mon, 29 Aug 2005)
New Revision: 4564
Log:
Merge r4528 (Fix XML bugs in the FAQ.)
Modified:
branches/VALGRIND_3_0_BRANCH/docs/xml/FAQ.xml
Modified: branches/VALGRIND_3_0_BRANCH/docs/xml/FAQ.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/VALGRIND_3_0_BRANCH/docs/xml/FAQ.xml 2005-08-29 12:55:36 UTC=
(rev 4563)
+++ branches/VALGRIND_3_0_BRANCH/docs/xml/FAQ.xml 2005-08-29 13:21:19 UTC=
(rev 4564)
@@ -102,9 +102,7 @@
<qandaentry id=3D"faq.exit_errors">
<question>
<para>Programs run OK on Valgrind, but at exit produce a bunch
- of errors a bit like this:</para>
- </question>
- <answer><para>
+ of errors a bit like this:
<programlisting>
=3D=3D20755=3D=3D Invalid read of size 4
=3D=3D20755=3D=3D at 0x40281C8A: _nl_unload_locale (loadlocale.c:238)
@@ -119,6 +117,8 @@
</programlisting>
=20
and then die with a segmentation fault.</para>
+ </question>
+ <answer>
<para>When the program exits, Valgrind runs the procedure
<literal>__libc_freeres()</literal> in glibc. This is a hook
for memory debuggers, so they can ask glibc to free up any
@@ -138,12 +138,12 @@
<qandaentry id=3D"faq.bugdeath">
<question>
<para>My (buggy) program dies like this:</para>
- </question>
- <answer>
<screen>
% valgrind: vg_malloc2.c:442 (bszW_to_pszW): Assertion 'pszW >=3D 0' fai=
led.
</screen>
=20
+ </question>
+ <answer>
<para>If Memcheck (the memory checker) shows any invalid reads,
invalid writes and invalid frees in your program, the above may
happen. Reason is that your program may trash Valgrind's
@@ -158,12 +158,12 @@
<question>
<para>My program dies, printing a message like this along the
way:</para>
- </question>
- <answer>
<screen>
% disInstr: unhandled instruction bytes: 0x66 0xF 0x2E 0x5
</screen>
=20
+ </question>
+ <answer>
<para>Older versions did not support some x86 instructions,
particularly SSE/SSE2 instructions. Try a newer Valgrind; we
now support almost all instructions. If it still happens with
@@ -422,8 +422,6 @@
<qandaentry id=3D"faq.overruns">
<question>
<para>Why doesn't Memcheck find the array overruns in this program?</p=
ara>
- </question>
- <answer>
<programlisting>
int static[5];
=20
@@ -437,6 +435,8 @@
return 0;
}
</programlisting>
+ </question>
+ <answer>
<para>Unfortunately, Memcheck doesn't do bounds checking on
static or stack arrays. We'd like to, but it's just not
possible to do in a reasonable way that fits with how Memcheck
|
|
From: <sv...@va...> - 2005-08-29 13:06:35
|
Author: sewardj
Date: 2005-08-29 14:06:32 +0100 (Mon, 29 Aug 2005)
New Revision: 1367
Log:
Merge r1362 (Implement MOVUPS -- move from G (xmm) to E (mem or xmm))
Modified:
branches/VEX_3_0_BRANCH/priv/guest-x86/toIR.c
Modified: branches/VEX_3_0_BRANCH/priv/guest-x86/toIR.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/VEX_3_0_BRANCH/priv/guest-x86/toIR.c 2005-08-29 13:03:15 UTC=
(rev 1366)
+++ branches/VEX_3_0_BRANCH/priv/guest-x86/toIR.c 2005-08-29 13:06:32 UTC=
(rev 1367)
@@ -7490,15 +7490,17 @@
}
=20
/* 0F 29 =3D MOVAPS -- move from G (xmm) to E (mem or xmm). */
- if (sz =3D=3D 4 && insn[0] =3D=3D 0x0F && insn[1] =3D=3D 0x29) {
+ /* 0F 11 =3D MOVUPS -- move from G (xmm) to E (mem or xmm). */
+ if (sz =3D=3D 4 && insn[0] =3D=3D 0x0F=20
+ && (insn[1] =3D=3D 0x29 || insn[1] =3D=3D 0x11)) {
modrm =3D getIByte(delta+2);
if (epartIsReg(modrm)) {
/* fall through; awaiting test case */
} else {
addr =3D disAMode ( &alen, sorb, delta+2, dis_buf );
storeLE( mkexpr(addr), getXMMReg(gregOfRM(modrm)) );
- DIP("movaps %s,%s\n", nameXMMReg(gregOfRM(modrm)),
- dis_buf );
+ DIP("mov[ua]ps %s,%s\n", nameXMMReg(gregOfRM(modrm)),
+ dis_buf );
delta +=3D 2+alen;
goto decode_success;
}
|
|
From: <sv...@va...> - 2005-08-29 13:03:17
|
Author: sewardj
Date: 2005-08-29 14:03:15 +0100 (Mon, 29 Aug 2005)
New Revision: 1366
Log:
Merge r1361 (vex_printf/sprintf hackery.)
Modified:
branches/VEX_3_0_BRANCH/priv/main/vex_util.c
branches/VEX_3_0_BRANCH/priv/main/vex_util.h
Modified: branches/VEX_3_0_BRANCH/priv/main/vex_util.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/VEX_3_0_BRANCH/priv/main/vex_util.c 2005-08-29 12:35:57 UTC =
(rev 1365)
+++ branches/VEX_3_0_BRANCH/priv/main/vex_util.c 2005-08-29 13:03:15 UTC =
(rev 1366)
@@ -179,26 +179,6 @@
New code for vex_util.c should go above this point. */
#include <stdarg.h>
=20
-/* ---------------------------------------------------------------------
- printf implementation. The key function, vg_vprintf(), emits chars=20
- into a caller-supplied function. Distantly derived from:
-
- vprintf replacement for Checker.
- Copyright 1993, 1994, 1995 Tristan Gingold
- Written September 1993 Tristan Gingold
- Tristan Gingold, 8 rue Parmentier, F-91120 PALAISEAU, FRANCE
-
- (Checker itself was GPL'd.)
- ------------------------------------------------------------------ */
-
-static HChar vex_toupper ( HChar c )
-{
- if (c >=3D 'a' && c <=3D 'z')
- return toHChar(c + ('A' - 'a'));
- else
- return c;
-}
-
static Int vex_strlen ( const HChar* str )
{
Int i =3D 0;
@@ -218,252 +198,211 @@
}
}
=20
-/* Some flags. */
-#define VG_MSG_SIGNED 1 /* The value is signed. */
-#define VG_MSG_ZJUSTIFY 2 /* Must justify with '0'. */
-#define VG_MSG_LJUSTIFY 4 /* Must justify on the left. */
-#define VG_MSG_PAREN 8 /* Parenthesize if present (for %y) */
-#define VG_MSG_COMMA 16 /* Add commas to numbers (for %d, %u) */
=20
-/* Copy a string into the buffer. */
-static UInt
-myvprintf_str ( void(*send)(HChar), Int flags, Int width, HChar* str,=20
- Bool capitalise )
+/* Convert N0 into ascii in BUF, which is assumed to be big enough (at
+ least 67 bytes long). Observe BASE, SYNED and HEXCAPS. */
+static
+void convert_int ( /*OUT*/HChar* buf, Long n0,=20
+ Int base, Bool syned, Bool hexcaps )
{
-# define MAYBE_TOUPPER(ch) toHChar(capitalise ? vex_toupper(ch) : (ch))
- UInt ret =3D 0;
- Int i, extra;
- Int len =3D vex_strlen(str);
+ ULong u0;
+ HChar c;
+ Bool minus =3D False;
+ Int i, j, bufi =3D 0;
+ buf[bufi] =3D 0;
=20
- if (width =3D=3D 0) {
- ret +=3D len;
- for (i =3D 0; i < len; i++)
- send(MAYBE_TOUPPER(str[i]));
- return ret;
+ if (syned) {
+ if (n0 < 0) {
+ minus =3D True;
+ u0 =3D (ULong)(-n0);
+ } else {
+ u0 =3D (ULong)(n0);
+ }
+ } else {
+ u0 =3D (ULong)n0;
}
=20
- if (len > width) {
- ret +=3D width;
- for (i =3D 0; i < width; i++)
- send(MAYBE_TOUPPER(str[i]));
- return ret;
+ while (1) {
+ buf[bufi++] =3D '0' + (HChar)(u0 % base);
+ u0 /=3D base;
+ if (u0 =3D=3D 0) break;
}
+ if (minus)
+ buf[bufi++] =3D '-';
=20
- extra =3D width - len;
- if (flags & VG_MSG_LJUSTIFY) {
- ret +=3D extra;
- for (i =3D 0; i < extra; i++)
- send(' ');
- }
- ret +=3D len;
- for (i =3D 0; i < len; i++)
- send(MAYBE_TOUPPER(str[i]));
- if (!(flags & VG_MSG_LJUSTIFY)) {
- ret +=3D extra;
- for (i =3D 0; i < extra; i++)
- send(' ');
- }
+ buf[bufi] =3D 0;
+ for (i =3D 0; i < bufi; i++)
+ if (buf[i] > '9')=20
+ buf[i] +=3D ((hexcaps ? 'A' : 'a') - '9' - 1);
=20
-# undef MAYBE_TOUPPER
-
- return ret;
+ i =3D 0;
+ j =3D bufi-1;
+ while (i <=3D j) {
+ c =3D buf[i];
+ buf[i] =3D buf[j];
+ buf[j] =3D c;
+ i++;
+ j--;
+ }
}
=20
-/* Write P into the buffer according to these args:
- * If SIGN is true, p is a signed.
- * BASE is the base.
- * If WITH_ZERO is true, '0' must be added.
- * WIDTH is the width of the field.
- */
-static UInt
-myvprintf_int64 ( void(*send)(HChar), Int flags, Int base, Int width, UL=
ong p)
+
+/* A half-arsed and buggy, but good-enough, implementation of
+ printf. */
+static
+UInt vprintf_wrk ( void(*sink)(HChar),
+ HChar* format,
+ va_list ap )
{
- HChar buf[40];
- Int ind =3D 0;
- Int i, nc =3D 0;
- Bool neg =3D False;
- HChar *digits =3D "0123456789ABCDEF";
- UInt ret =3D 0;
+# define PUT(_ch) \
+ do { sink(_ch); nout++; } \
+ while (0)
=20
- if (base < 2 || base > 16)
- return ret;
-=20
- if ((flags & VG_MSG_SIGNED) && (Long)p < 0) {
- p =3D - (Long)p;
- neg =3D True;
- }
+# define PAD(_n) \
+ do { Int _qq =3D (_n); for (; _qq > 0; _qq--) PUT(padchar); } \
+ while (0)
=20
- if (p =3D=3D 0)
- buf[ind++] =3D '0';
- else {
- while (p > 0) {
- if ((flags & VG_MSG_COMMA) && 10 =3D=3D base &&
- 0 =3D=3D (ind-nc) % 3 && 0 !=3D ind)=20
- {
- buf[ind++] =3D ',';
- nc++;
- }
- buf[ind++] =3D digits[p % base];
- p /=3D base;
- }
- }
+# define PUTSTR(_str) \
+ do { HChar* _qq =3D _str; for (; *_qq; _qq++) PUT(*_qq); } \
+ while (0)
=20
- if (neg)
- buf[ind++] =3D '-';
+ HChar* saved_format;
+ Bool longlong, ljustify;
+ HChar padchar;
+ Int fwidth, nout, len1, len2, len3;
+ HChar intbuf[100]; /* big enough for a 64-bit # in base 2 */
=20
- if (width > 0 && !(flags & VG_MSG_LJUSTIFY)) {
- for(; ind < width; ind++) {
- vassert(ind < 39);
- buf[ind] =3D toHChar((flags & VG_MSG_ZJUSTIFY) ? '0': ' ');
- }
- }
+ nout =3D 0;
+ while (1) {
=20
- /* Reverse copy to buffer. */
- ret +=3D ind;
- for (i =3D ind -1; i >=3D 0; i--) {
- send(buf[i]);
- }
- if (width > 0 && (flags & VG_MSG_LJUSTIFY)) {
- for(; ind < width; ind++) {
- ret++;
- send(' '); // Never pad with zeroes on RHS -- changes the valu=
e!
+ if (!format)
+ break;
+ if (*format =3D=3D 0)=20
+ break;
+
+ if (*format !=3D '%') {
+ PUT(*format);=20
+ format++;
+ continue;
}
- }
- return ret;
-}
=20
+ saved_format =3D format;
+ longlong =3D False;
+ ljustify =3D False;
+ padchar =3D ' ';
+ fwidth =3D 0;
+ format++;
=20
-/* A simple vprintf(). */
-static=20
-UInt vprintf_wrk ( void(*send)(HChar), const HChar *format, va_list varg=
s )
-{
- UInt ret =3D 0;
- int i;
- int flags;
- int width;
- Bool is_long;
-
- /* We assume that vargs has already been initialised by the=20
- caller, using va_start, and that the caller will similarly
- clean up with va_end.
- */
-
- for (i =3D 0; format[i] !=3D 0; i++) {
- if (format[i] !=3D '%') {
- send(format[i]);
- ret++;
- continue;
+ if (*format =3D=3D '-') {
+ format++;
+ ljustify =3D True;
}
- i++;
- /* A '%' has been found. Ignore a trailing %. */
- if (format[i] =3D=3D 0)
- break;
- if (format[i] =3D=3D '%') {
- /* `%%' is replaced by `%'. */
- send('%');
- ret++;
- continue;
+ if (*format =3D=3D '0') {
+ format++;
+ padchar =3D '0';
}
- flags =3D 0;
- is_long =3D False;
- width =3D 0; /* length of the field. */
- if (format[i] =3D=3D '(') {
- flags |=3D VG_MSG_PAREN;
- i++;
+ while (*format >=3D '0' && *format <=3D '9') {
+ fwidth =3D fwidth * 10 + (*format - '0');
+ format++;
}
- /* If ',' follows '%', commas will be inserted. */
- if (format[i] =3D=3D ',') {
- flags |=3D VG_MSG_COMMA;
- i++;
+ if (*format =3D=3D 'l') {
+ format++;
+ if (*format =3D=3D 'l') {
+ format++;
+ longlong =3D True;
+ }
}
- /* If '-' follows '%', justify on the left. */
- if (format[i] =3D=3D '-') {
- flags |=3D VG_MSG_LJUSTIFY;
- i++;
- }
- /* If '0' follows '%', pads will be inserted. */
- if (format[i] =3D=3D '0') {
- flags |=3D VG_MSG_ZJUSTIFY;
- i++;
- }
- /* Compute the field length. */
- while (format[i] >=3D '0' && format[i] <=3D '9') {
- width *=3D 10;
- width +=3D format[i++] - '0';
- }
- while (format[i] =3D=3D 'l') {
- i++;
- is_long =3D True;
- }
=20
- switch (format[i]) {
- case 'd': /* %d */
- flags |=3D VG_MSG_SIGNED;
- if (is_long)
- ret +=3D myvprintf_int64(send, flags, 10, width,=20
- (ULong)(va_arg (vargs, Long)));
- else
- ret +=3D myvprintf_int64(send, flags, 10, width,=20
- (ULong)(va_arg (vargs, Int)));
+ switch (*format) {
+ case 's': {
+ HChar* str =3D va_arg(ap, HChar*);
+ if (str =3D=3D NULL)
+ str =3D "(null)";
+ len1 =3D len3 =3D 0;
+ len2 =3D vex_strlen(str);
+ if (fwidth > len2) { len1 =3D ljustify ? fwidth-len2 : 0;
+ len3 =3D ljustify ? 0 : fwidth-len2; }
+ PAD(len1); PUTSTR(str); PAD(len3);
break;
- case 'u': /* %u */
- if (is_long)
- ret +=3D myvprintf_int64(send, flags, 10, width,=20
- (ULong)(va_arg (vargs, ULong)));
- else
- ret +=3D myvprintf_int64(send, flags, 10, width,=20
- (ULong)(va_arg (vargs, UInt)));
+ }
+ case 'c': {
+ HChar c =3D (HChar)va_arg(ap, int);
+ HChar str[2];
+ str[0] =3D c;
+ str[1] =3D 0;
+ len1 =3D len3 =3D 0;
+ len2 =3D vex_strlen(str);
+ if (fwidth > len2) { len1 =3D ljustify ? fwidth-len2 : 0;
+ len3 =3D ljustify ? 0 : fwidth-len2; }
+ PAD(len1); PUTSTR(str); PAD(len3);
break;
- case 'p': /* %p */
- ret +=3D 2;
- send('0');
- send('x');
- ret +=3D myvprintf_int64(send, flags, 16, width,=20
- (ULong)((HWord)va_arg (vargs, void *)=
));
+ }
+ case 'd': {
+ Long l;
+ if (longlong) {
+ l =3D va_arg(ap, Long);
+ } else {
+ l =3D (Long)va_arg(ap, Int);
+ }
+ convert_int(intbuf, l, 10/*base*/, True/*signed*/,
+ False/*irrelevant*/);
+ len1 =3D len3 =3D 0;
+ len2 =3D vex_strlen(intbuf);
+ if (fwidth > len2) { len1 =3D ljustify ? fwidth-len2 : 0;
+ len3 =3D ljustify ? 0 : fwidth-len2; }
+ PAD(len1); PUTSTR(intbuf); PAD(len3);
break;
- case 'x': /* %x */
- if (is_long)
- ret +=3D myvprintf_int64(send, flags, 16, width,=20
- (ULong)(va_arg (vargs, ULong)));
- else
- ret +=3D myvprintf_int64(send, flags, 16, width,=20
- (ULong)(va_arg (vargs, UInt)));
- break;
- case 'c': /* %c */
- ret++;
- send(toHChar(va_arg (vargs, int)));
- break;
- case 's': case 'S': { /* %s */
- char *str =3D va_arg (vargs, char *);
- if (str =3D=3D (char*) 0) str =3D "(null)";
- ret +=3D myvprintf_str(send, flags, width, str,=20
- toBool(format[i]=3D=3D'S'));
- break;
}
-# if 0
- case 'y': { /* %y - print symbol */
- Char buf[100];
- Char *cp =3D buf;
- Addr a =3D va_arg(vargs, Addr);
-
- if (flags & VG_MSG_PAREN)
- *cp++ =3D '(';
- if (VG_(get_fnname_w_offset)(a, cp, sizeof(buf)-4)) {
- if (flags & VG_MSG_PAREN) {
- cp +=3D VG_(strlen)(cp);
- *cp++ =3D ')';
- *cp =3D '\0';
- }
- ret +=3D myvprintf_str(send, flags, width, buf, 0);
+ case 'u':=20
+ case 'x':=20
+ case 'X': {
+ Int base =3D *format =3D=3D 'u' ? 10 : 16;
+ Bool hexcaps =3D True; /* *format =3D=3D 'X'; */
+ ULong l;
+ if (longlong) {
+ l =3D va_arg(ap, ULong);
+ } else {
+ l =3D (ULong)va_arg(ap, UInt);
}
+ convert_int(intbuf, l, base, False/*unsigned*/, hexcaps);
+ len1 =3D len3 =3D 0;
+ len2 =3D vex_strlen(intbuf);
+ if (fwidth > len2) { len1 =3D ljustify ? fwidth-len2 : 0;
+ len3 =3D ljustify ? 0 : fwidth-len2; }
+ PAD(len1); PUTSTR(intbuf); PAD(len3);
break;
}
-# endif
+ case 'p':=20
+ case 'P': {
+ Bool hexcaps =3D *format =3D=3D 'P';
+ ULong l =3D Ptr_to_ULong( va_arg(ap, void*) );
+ convert_int(intbuf, l, 16/*base*/, False/*unsigned*/, hexcap=
s);
+ len1 =3D len3 =3D 0;
+ len2 =3D vex_strlen(intbuf)+2;
+ if (fwidth > len2) { len1 =3D ljustify ? fwidth-len2 : 0;
+ len3 =3D ljustify ? 0 : fwidth-len2; }
+ PAD(len1); PUT('0'); PUT('x'); PUTSTR(intbuf); PAD(len3);
+ break;
+ }
default:
+ /* no idea what it is. Print the format literally and
+ move on. */
+ while (saved_format <=3D format) {
+ PUT(*saved_format);
+ saved_format++;
+ }
break;
}
+
+ format++;
+
}
- return ret;
+
+ return nout;
+
+# undef PUT
+# undef PAD
+# undef PUTSTR
}
=20
=20
@@ -476,16 +415,17 @@
=20
static void add_to_myprintf_buf ( HChar c )
{
- if (c =3D=3D '\n' || n_myprintf_buf >=3D 1000-10 /*paranoia*/ ) {
+ Bool emit =3D c =3D=3D '\n' || n_myprintf_buf >=3D 1000-10 /*paranoia=
*/;
+ myprintf_buf[n_myprintf_buf++] =3D c;
+ myprintf_buf[n_myprintf_buf] =3D 0;
+ if (emit) {
(*vex_log_bytes)( myprintf_buf, vex_strlen(myprintf_buf) );
n_myprintf_buf =3D 0;
- myprintf_buf[n_myprintf_buf] =3D 0; =20
+ myprintf_buf[n_myprintf_buf] =3D 0;
}
- myprintf_buf[n_myprintf_buf++] =3D c;
- myprintf_buf[n_myprintf_buf] =3D 0;
}
=20
-UInt vex_printf ( const char *format, ... )
+UInt vex_printf ( HChar* format, ... )
{
UInt ret;
va_list vargs;
@@ -514,7 +454,7 @@
*vg_sprintf_ptr++ =3D c;
}
=20
-UInt vex_sprintf ( HChar* buf, const HChar *format, ... )
+UInt vex_sprintf ( HChar* buf, HChar *format, ... )
{
Int ret;
va_list vargs;
Modified: branches/VEX_3_0_BRANCH/priv/main/vex_util.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/VEX_3_0_BRANCH/priv/main/vex_util.h 2005-08-29 12:35:57 UTC =
(rev 1365)
+++ branches/VEX_3_0_BRANCH/priv/main/vex_util.h 2005-08-29 13:03:15 UTC =
(rev 1366)
@@ -75,10 +75,10 @@
/* Printing */
=20
__attribute__ ((format (printf, 1, 2)))
-extern UInt vex_printf ( const HChar *format, ... );
+extern UInt vex_printf ( HChar *format, ... );
=20
__attribute__ ((format (printf, 2, 3)))
-extern UInt vex_sprintf ( HChar* buf, const HChar *format, ... );
+extern UInt vex_sprintf ( HChar* buf, HChar *format, ... );
=20
=20
/* String ops */
|
|
From: <sv...@va...> - 2005-08-29 12:55:38
|
Author: sewardj
Date: 2005-08-29 13:55:36 +0100 (Mon, 29 Aug 2005)
New Revision: 4563
Log:
Merge r4549 (Handle the SCTP_GET_LOCAL_ADDRS and SCTP_GET_PEER_ADDRS
getsockopt calls correctly.)
Modified:
branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-generic.c
branches/VALGRIND_3_0_BRANCH/include/vki-amd64-linux.h
branches/VALGRIND_3_0_BRANCH/include/vki-linux.h
branches/VALGRIND_3_0_BRANCH/include/vki-ppc32-linux.h
branches/VALGRIND_3_0_BRANCH/include/vki-x86-linux.h
Modified: branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-generi=
c.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/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-generic.c 20=
05-08-29 12:51:05 UTC (rev 4562)
+++ branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-generic.c 20=
05-08-29 12:55:36 UTC (rev 4563)
@@ -1146,10 +1146,17 @@
Addr optval_p =3D arg3;
Addr optlen_p =3D arg4;
/* vg_assert(sizeof(socklen_t) =3D=3D sizeof(UInt)); */
- if (optval_p !=3D (Addr)NULL)=20
+ if (optval_p !=3D (Addr)NULL) {
buf_and_len_pre_check ( tid, optval_p, optlen_p,
"socketcall.getsockopt(optval)",
"socketcall.getsockopt(optlen)" );
+ if (arg1 =3D=3D VKI_SOL_SCTP &&
+ (arg2 =3D=3D VKI_SCTP_GET_PEER_ADDRS || arg2 =3D=3D VKI_SCTP_G=
ET_LOCAL_ADDRS)) {
+ struct vki_sctp_getaddrs *ga =3D (struct vki_sctp_getaddrs*)arg=
3;
+ int address_bytes =3D sizeof(struct vki_sockaddr_in6) * ga->add=
r_num;
+ PRE_MEM_WRITE( "socketcall.getsockopt(optval.addrs)", (Addr)ga-=
>addrs, address_bytes );
+ }
+ }
}
=20
void=20
@@ -1161,9 +1168,28 @@
Addr optval_p =3D arg3;
Addr optlen_p =3D arg4;
vg_assert(!res.isError); /* guaranteed by caller */
- if (optval_p !=3D (Addr)NULL)=20
+ if (optval_p !=3D (Addr)NULL) {
buf_and_len_post_check ( tid, res, optval_p, optlen_p,
"socketcall.getsockopt(optlen_out)" );
+ if (arg1 =3D=3D VKI_SOL_SCTP &&
+ (arg2 =3D=3D VKI_SCTP_GET_PEER_ADDRS || arg2 =3D=3D VKI_SCTP_G=
ET_LOCAL_ADDRS)) {
+ struct vki_sctp_getaddrs *ga =3D (struct vki_sctp_getaddrs*)arg=
3;
+ struct vki_sockaddr *a =3D ga->addrs;
+ int i;
+ for (i =3D 0; i < ga->addr_num; i++) {
+ int sl =3D 0;
+ if (a->sa_family =3D=3D VKI_AF_INET)
+ sl =3D sizeof(struct vki_sockaddr_in);
+ else if (a->sa_family =3D=3D VKI_AF_INET6)
+ sl =3D sizeof(struct vki_sockaddr_in6);
+ else {
+ VG_(message)(Vg_UserMsg, "Warning: getsockopt: unhandled =
address type %d", a->sa_family);
+ }
+ a =3D (struct vki_sockaddr*)((char*)a + sl);
+ }
+ POST_MEM_WRITE( (Addr)ga->addrs, (char*)a - (char*)ga->addrs );
+ }
+ }
}
=20
/* ------ */
Modified: branches/VALGRIND_3_0_BRANCH/include/vki-amd64-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
--- branches/VALGRIND_3_0_BRANCH/include/vki-amd64-linux.h 2005-08-29 12:=
51:05 UTC (rev 4562)
+++ branches/VALGRIND_3_0_BRANCH/include/vki-amd64-linux.h 2005-08-29 12:=
55:36 UTC (rev 4563)
@@ -44,6 +44,7 @@
typedef __signed__ short __vki_s16;
typedef unsigned short __vki_u16;
=20
+typedef __signed__ int __vki_s32;
typedef unsigned int __vki_u32;
=20
typedef __signed__ long long __vki_s64;
Modified: branches/VALGRIND_3_0_BRANCH/include/vki-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
--- branches/VALGRIND_3_0_BRANCH/include/vki-linux.h 2005-08-29 12:51:05 =
UTC (rev 4562)
+++ branches/VALGRIND_3_0_BRANCH/include/vki-linux.h 2005-08-29 12:55:36 =
UTC (rev 4563)
@@ -587,6 +587,8 @@
=20
#define VKI_MSG_NOSIGNAL 0x4000 /* Do not generate SIGPIPE */
=20
+#define VKI_SOL_SCTP 132
+
//----------------------------------------------------------------------
// From linux-2.6.8.1/include/linux/in.h
//----------------------------------------------------------------------
@@ -772,6 +774,73 @@
};
=20
//----------------------------------------------------------------------
+// From linux-2.6.13-rc5/include/net/sctp/user.h
+//----------------------------------------------------------------------
+
+typedef __vki_s32 vki_sctp_assoc_t;
+
+enum vki_sctp_optname {
+ VKI_SCTP_RTOINFO,
+#define VKI_SCTP_RTOINFO VKI_SCTP_RTOINFO
+ VKI_SCTP_ASSOCINFO,
+#define VKI_SCTP_ASSOCINFO VKI_SCTP_ASSOCINFO
+ VKI_SCTP_INITMSG,
+#define VKI_SCTP_INITMSG VKI_SCTP_INITMSG
+ VKI_SCTP_NODELAY, /* Get/set nodelay option. */
+#define VKI_SCTP_NODELAY VKI_SCTP_NODELAY
+ VKI_SCTP_AUTOCLOSE,
+#define VKI_SCTP_AUTOCLOSE VKI_SCTP_AUTOCLOSE
+ VKI_SCTP_SET_PEER_PRIMARY_ADDR,=20
+#define VKI_SCTP_SET_PEER_PRIMARY_ADDR VKI_SCTP_SET_PEER_PRIMARY_ADDR
+ VKI_SCTP_PRIMARY_ADDR,
+#define VKI_SCTP_PRIMARY_ADDR VKI_SCTP_PRIMARY_ADDR
+ VKI_SCTP_ADAPTION_LAYER, =20
+#define VKI_SCTP_ADAPTION_LAYER VKI_SCTP_ADAPTION_LAYER
+ VKI_SCTP_DISABLE_FRAGMENTS,
+#define VKI_SCTP_DISABLE_FRAGMENTS VKI_SCTP_DISABLE_FRAGMENTS
+ VKI_SCTP_PEER_ADDR_PARAMS,
+#define VKI_SCTP_PEER_ADDR_PARAMS VKI_SCTP_PEER_ADDR_PARAMS
+ VKI_SCTP_DEFAULT_SEND_PARAM,
+#define VKI_SCTP_DEFAULT_SEND_PARAM VKI_SCTP_DEFAULT_SEND_PARAM
+ VKI_SCTP_EVENTS,
+#define VKI_SCTP_EVENTS VKI_SCTP_EVENTS
+ VKI_SCTP_I_WANT_MAPPED_V4_ADDR, /* Turn on/off mapped v4 addresses */
+#define VKI_SCTP_I_WANT_MAPPED_V4_ADDR VKI_SCTP_I_WANT_MAPPED_V4_ADDR
+ VKI_SCTP_MAXSEG, /* Get/set maximum fragment. */
+#define VKI_SCTP_MAXSEG VKI_SCTP_MAXSEG
+ VKI_SCTP_STATUS,
+#define VKI_SCTP_STATUS VKI_SCTP_STATUS
+ VKI_SCTP_GET_PEER_ADDR_INFO,
+#define VKI_SCTP_GET_PEER_ADDR_INFO VKI_SCTP_GET_PEER_ADDR_INFO
+
+ /* Internal Socket Options. Some of the sctp library functions are=20
+ * implemented using these socket options.
+ */
+ VKI_SCTP_SOCKOPT_BINDX_ADD =3D 100,/* BINDX requests for adding address=
es. */
+#define VKI_SCTP_SOCKOPT_BINDX_ADD VKI_SCTP_SOCKOPT_BINDX_ADD
+ VKI_SCTP_SOCKOPT_BINDX_REM, /* BINDX requests for removing addresses. *=
/
+#define VKI_SCTP_SOCKOPT_BINDX_REM VKI_SCTP_SOCKOPT_BINDX_REM
+ VKI_SCTP_SOCKOPT_PEELOFF, /* peel off association. */
+#define VKI_SCTP_SOCKOPT_PEELOFF VKI_SCTP_SOCKOPT_PEELOFF
+ VKI_SCTP_GET_PEER_ADDRS_NUM, /* Get number of peer addresss. */
+#define VKI_SCTP_GET_PEER_ADDRS_NUM VKI_SCTP_GET_PEER_ADDRS_NUM
+ VKI_SCTP_GET_PEER_ADDRS, /* Get all peer addresss. */
+#define VKI_SCTP_GET_PEER_ADDRS VKI_SCTP_GET_PEER_ADDRS
+ VKI_SCTP_GET_LOCAL_ADDRS_NUM, /* Get number of local addresss. */
+#define VKI_SCTP_GET_LOCAL_ADDRS_NUM VKI_SCTP_GET_LOCAL_ADDRS_NUM
+ VKI_SCTP_GET_LOCAL_ADDRS, /* Get all local addresss. */
+#define VKI_SCTP_GET_LOCAL_ADDRS VKI_SCTP_GET_LOCAL_ADDRS
+ VKI_SCTP_SOCKOPT_CONNECTX, /* CONNECTX requests. */
+#define VKI_SCTP_SOCKOPT_CONNECTX VKI_SCTP_SOCKOPT_CONNECTX
+};
+
+struct vki_sctp_getaddrs {
+ vki_sctp_assoc_t assoc_id;
+ int addr_num;
+ struct vki_sockaddr *addrs;
+};
+
+//----------------------------------------------------------------------
// From linux-2.6.8.1/include/linux/resource.h
//----------------------------------------------------------------------
=20
Modified: branches/VALGRIND_3_0_BRANCH/include/vki-ppc32-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
--- branches/VALGRIND_3_0_BRANCH/include/vki-ppc32-linux.h 2005-08-29 12:=
51:05 UTC (rev 4562)
+++ branches/VALGRIND_3_0_BRANCH/include/vki-ppc32-linux.h 2005-08-29 12:=
55:36 UTC (rev 4563)
@@ -44,6 +44,7 @@
typedef __signed__ short __vki_s16;
typedef unsigned short __vki_u16;
=20
+typedef __signed__ int __vki_s32;
typedef unsigned int __vki_u32;
=20
typedef __signed__ long long __vki_s64;
Modified: branches/VALGRIND_3_0_BRANCH/include/vki-x86-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
--- branches/VALGRIND_3_0_BRANCH/include/vki-x86-linux.h 2005-08-29 12:51=
:05 UTC (rev 4562)
+++ branches/VALGRIND_3_0_BRANCH/include/vki-x86-linux.h 2005-08-29 12:55=
:36 UTC (rev 4563)
@@ -43,6 +43,7 @@
typedef __signed__ short __vki_s16;
typedef unsigned short __vki_u16;
=20
+typedef __signed__ int __vki_s32;
typedef unsigned int __vki_u32;
=20
typedef __signed__ long long __vki_s64;
|
|
From: <sv...@va...> - 2005-08-29 12:51:13
|
Author: sewardj
Date: 2005-08-29 13:51:05 +0100 (Mon, 29 Aug 2005)
New Revision: 4562
Log:
Merge r4487 (Minor fixes for problems pointed out by Greg Parker)
Modified:
branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-generic.c
branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-linux.c
Modified: branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-generi=
c.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/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-generic.c 20=
05-08-29 12:46:36 UTC (rev 4561)
+++ branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-generic.c 20=
05-08-29 12:51:05 UTC (rev 4562)
@@ -2600,9 +2600,7 @@
case VKI_F_GETFD:
case VKI_F_GETFL:
case VKI_F_GETOWN:
- case VKI_F_SETOWN:
case VKI_F_GETSIG:
- case VKI_F_SETSIG:
case VKI_F_GETLEASE:
PRINT("sys_fcntl ( %d, %d )", ARG1,ARG2);
PRE_REG_READ2(long, "fcntl", unsigned int, fd, unsigned int, cmd);
@@ -2614,6 +2612,8 @@
case VKI_F_SETFL:
case VKI_F_SETLEASE:
case VKI_F_NOTIFY:
+ case VKI_F_SETOWN:
+ case VKI_F_SETSIG:
PRINT("sys_fcntl[ARG3=3D=3D'arg'] ( %d, %d, %d )", ARG1,ARG2,ARG3)=
;
PRE_REG_READ3(long, "fcntl",
unsigned int, fd, unsigned int, cmd, unsigned long, =
arg);
Modified: branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-linux.=
c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-linux.c 2005=
-08-29 12:46:36 UTC (rev 4561)
+++ branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/syswrap-linux.c 2005=
-08-29 12:51:05 UTC (rev 4562)
@@ -168,7 +168,7 @@
=20
PRE(sys_umount)
{
- PRINT("sys_umount( %p )", ARG1);
+ PRINT("sys_umount( %p, %d )", ARG1, ARG2);
PRE_REG_READ2(long, "umount2", char *, path, int, flags);
PRE_MEM_RASCIIZ( "umount2(path)", ARG1);
}
|
|
From: <sv...@va...> - 2005-08-29 12:46:44
|
Author: sewardj
Date: 2005-08-29 13:46:36 +0100 (Mon, 29 Aug 2005)
New Revision: 4561
Log:
Merge r4511 (Only show the "line number too large" warning once.)
Modified:
branches/VALGRIND_3_0_BRANCH/coregrind/m_debuginfo/symtab.c
Modified: branches/VALGRIND_3_0_BRANCH/coregrind/m_debuginfo/symtab.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/VALGRIND_3_0_BRANCH/coregrind/m_debuginfo/symtab.c 2005-08-2=
9 12:38:15 UTC (rev 4560)
+++ branches/VALGRIND_3_0_BRANCH/coregrind/m_debuginfo/symtab.c 2005-08-2=
9 12:46:36 UTC (rev 4561)
@@ -273,23 +273,29 @@
/* vg_assert(this < si->start + si->size && next-1 >=3D si->start); *=
/
if (this >=3D si->start + si->size || next-1 < si->start) {
if (0)
- VG_(message)(Vg_DebugMsg,=20
- "warning: ignoring line info entry falling "
- "outside current SegInfo: %p %p %p %p",
- si->start, si->start + si->size,=20
- this, next-1);
+ VG_(message)(Vg_DebugMsg,=20
+ "warning: ignoring line info entry falling "
+ "outside current SegInfo: %p %p %p %p",
+ si->start, si->start + si->size,=20
+ this, next-1);
return;
}
=20
vg_assert(lineno >=3D 0);
if (lineno > MAX_LINENO) {
- VG_(message)(Vg_UserMsg,=20
- "warning: ignoring line info entry with "
- "huge line number (%d)", lineno);
- VG_(message)(Vg_UserMsg,=20
- " Can't handle line numbers "
- "greater than %d, sorry", MAX_LINENO);
- return;
+ static Bool complained =3D False;
+ if (!complained) {
+ complained =3D True;
+ VG_(message)(Vg_UserMsg,=20
+ "warning: ignoring line info entry with "
+ "huge line number (%d)", lineno);
+ VG_(message)(Vg_UserMsg,=20
+ " Can't handle line numbers "
+ "greater than %d, sorry", MAX_LINENO);
+ VG_(message)(Vg_UserMsg,=20
+ "(Nb: this message is only shown once)");
+ }
+ return;
}
=20
loc.addr =3D this;
|
|
From: <sv...@va...> - 2005-08-29 12:38:21
|
Author: sewardj Date: 2005-08-29 13:38:15 +0100 (Mon, 29 Aug 2005) New Revision: 4560 Log: Merge r4559 (Pass $(CC) to the vex Makefile.) Modified: branches/VALGRIND_3_0_BRANCH/coregrind/Makefile.am branches/VALGRIND_3_0_BRANCH/coregrind/m_dispatch/Makefile.am branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/Makefile.am Modified: branches/VALGRIND_3_0_BRANCH/coregrind/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/VALGRIND_3_0_BRANCH/coregrind/Makefile.am 2005-08-29 12:11:0= 6 UTC (rev 4559) +++ branches/VALGRIND_3_0_BRANCH/coregrind/Makefile.am 2005-08-29 12:38:1= 5 UTC (rev 4560) @@ -198,13 +198,13 @@ || rm -f $@ =20 @VEX_DIR@/libvex.a: @VEX_DIR@/priv/main/vex_svnversion.h - $(MAKE) -C @VEX_DIR@ libvex.a EXTRA_CFLAGS=3D"@ARCH_CORE_AM_CFLAGS@ @PI= E_AM_CFLAGS@" + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) libvex.a EXTRA_CFLAGS=3D"@ARCH_CORE_AM_= CFLAGS@ @PIE_AM_CFLAGS@" =20 @VEX_DIR@/priv/main/vex_svnversion.h: $(wildcard @VEX_DIR@/.svn/entries) - $(MAKE) -C @VEX_DIR@ version + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) version =20 clean-local: - $(MAKE) -C @VEX_DIR@ clean + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) clean =20 MANUAL_DEPS =3D $(noinst_HEADERS) $(include_HEADERS) =20 Modified: branches/VALGRIND_3_0_BRANCH/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 --- branches/VALGRIND_3_0_BRANCH/coregrind/m_dispatch/Makefile.am 2005-08= -29 12:11:06 UTC (rev 4559) +++ branches/VALGRIND_3_0_BRANCH/coregrind/m_dispatch/Makefile.am 2005-08= -29 12:38:15 UTC (rev 4560) @@ -13,4 +13,4 @@ dispatch-@VG_ARCH@.S: libvex_guest_offsets.h =20 libvex_guest_offsets.h: - $(MAKE) -C @VEX_DIR@ pub/libvex_guest_offsets.h + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) pub/libvex_guest_offsets.h Modified: branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/Makefile.am 2005-08-= 29 12:11:06 UTC (rev 4559) +++ branches/VALGRIND_3_0_BRANCH/coregrind/m_syswrap/Makefile.am 2005-08-= 29 12:38:15 UTC (rev 4560) @@ -26,4 +26,4 @@ syswrap-main.c: libvex_guest_offsets.h =20 libvex_guest_offsets.h: - $(MAKE) -C @VEX_DIR@ pub/libvex_guest_offsets.h + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) pub/libvex_guest_offsets.h |
|
From: <sv...@va...> - 2005-08-29 12:36:00
|
Author: sewardj Date: 2005-08-29 13:35:57 +0100 (Mon, 29 Aug 2005) New Revision: 1365 Log: Merge r1364 (Observe any externally supplied $(CC).) Modified: branches/VEX_3_0_BRANCH/Makefile Modified: branches/VEX_3_0_BRANCH/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/VEX_3_0_BRANCH/Makefile 2005-08-29 12:07:41 UTC (rev 1364) +++ branches/VEX_3_0_BRANCH/Makefile 2005-08-29 12:35:57 UTC (rev 1365) @@ -63,7 +63,9 @@ PRIV_INCLUDES =3D -Ipriv =20 =20 -CC =3D gcc +ifeq ($(CC),)=20 + CC =3D gcc=20 +endif=20 CCFLAGS =3D -g -O -Wall -Wmissing-prototypes -Wshadow -Winline \ -Wpointer-arith -Wbad-function-cast -Wcast-qual \ -Wcast-align -Wmissing-declarations \ @@ -120,7 +122,7 @@ @echo =20 pub/libvex_guest_offsets.h: - gcc -Wall -g -o auxprogs/genoffsets auxprogs/genoffsets.c + $(CC) -Wall -g -o auxprogs/genoffsets auxprogs/genoffsets.c ./auxprogs/genoffsets > pub/libvex_guest_offsets.h =20 =20 |
|
From: <sv...@va...> - 2005-08-29 12:11:11
|
Author: sewardj Date: 2005-08-29 13:11:06 +0100 (Mon, 29 Aug 2005) New Revision: 4559 Log: Pass $(CC) to the vex Makefile. Modified: trunk/coregrind/Makefile.am trunk/coregrind/m_dispatch/Makefile.am trunk/coregrind/m_syswrap/Makefile.am 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-08-29 01:27:50 UTC (rev 4558) +++ trunk/coregrind/Makefile.am 2005-08-29 12:11:06 UTC (rev 4559) @@ -202,13 +202,13 @@ || rm -f $@ =20 @VEX_DIR@/libvex.a: @VEX_DIR@/priv/main/vex_svnversion.h - $(MAKE) -C @VEX_DIR@ libvex.a EXTRA_CFLAGS=3D"@ARCH_CORE_AM_CFLAGS@ @PI= E_AM_CFLAGS@" + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) libvex.a EXTRA_CFLAGS=3D"@ARCH_CORE_AM_= CFLAGS@ @PIE_AM_CFLAGS@" =20 @VEX_DIR@/priv/main/vex_svnversion.h: $(wildcard @VEX_DIR@/.svn/entries) - $(MAKE) -C @VEX_DIR@ version + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) version =20 clean-local: - $(MAKE) -C @VEX_DIR@ clean + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) clean =20 MANUAL_DEPS =3D $(noinst_HEADERS) $(include_HEADERS) =20 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-08-29 01:27:50 UTC (rev 4= 558) +++ trunk/coregrind/m_dispatch/Makefile.am 2005-08-29 12:11:06 UTC (rev 4= 559) @@ -13,4 +13,4 @@ dispatch-@VG_ARCH@.S: libvex_guest_offsets.h =20 libvex_guest_offsets.h: - $(MAKE) -C @VEX_DIR@ pub/libvex_guest_offsets.h + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) pub/libvex_guest_offsets.h Modified: trunk/coregrind/m_syswrap/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_syswrap/Makefile.am 2005-08-29 01:27:50 UTC (rev 45= 58) +++ trunk/coregrind/m_syswrap/Makefile.am 2005-08-29 12:11:06 UTC (rev 45= 59) @@ -26,4 +26,4 @@ syswrap-main.c: libvex_guest_offsets.h =20 libvex_guest_offsets.h: - $(MAKE) -C @VEX_DIR@ pub/libvex_guest_offsets.h + $(MAKE) -C @VEX_DIR@ CC=3D$(CC) pub/libvex_guest_offsets.h |
|
From: <sv...@va...> - 2005-08-29 12:07:46
|
Author: sewardj Date: 2005-08-29 13:07:41 +0100 (Mon, 29 Aug 2005) New Revision: 1364 Log: Observe any externally supplied $(CC). Modified: trunk/Makefile Modified: trunk/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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 2005-08-26 18:00:31 UTC (rev 1363) +++ trunk/Makefile 2005-08-29 12:07:41 UTC (rev 1364) @@ -63,7 +63,9 @@ PRIV_INCLUDES =3D -Ipriv =20 =20 -CC =3D gcc +ifeq ($(CC),)=20 + CC =3D gcc=20 +endif=20 CCFLAGS =3D -g -O -Wall -Wmissing-prototypes -Wshadow -Winline \ -Wpointer-arith -Wbad-function-cast -Wcast-qual \ -Wcast-align -Wmissing-declarations \ @@ -120,7 +122,7 @@ @echo =20 pub/libvex_guest_offsets.h: - gcc -Wall -g -o auxprogs/genoffsets auxprogs/genoffsets.c + $(CC) -Wall -g -o auxprogs/genoffsets auxprogs/genoffsets.c ./auxprogs/genoffsets > pub/libvex_guest_offsets.h =20 =20 |
|
From: <sv...@va...> - 2005-08-29 08:09:12
|
Author: cerion Date: 2005-08-29 09:09:05 +0100 (Mon, 29 Aug 2005) New Revision: 183 Log: tweak Modified: trunk/devel/platforms.html Modified: trunk/devel/platforms.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/devel/platforms.html 2005-08-29 04:39:46 UTC (rev 182) +++ trunk/devel/platforms.html 2005-08-29 08:09:05 UTC (rev 183) @@ -115,7 +115,7 @@ and associated (libc) source code makes things much easier.</p> =20 <p>This message states our porting rationale and current priorities. -As ever we retain a flexible approach, and we are interested in hear=20 +As ever we retain a flexible approach, and are interested in hearing=20 your comments/porting needs if you have any.</p> =20 <p>August 27, 2005.</p> |
|
From: <sv...@va...> - 2005-08-29 04:39:50
|
Author: njn
Date: 2005-08-29 05:39:46 +0100 (Mon, 29 Aug 2005)
New Revision: 182
Log:
Add section about porting priorities.
Modified:
trunk/devel/platforms.html
Modified: trunk/devel/platforms.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/devel/platforms.html 2005-08-27 17:29:51 UTC (rev 181)
+++ trunk/devel/platforms.html 2005-08-29 04:39:46 UTC (rev 182)
@@ -10,27 +10,24 @@
<dl class=3D"spaced">
=20
<dt><b>x86</b></dt>
-
-<dd>Currently, the stable 2.4.0 release only supports=20
+<dd>The stable 2.4.0 release only supports=20
Linux running on x86 machines.</dd>
=20
+<dt><b>AMD64</b></dt>
+<dd>valgrind-3.0 supports AMD64 on Linux.</dd>
=20
+
<dt><b>PowerPC/Linux</b></dt>
-
<dd>Paul Mackerras has an experimental port of valgrind to
PowerPC/Linux which you can
<a href=3D"http://ozlabs.org/~paulus/">download
here</a>. Caveat emptor applies!
</dd>
=20
-<dd>In valgrind-3.0, support for 32-bit PowerPC on Linux is
+<dd>In the Valgrind-3.0 series, support for 32-bit PowerPC on Linux is
under development.</dd>
=20
=20
-<dt><b>AMD64</b></dt>
-
-<dd>valgrind-3.0 will support AMD64 on Linux.</dd>
-
</dl>
=20
=20
@@ -57,11 +54,70 @@
=20
<dt><b>FreeBSD</b></dt>
=20
- <dd>Doug Rabson and others haved done a fairly complete port. Snapshot=
s of
- the work in progress are at <a
+ <dd>Doug Rabson and others haved done a fairly complete port for x86.
+ Snapshots of the work in progress are at <a
href=3D"http://www.freebsd.org/cgi/ports.cgi?query=3Dvalgrind">this F=
reeBSD
page</a>. We hope to integrate this support into Valgrind at some
point.</dd>
=20
</dl>
=20
+
+<div class=3D"hr_brown"><hr/></div>
+
+<a name=3D"porting_plans"></a><h2>Porting Plans</h2>
+
+<p>Valgrind 3.X has the infrastructure to support multiple platforms. A
+platform is a specific (CPU,OS) pairing, such as x86/Linux or
+AMD64/Linux. Support for each platform involves some CPU-specific code,
+some OS-specific code, and some platform-specific code.</p>
+
+<p>Maintaining each port takes a lot of effort, more so than for most
+other programs. Valgrind is fragile due to the low-level nature of what
+it does. Also each platform port has CPU-specific code, OS-specific
+code and platform-specific code, and testing all the combinations is
+difficult.</p>
+
+<p>Because of this, we can only justify supporting platforms that are
+widely used. Unlike NetBSD or GCC, we are not interested in having
+Valgrind work on every platform in the known universe: the maintenance
+burden is too high. Therefore, porting Valgrind to different platforms
+is not simply a technical exercise: you also need to make a convincing
+case that the effort will be worth it, and that the port will be
+supported properly, at least in the forseeable future. The following
+table summarises our current porting priorities.</p>
+
+<table class=3D"form" width=3D"100%" cellspacing=3D"0" cellpadding=3D"3"=
border=3D"1">
+<tr><th> </th> <th>Linux</th> <th>*BSD</th> <th>Darwin</th> <th>Sola=
ris</th></tr>
+<tr><td>x86 </td> <td>done </td> <td>low</td> <td>high</td> <td>l=
ow</td></tr>
+<tr><td>amd64</td> <td>done </td> <td>low</td> <td>eventually?</td=
> <td></td></tr>
+<tr><td>ppc32</td> <td>in progress</td> <td></td> <td>high</td> <td></td=
></tr>
+<tr><td>arm </td> <td>low </td> <td></td> <td></td> <td></td></t=
r>
+<tr><td>mips </td> <td>low </td> <td></td> <td></td> <td></td></t=
r>
+</table>
+
+<p>There are experimental ppc32/darwin and x86/FreeBSD ports for Valgrin=
d 2.X.
+They could be made to work with 3.x with some effort. A (much less matu=
re)
+port for x86/Solaris is also being worked on.</p>
+
+<p>ppc32/darwin is a high priority; it would be great to have Valgrind =
running
+on Apple machines. Once x86/darwin machines become available, that too
+will become a high priority. amd64/darwin will presumably eventually be=
come
+important. Of the other table entries Arm/Linux or MIPS/Linux might be
+useful for embedded developers. x86/BSD, amd64/BSD and x86/Solaris are
+lower priorities.</p>
+
+<p>There are many platforms not mentioned here. Some are of little inte=
rest
+(eg. SPARC/*, */AIX). Some would be technically difficult (eg. IA64/*).
+In particular Windows is not under consideration here because porting to=
it
+would require so many changes it would almost be a separate project. Al=
so,
+non-open-source OSes are difficult to deal with; being able to see the =
OS
+and associated (libc) source code makes things much easier.</p>
+
+<p>This message states our porting rationale and current priorities.
+As ever we retain a flexible approach, and we are interested in hear=20
+your comments/porting needs if you have any.</p>
+
+<p>August 27, 2005.</p>
+
+
|
|
From: <js...@ac...> - 2005-08-29 02:56:22
|
Nightly build on phoenix ( SuSE 9.1 ) started at 2005-08-29 03:30:00 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 185 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: <js...@ac...> - 2005-08-29 02:44:52
|
Nightly build on g5 ( YDL 4.0, ppc970 ) started at 2005-08-29 04:40:01 CEST 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 == 158 tests, 18 stderr failures, 1 stdout failure ================= memcheck/tests/badjump (stderr) memcheck/tests/badjump2 (stderr) memcheck/tests/fprw (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigaltstack (stderr) memcheck/tests/supp1 (stderr) memcheck/tests/supp_unknown (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) cachegrind/tests/chdir (stderr) cachegrind/tests/dlclose (stdout) cachegrind/tests/dlclose (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/fdleak_ipv4 (stderr) |
|
From: Tom H. <to...@co...> - 2005-08-29 02:41:05
|
Nightly build on dunsmere ( athlon, Fedora Core 4 ) started at 2005-08-29 03:30:04 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 == 187 tests, 5 stderr failures, 0 stdout failures ================= memcheck/tests/leak-tree (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-08-29 02:27:43
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2005-08-29 03:15:03 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 186 tests, 14 stderr failures, 0 stdout failures ================= memcheck/tests/addressable (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 186 tests, 14 stderr failures, 1 stdout failure ================= memcheck/tests/addressable (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) none/tests/x86/yield (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Aug 29 03:21:26 2005 --- new.short Mon Aug 29 03:27:39 2005 *************** *** 8,10 **** ! == 186 tests, 14 stderr failures, 1 stdout failure ================= memcheck/tests/addressable (stderr) --- 8,10 ---- ! == 186 tests, 14 stderr failures, 0 stdout failures ================= memcheck/tests/addressable (stderr) *************** *** 23,25 **** none/tests/x86/int (stderr) - none/tests/x86/yield (stdout) --- 23,24 ---- |
|
From: Tom H. <th...@cy...> - 2005-08-29 02:25:03
|
Nightly build on ginetta ( i686, Red Hat 8.0 ) started at 2005-08-29 03:10:06 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 == 186 tests, 2 stderr failures, 0 stdout failures ================= none/tests/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: Tom H. <th...@cy...> - 2005-08-29 02:20:14
|
Nightly build on dellow ( x86_64, Fedora Core 4 ) started at 2005-08-29 03:10:06 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 == 164 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) |
|
From: Tom H. <th...@cy...> - 2005-08-29 02:16:58
|
Nightly build on aston ( x86_64, Fedora Core 3 ) started at 2005-08-29 03:05:13 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 == 164 tests, 6 stderr failures, 0 stdout failures ================= memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/vgtest_ume (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) |