Tom Hughes
734ffbfb60
On x86 and ppc32 the offset argument to mmap2 is specified in pages
...
not bytes. This is a horrible kludge of a fix and it should probably
be fixed properly with a separate sys_mmap for amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4821
2005-09-29 23:26:06 +00:00
Julian Seward
a8627dede8
Fix a very stupid bug in the new aspacemgr, in which mmap "hint-style"
...
requests were being granted at the requested address when they should
not have been. This was causing ppc32-linux to crash at startup
(since the wrongly-granted mapping annihilated 5 others). This shows
the value of a multiplatform approach -- the bug applies to all
targets, yet x86 and amd64 appeared to work perfectly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4820
2005-09-29 21:20:41 +00:00
Julian Seward
e0a5f54cf9
Make ppc32-linux build again following aspacem merge. Doesn't work, though:
...
programs crash before reaching main. I don't know why.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4819
2005-09-29 11:09:56 +00:00
Julian Seward
002bc6c7e7
Comment-only changes
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4818
2005-09-29 10:24:17 +00:00
Nicholas Nethercote
c8792e1e81
Add an explanatory message for when instruction decoding fails.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4817
2005-09-29 00:35:18 +00:00
Nicholas Nethercote
65e1e0b804
Remove redundant function call.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4816
2005-09-29 00:31:40 +00:00
Nicholas Nethercote
21f31418f0
Fix up vg_preload_core.so vs. vgpreload_core.so confusion introduced
...
during the ASPACEM merge.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4815
2005-09-29 00:25:07 +00:00
Julian Seward
e2f8cc1393
Fix subtle bug in ML_(generic_POST_sys_shmdt) caused by new aspacem.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4814
2005-09-28 20:05:31 +00:00
Julian Seward
75d5c9fbd4
%u -> %lu
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4813
2005-09-28 20:00:30 +00:00
Julian Seward
81852e9bf5
Fix command-line printing.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4812
2005-09-28 19:59:19 +00:00
Julian Seward
e8dc60215c
Make --log-socket= work on amd64-linux.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4811
2005-09-28 19:58:58 +00:00
Nicholas Nethercote
c35f8e6213
Make primes.c a bazillion times faster.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4810
2005-09-28 14:49:40 +00:00
Julian Seward
8055a3a37d
Restore correct version number following the aspacem merge.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4809
2005-09-28 11:51:17 +00:00
Julian Seward
40f6598ba4
Increase some sizes to deal better with the new multigigabyte world:
...
- on 64-bit platforms, double the size of the supported address
space to 32G.
- Increase the size of the ExeContext table 6 times. Some very
large apps have been observed to have been doing a lot of
searching in the old 4999 entry table. This table may be
OSetified in the fullness of time.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4808
2005-09-28 11:50:20 +00:00
Julian Seward
f8b0e0df14
Handy program for finding prime numbers (small ones!)
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4807
2005-09-28 11:25:10 +00:00
Julian Seward
b98ac01c9f
Get rid of pub_core_main.h, so that m_main is not imported by anyone,
...
and so is not part of a module cycle. This requires a moderately
grotty hack of passing a continuation-function pointer in a global
variable.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4806
2005-09-28 10:47:38 +00:00
Julian Seward
a03a1fa3bd
Privatise parse_procselfmaps() and move it into aspacemgr.c in order
...
to benefit from the module-cycle-breaking functions in aspacemgr.c.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4805
2005-09-28 09:37:16 +00:00
Julian Seward
c3d915e97b
Rename m_launcher.c to launcher.c to make clear it's not part of the
...
normal module scheme -- it's a standalone program.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4804
2005-09-28 01:53:07 +00:00
Julian Seward
d13622abed
VG_(am_extend_into_adjacent_reservation_client): Do not allow the
...
reservation segment to be shrunk below one page.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4803
2005-09-28 01:46:31 +00:00
Julian Seward
68ccd98f62
Get rid of some macros used only by the old aspacemgr, and tidy up
...
m_main even more.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4802
2005-09-28 01:36:01 +00:00
Julian Seward
f75575351e
Clean up the m_debuginfo interface a bit.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4801
2005-09-28 01:23:25 +00:00
Julian Seward
38b71df161
Get rid of the "ioctl-mmap" weird-hack flag.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4800
2005-09-28 01:14:32 +00:00
Julian Seward
8bf81005ae
Small cleanups, mostly of m_main:
...
- Move VG_(fd_{soft,hard}_limit) into m_clientstate
- m_main: clean up auxv handling. Get rid of scan_auxv().
- m_main: move scan_colsep() to somewhere more sensible.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4799
2005-09-28 00:53:09 +00:00
Julian Seward
114b0d2967
Don't reserve space for trampoline page on the stack, since it isn't
...
used any more.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4798
2005-09-27 23:53:09 +00:00
Nicholas Nethercote
60aae81ae6
Remove now-unused "shadow_memory" need.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4797
2005-09-27 21:35:01 +00:00
Nicholas Nethercote
01ace453bb
Record an observation about addr_is_in_MAC_Chunk().
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4796
2005-09-27 20:51:12 +00:00
Nicholas Nethercote
f339e45fe3
Remove ancient unused test files.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4795
2005-09-27 20:28:00 +00:00
Nicholas Nethercote
d9c2f2f027
Fix up Makefile.core.am which got a little confused during the ASPACEM
...
merging.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4794
2005-09-27 20:27:04 +00:00
Julian Seward
6dadd73562
Unbreak build on amd64 following aspacem merge.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4792
2005-09-27 19:57:35 +00:00
Nicholas Nethercote
97f1d67fb7
Disable vgtest_ume, which is broken.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4791
2005-09-27 19:52:02 +00:00
Nicholas Nethercote
11dfb2e8a0
Fix scalar and cmdline[12].
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4790
2005-09-27 19:46:46 +00:00
Julian Seward
cc8ccbbfb4
This commit merges in changes from branches/ASPACEM (specifically,
...
changes from r4341 through r4787 inclusive). That branch is now dead.
Please do not commit anything else to it.
For the most part the merge was not troublesome. The main areas of
uncertainty are:
- build system: I had to import by hand Makefile.core-AM_CPPFLAGS.am
and include it in a couple of places. Building etc seems to still
work, but I haven't tried building the documentation.
- syscall wrappers: Following analysis by Greg & Nick, a whole lot of
stuff was moved from -generic to -linux after the branch was created.
I think that is satisfactorily glued back together now.
- Regtests: although this appears to work, no .out files appear, which
is strange, and makes it hard to diagnose regtest failures. In
particular memcheck/tests/x86/scalar.stderr.exp remains in a
conflicted state.
- amd64 is broken (slightly), and ppc32 will be unbuildable. I'll
attend to the former shortly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4789
2005-09-27 19:20:21 +00:00
Nicholas Nethercote
737ff99047
wibbles
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4788
2005-09-27 18:52:39 +00:00
Nicholas Nethercote
5d3e60b591
add note
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4784
2005-09-26 14:50:39 +00:00
Nicholas Nethercote
407df87c69
record an email
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4781
2005-09-26 01:55:14 +00:00
Nicholas Nethercote
cb422674f0
update
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4780
2005-09-26 01:49:39 +00:00
Nicholas Nethercote
503e5afdce
update
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4779
2005-09-26 01:12:57 +00:00
Nicholas Nethercote
3499945a8b
Fix broken links in the manual. Bug #113190 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4778
2005-09-26 01:11:40 +00:00
Nicholas Nethercote
098127225b
update
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4770
2005-09-25 19:13:21 +00:00
Nicholas Nethercote
eb51a9ff0d
Fix incorrect computation of miss rates due to Int/Long mixups <sigh>.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4769
2005-09-25 19:11:45 +00:00
Nicholas Nethercote
ae68dcc13f
actually, they're unsigned
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4766
2005-09-25 17:59:16 +00:00
Nicholas Nethercote
531b28734e
Print longs as longs.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4765
2005-09-25 17:57:47 +00:00
Nicholas Nethercote
a00ea1b94b
fix for #113230
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4751
2005-09-24 19:42:41 +00:00
Nicholas Nethercote
ccbfb353ff
Make 3.1.0 work with gcc 2.95.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4750
2005-09-24 19:14:12 +00:00
Nicholas Nethercote
32582c0172
Make VPATH builds work again.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4668
2005-09-16 03:59:37 +00:00
Nicholas Nethercote
89561b4eed
Note that SSE3 isn't supported.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4646
2005-09-13 21:03:46 +00:00
Nicholas Nethercote
489e097ab4
wibble
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4645
2005-09-13 19:56:19 +00:00
Cerion Armour-Brown
8f1185f0df
Rename VG_(have_altivec) => VG_(have_altivec_ppc) for consistency.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4641
2005-09-13 16:47:00 +00:00
Cerion Armour-Brown
d4678699e7
setup new variable VG_(have_altivec) from auxv::AT_HWCAP
...
fixed default VSCR in dispatch-ppc32.S (non-java mode = 1)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4636
2005-09-13 11:13:43 +00:00
Tom Hughes
ce26fa0fc9
Add some new bugs to the bug status file.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4635
2005-09-13 08:42:48 +00:00