Nicholas Nethercote
4e8bcf9076
Move the last remaining tests out of corecheck.
...
Also introduced VG_(showing_core_errors)() to make core error display
more consistent.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4073
2005-07-01 04:15:36 +00:00
Julian Seward
1cfc0e7971
Track Vex API change (r1239, introduction of endianness-indications in
...
IR loads and stores.)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4072
2005-06-30 23:33:37 +00:00
Julian Seward
2d19fe5d84
Update expected output.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4071
2005-06-30 23:32:30 +00:00
Julian Seward
217e0415ca
Add missing #include.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4070
2005-06-30 23:20:30 +00:00
Julian Seward
c53b36df0f
Update expected output.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4069
2005-06-30 12:40:17 +00:00
Julian Seward
cd1ddc2f74
Restrict assertion to cache lines we know we need.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4068
2005-06-30 12:11:19 +00:00
Julian Seward
2f997267fa
ppc32-linux: Vex implements dcbz correctly now. No need to mess with
...
the auxv to fool glibc into not using it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4067
2005-06-30 12:10:45 +00:00
Julian Seward
f7c9f26dcb
Track Vex API change in r1233 (VexSubArch -> VexArchInfo).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4066
2005-06-30 11:50:11 +00:00
Nicholas Nethercote
d690d0fb71
Move some more Corecheck tests into none/tests.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4065
2005-06-30 04:41:56 +00:00
Nicholas Nethercote
7a4e062807
Avoid compiler warning.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4064
2005-06-30 04:09:11 +00:00
Nicholas Nethercote
b5a0177d11
Allow for glibc-2.4.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4063
2005-06-30 04:06:38 +00:00
Nicholas Nethercote
838e9893de
Update valgrind.spec.in for all the new files in include/.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4062
2005-06-30 03:44:55 +00:00
Nicholas Nethercote
7a954963d7
Try to make toobig-allocs work on 64-bit platforms.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4061
2005-06-30 02:34:32 +00:00
Nicholas Nethercote
3dea409609
Move a bunch of tests from corecheck/tests/ to none/tests/.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4060
2005-06-30 02:15:59 +00:00
Nicholas Nethercote
47f044d1f2
Record important info about Segments and SegInfos.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4059
2005-06-30 00:54:02 +00:00
Julian Seward
71677bc130
acroread-5.06 for x86-linux requires up to 598 CIEs. Bump the array
...
size accordingly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4058
2005-06-30 00:22:38 +00:00
Nicholas Nethercote
4560b81e33
Avoid magic numbers.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4057
2005-06-30 00:16:02 +00:00
Julian Seward
2a0a78dffe
A couple more XML cases that slipped through the net.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4056
2005-06-30 00:10:16 +00:00
Julian Seward
bef467758b
XML output wibble (purely decorative)
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4055
2005-06-29 23:38:33 +00:00
Julian Seward
d84d0a72ff
XML printing fixes for printing to file descriptors.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4054
2005-06-29 23:15:56 +00:00
Julian Seward
dd954f7da0
It's official. I am a moron.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4053
2005-06-29 17:12:28 +00:00
Julian Seward
a609b352a9
ppc32: reinstate collection of cache-line-size info from the auxv
...
array at startup. This is used in m_transtab. However this info is
not yet fed to Vex, so it's still important to zero-out the auxv field
holding cache line size info passed to the client, so as to stop the
client's glibc using dcbz. This will be fixed.
Also get rid of a bunch more ppc32-specific vdso stuff in m_main that
doesn't need to be done. This now means ppc32-linux specifics in
m_main are only marginally intrusive than the x86-linux or amd64-linux
specifics in m_main.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4052
2005-06-29 10:16:14 +00:00
Julian Seward
3785945d45
Get rid of some VDSO finding stuff which was ifdef VGP_ppc32_linux but
...
apparently pointless as per recent mail from PaulM since ppc32-linux
does not use VDSOs yet.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4051
2005-06-29 08:46:30 +00:00
Nicholas Nethercote
e074647282
Fix vg_regtests so it can properly handle alternative output filenames with
...
more than one numeric char at the end (eg. xml1.stderr.exp64).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4050
2005-06-29 04:02:24 +00:00
Nicholas Nethercote
249c9f83c3
Add alt output
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4049
2005-06-29 03:54:09 +00:00
Nicholas Nethercote
a1527f6993
Move a heap of tests from corecheck/tests/ into none/tests/. There's
...
no real point in having them in corecheck/tests since they're not testing
anything that Nulgrind doesn't provide.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4048
2005-06-29 03:46:32 +00:00
Robert Walsh
fabf7c9fb4
Update ignores.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4047
2005-06-28 23:41:57 +00:00
Nicholas Nethercote
8255b8049e
Fix off-by-one error that was causing four leak-checking regression test
...
failures for me, and also fixes bug #106293 for me. Let's hope it has
the same effect for others.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4046
2005-06-28 22:38:24 +00:00
Nicholas Nethercote
b9bec5539d
Remove all the completely unused SF_* flags. I suspect some of the
...
remaining ones have no interesting effect, but I left them in.
Also simplify the signature for VG_(get_memory_from_mmap_for_client)().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4045
2005-06-28 22:14:53 +00:00
Nicholas Nethercote
f6fdbbf06d
Don't use non-ansi features in valgrind.h in case it's used in a file
...
compiled with -ansi. Added a regtest for it. Fixed bug #103182 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4044
2005-06-28 19:44:10 +00:00
Nicholas Nethercote
daa92e5209
Free memory in the error case. Fixes bug #103168 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4043
2005-06-28 19:20:46 +00:00
Julian Seward
b0dc7633a7
Change scope from VG_ to ML_ various assembly symbols to do with doing
...
syscalls for the client.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4042
2005-06-28 19:04:51 +00:00
Julian Seward
0ca1bd00b3
Remove prototype which is not of a fn exported by this module and
...
in any case is actually a module-local fn for m_syswrap.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4041
2005-06-28 18:51:35 +00:00
Nicholas Nethercote
1e4188a229
Fix comment.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4040
2005-06-28 02:54:52 +00:00
Nicholas Nethercote
7d5f7ed468
Don't mark segments as SF_FIXED when VKI_MAP_FIXED isn't specified.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4039
2005-06-28 02:45:29 +00:00
Julian Seward
37e2360ce7
Comment wibble
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4038
2005-06-28 00:12:31 +00:00
Tom Hughes
e966ae4bc0
Improve handling of inlined strlen on amd64 by using the expensive
...
mode for 64 bit add and subtract operations when the bogus literals
flags is set and by adding two new constants to the list of bogus
literals.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4037
2005-06-27 08:11:01 +00:00
Nicholas Nethercote
2bc8de1439
While we're not printing stacktraces from assertion failures, might
...
as well disable pp_sched_status() -- which produces traces that are less
useful than the main one that has been disabled -- and break the
circular dependence between m_libcassert and m_threadstate.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4036
2005-06-26 20:50:05 +00:00
Nicholas Nethercote
1474691624
Break up VG_(show_BB_profile)(), and move half of it into m_main. This
...
removes m_transtab's dependence on m_translate (breaking a circular
dependence) and m_debuginfo, hooray.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4035
2005-06-26 20:44:48 +00:00
Nicholas Nethercote
1273f0df14
Combine the percentify() functions from Cachegrind and m_transtab into
...
a single more general one exported from m_libcprint.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4034
2005-06-26 18:43:40 +00:00
Nicholas Nethercote
7f2ab70714
Remove empty sanity check function. And clean up sanity checking in
...
m_scheduler a little.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4033
2005-06-26 17:26:22 +00:00
Nicholas Nethercote
88b532de40
Simplify atfork to only provide the functionality we need.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4032
2005-06-26 15:11:37 +00:00
Nicholas Nethercote
f87b53e9d9
Don't include headers from headers -- make inclusions explicit in all C
...
files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4031
2005-06-26 14:48:23 +00:00
Nicholas Nethercote
f97f28f16f
Killed --libc option -- can be achieved with --hide.
...
Now scanning .S files too.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4030
2005-06-26 14:43:01 +00:00
Julian Seward
f248bca126
Fix 32-bit-ish looking assumption.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4029
2005-06-26 11:56:32 +00:00
Nicholas Nethercote
c8f13ea9d3
Cleaned up m_redir.c: renamed some variables and functions, added some
...
comments, neatened the debugging output, avoided unexpected side-effects
in functions, tweaked code to make it clearer.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4028
2005-06-26 04:49:25 +00:00
Nicholas Nethercote
cc404a9c03
If read_lib_symbols() fails, once again discard the SegInfo.
...
And some other minor cleanups.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4027
2005-06-26 02:19:17 +00:00
Nicholas Nethercote
a4f5166d99
Allow multiple module names per --hide option.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4026
2005-06-26 00:44:21 +00:00
Nicholas Nethercote
e7aa6b03de
Made m_debuginfo not depend on m_aspacemgr, breaking the direct circular
...
dependence between them. (There's still an indirect one via m_libcmman.)
As a result, I was able to move the Segment type declaration into
pub_core_aspacemgr.h, which is a much better spot. I was also able to
remove a couple of #includes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4025
2005-06-25 20:49:33 +00:00
Nicholas Nethercote
4b4e694fef
Avoid m_redir.c importing priv_symtab.h.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4024
2005-06-25 20:22:43 +00:00