Tom Hughes
91b44ff30e
Use VG_(ntohl) and VG_(ntohs) to decode IP addresses and ports. Note
...
that this also required reversing the order of the arguments to the
print call as the previous ordering assumed that the address was still
byte swapped.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5163
2005-11-17 12:02:58 +00:00
Tom Hughes
2605f9b94e
Provide a full set of ntohl/htonl/ntohs/htons routines in the
...
valgrind C library.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5162
2005-11-17 12:01:56 +00:00
Julian Seward
c01a097e5b
Kludgey endianness fix (for printing only) to stop fdleak_ipv4 failing on
...
ppc32. I'm sure there's a Right Way to fix it, and this isn't it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5161
2005-11-17 11:45:28 +00:00
Julian Seward
2e084e8121
Enable sys_lstat on ppc32.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5160
2005-11-17 11:01:55 +00:00
Julian Seward
847c90dbfd
Filter out I-have-no-idea-what-your-caches-are message, so these tests
...
don't fail on ppc32.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5159
2005-11-17 10:56:08 +00:00
Julian Seward
3906739a17
A couple of these syscalls fail differently when running on an amd64
...
in 32-bit mode.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5158
2005-11-17 03:08:16 +00:00
Julian Seward
921283974b
Record XML output format changes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5157
2005-11-17 00:51:36 +00:00
Nicholas Nethercote
f02b856600
record more email comments
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5156
2005-11-16 23:54:46 +00:00
Cerion Armour-Brown
973949d2b3
Implemented checks for FPSCR and VSCR on leaving dispatcher
...
- required flags: FPSCR[RM] == 0, VSCR[NJ] == 1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5155
2005-11-16 20:22:11 +00:00
Nicholas Nethercote
bc87879123
Minor tweaks.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5154
2005-11-16 20:12:22 +00:00
Julian Seward
4e648a2346
Fix up ppc32-linux handlers for sys_sigreturn and sys_rt_sigreturn. I really
...
have no idea how these work (what's there is a conceptual transcription of
what we have for x86-linux) and so if those of you more Skilled In The Art
Of Signals than myself would care to peer at it, that would be appreciated.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5153
2005-11-16 19:15:33 +00:00
Julian Seward
ee1f1bc2b5
Even more news.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5152
2005-11-16 19:13:13 +00:00
Cerion Armour-Brown
c6477a38e4
Added tests for latest altivec fp insns
...
Fixed fp nan argument values
Fixed setting of non-java bit in VSCR to be on for all cases.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5151
2005-11-16 18:58:26 +00:00
Julian Seward
5959f02a89
Edit the release notes a bit and add our huge list of fixed bugs.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5150
2005-11-16 18:39:25 +00:00
Cerion Armour-Brown
2570833d92
Added fp vector conversion/rounding irops to memcheck
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5149
2005-11-16 17:21:49 +00:00
Nicholas Nethercote
43ec9bc87d
Record previous log message as a comment in the code.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5148
2005-11-16 17:16:10 +00:00
Julian Seward
afb964cccd
Make the data segment (heap) executable. LinuxThreads on ppc32 creates
...
trampolines in this area.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5147
2005-11-16 17:12:38 +00:00
Julian Seward
b238db41a1
Sync with all the bugzilla emails I have.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5146
2005-11-16 17:11:52 +00:00
Tom Hughes
30b052dcab
Update XML results.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5145
2005-11-16 16:54:02 +00:00
Julian Seward
6203fe7cdc
Enable sys_rt_sigsuspend. This is needed by LinuxThreads.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5144
2005-11-16 12:51:34 +00:00
Tom Hughes
b2ee760f24
Bug status updates.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5143
2005-11-16 10:23:15 +00:00
Julian Seward
51658535e7
Slightly reorder the preamble-printing order, and also print the CPU arch/subarch detected.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5142
2005-11-16 03:51:02 +00:00
Tom Hughes
e9b07e443e
Move VG_(am_get_filename) to the tool accessible aspacemgr header file.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5141
2005-11-16 00:11:14 +00:00
Tom Hughes
15300b2f2f
Reinstate code to extent SegInfo ranges to cover all PT_LOAD segments
...
when VG_(needs_data_syms) has been called by the tool.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5140
2005-11-16 00:09:15 +00:00
Tom Hughes
8442bc8d8a
Update bug status.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5139
2005-11-16 00:05:58 +00:00
Tom Hughes
87c289f91d
Fix stabs decoder to allow :: in a method name provided it is inside
...
a template argument list. Fixes bug #113126 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5138
2005-11-16 00:04:58 +00:00
Julian Seward
d07dbe4a52
Complete documentation trawl for 3.1.0.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5137
2005-11-15 20:56:23 +00:00
Nicholas Nethercote
c3ffb5e7a4
wibble
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5136
2005-11-15 20:16:45 +00:00
Julian Seward
86c998a8de
Update manual for 3.1.0, sections <= manual-core.html.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5135
2005-11-15 19:51:04 +00:00
Cerion Armour-Brown
db9b446390
Incremented the xml output protocolversion to 2, following the change in the time field format of r5042
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5134
2005-11-15 19:07:53 +00:00
Nicholas Nethercote
8546c0a5bf
More detail about pre-release testing.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5133
2005-11-15 15:27:06 +00:00
Nicholas Nethercote
a26bd07b31
Remove horribly out-of-date comment.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5132
2005-11-15 02:24:57 +00:00
Tom Hughes
39e6ec034f
Handle some ALSA ioctls that don't have size or direction hints.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5131
2005-11-14 17:03:54 +00:00
Julian Seward
4e27498796
In XML mode, emit a closing </valgrindoutput> on various kinds of
...
failures, so as to help parsers stop parsing:
- after any kind of assertion failure or panic
- if suppression file is missing or has a syntax error
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5130
2005-11-14 17:01:01 +00:00
Nicholas Nethercote
78c8ae8f98
More man page updating, including:
...
- commented out stuff about addrcheck
- --log-file no longer puts "pid" in the filename
- other minor changes
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5129
2005-11-14 16:00:27 +00:00
Nicholas Nethercote
2cfef08f2b
Make this test compile on my machine.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5128
2005-11-14 15:35:20 +00:00
Tom Hughes
0cfea5db07
Enable the prctl system call on amd64.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5127
2005-11-14 15:26:03 +00:00
Julian Seward
1f93e36cf6
Separate the stack unwind logic for amd64 and x86, so that they can be
...
differently performance-tuned. amd64 needs to consult CFI first and
then if that fails (unlikely) follow the %rbp chain. On x86, the CFI
is almost never helpful, but consulting it first wastes significant
time in allocation-intensive programs. This commit pulls the two
archs apart and puts the CFI check second on x86. This reduces start
time for ktuberling on x86 on memcheck from 78 seconds to 75.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5126
2005-11-14 15:18:25 +00:00
Julian Seward
b7eb35135c
On amd64, when running allocation-intensive code in the presence of
...
many shared objects, finding the relevant CFI information for stack
unwinding becomes a significant performance overhead. This change
slowly rearranges the SegInfo list to bring more popular entries to
the front during CFI lookup. This reduces the startup time of
konqueror on memcheck on amd64 from 124 to 110 seconds.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5125
2005-11-14 15:10:12 +00:00
Tom Hughes
6f9faa809d
Update manual page.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5124
2005-11-14 15:01:32 +00:00
Tom Hughes
204dd5138c
Document sign extension of si_code by the kernel.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5123
2005-11-14 14:37:02 +00:00
Cerion Armour-Brown
3d26054981
Added tests for altivec load/stores
...
Enabled altivec float tests
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5122
2005-11-14 12:15:27 +00:00
Cerion Armour-Brown
5347fb4a96
Couple more irops for memcheck.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5121
2005-11-14 03:00:35 +00:00
Cerion Armour-Brown
8df389ab21
comment out altivec tests for unsupported insns
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5120
2005-11-14 02:43:09 +00:00
Julian Seward
6c9242d63c
Hacks to enable self-hosting on amd64, so as to facilitate
...
cachegrinding it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5119
2005-11-13 18:51:31 +00:00
Julian Seward
18afc93af3
wibble
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5118
2005-11-13 18:50:39 +00:00
Nicholas Nethercote
3ef437fe82
Inline cachesim_*_doref(). This gains about 5--10% in speed.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5117
2005-11-13 17:57:32 +00:00
Tom Hughes
0618e53e28
Make the address space manager use fstat64 when it is available. There
...
are two reasons for this:
- It can cope with manjor and minor device numbers outside the
traditional 0-255 range.
- It returns correct results for x86 binaries on amd64 systems
where fstat returns uninitialised rubbish in the top 16 bits
of the device number.
We also make the /proc/self/maps reading code encode device numbers in
the new style to cope with manjor and minor device numbers outside the
traditional 0-255 range.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5116
2005-11-13 16:52:56 +00:00
Nicholas Nethercote
579c660a90
addition
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5115
2005-11-13 16:41:15 +00:00
Tom Hughes
b828d84587
Preserve the sign of the bottom 16 bits of si_code when discarding
...
the top 16 bits - the pthread library uses negative code values in
the signals it sends between threads.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5114
2005-11-13 11:52:39 +00:00