566 Commits

Author SHA1 Message Date
Nicholas Nethercote
a8c9970a34 Cleaned up the mess that was the treatment of "below main" functions such as
'__libc_start_main', in Massif, m_debuginfo and m_stacktrace.  As part of
this, --show-below-main is now visible to tools, and Massif pays attention
to it.

Improved the description of --show-below-main=yes in the manual.

Replaced some instances of "__libc_start_main" in the test *.exp files with
"(below main)", which is what will actually be seen.  Also updated
scalar.stderr.exp*, which should make it get closer to actually passing.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9131
2009-02-10 06:48:00 +00:00
Nicholas Nethercote
ed322feb84 Rename all the arch/OS/platform-related variables in configure.in to make it
clearer what they mean:
- They all have VGCONF_ prefixes now, to indicate they come out of
  configure.in (and are clearly distinguished from the VGA_/VGO_/VGP_
  #defines passed in to C files).
- The ones that refer to the primary *or* secondary platform have _INCLUDES_
  in them.
- The ones that are in all-caps have a _CAPS suffix.

So, for example, what was VGP_X86_LINUX is now
VGCONF_PLATFORMS_INCLUDE_X86_LINUX, which is more verbose but also a lot
clearer.  The names of the #defines used in the C files (VGA_x86, VGO_linux,
etc) are unchanged.

cputest.c: changed to reflect the Valgrind installation's capabilities,
rather than the machine's capabilities.  In particular, if
--enable-only32bit is used on a 64-bit machine, then this program will claim
to only support 32-bits.  Also use the VGA/VGO/VGP macros which are clearer
than the __i386__ ones.  (This is partially merged from the DARWIN branch.)

configure.in: clean up the comments, distinguish different sections more
clearly, and generally make it more readable.

valgrind.pc.in: try to make this more accurate.  I doubt anyone's using it.
It doesn't appear to be set up to handle dual-architecture builds.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9031
2009-01-22 21:56:32 +00:00
Nicholas Nethercote
cace8b55cd - No longer using VG_ARCH_ALL to determine the DIST_SUBDIRS used for
arch/OS/platform-specific tool test dirs, instead writing it by hand.
  This is important because up until now if we had any arch-specific test
  dirs, we needed such dirs for all archs.  Now that we also have
  OS-specific and platform-specific test dirs, we don't want to have
  (mostly) empty dirs for every arch/OS/platform.

- Correspondingly, removed several empty directories under memcheck/tests/
  and cachegrind/tests that are no longer needed.

- Also removed VG_ARCH_ALL from configure.in.

- Also used an arch-specific guard rather than a platform-specific one where
  appropriate in cachegrind/tests/Makefile.am.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9017
2009-01-22 01:13:16 +00:00
Nicholas Nethercote
fa7ee0dc5b Add an FAQ about attaching Valgrind to already-running programs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8911
2009-01-06 05:54:45 +00:00
Julian Seward
7e5513b6c0 Update bug lists.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8876
2008-12-23 17:04:52 +00:00
Julian Seward
5edaee8191 Bump the version stuff.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8875
2008-12-23 16:34:19 +00:00
Julian Seward
f9c9d9c9d0 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8874
2008-12-23 16:26:06 +00:00
Julian Seward
c7d583fcbd Minor updates for 3.4.0. Also fix a large number of missing <para>
and </para> tags.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8861
2008-12-22 01:00:15 +00:00
Julian Seward
7bf24c8472 Include new file (why-no-libc.txt) in the distro tarball.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8831
2008-12-17 12:25:05 +00:00
Nicholas Nethercote
aee8de8367 Add some useful info.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8827
2008-12-15 21:29:29 +00:00
Nicholas Nethercote
18216143d9 Update an FAQ to account for --track-origins=yes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8824
2008-12-13 22:27:05 +00:00
Julian Seward
2dae239cce Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8822
2008-12-13 16:53:35 +00:00
Dirk Mueller
827735df70 update bug status
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8801
2008-11-22 23:35:32 +00:00
Dirk Mueller
706dd9fa67 ignore .valgrindrc files that are world writeable
or not owned by the current user (CVE-2008-4865)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8798
2008-11-22 12:03:19 +00:00
Dirk Mueller
0ebe1bbe1e add glibc 2.9 support to changelog
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8792
2008-11-20 00:01:21 +00:00
Julian Seward
91442c55a8 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8748
2008-11-08 15:26:53 +00:00
Julian Seward
650da4509d Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8733
2008-11-05 12:46:43 +00:00
Julian Seward
217f01f3e2 * add some assertions to frame-level wildcarding mechanism
* remove a couple of tabs

* clarify related documentation a bit



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8727
2008-11-04 11:29:19 +00:00
Julian Seward
279a7e01cf Update documentation on suppressions following addition of frame-level
wildcarding in suppressions (r8725).  Also clarify a couple of bits of
wording.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8726
2008-11-04 01:38:02 +00:00
Julian Seward
79765330c3 Add summaries for more than 60 bugs logged in bugzilla since 3.3.1 was
released.  Looking at this lot, you'd get the impression the system is
so bug-riddled it's amazing it works at all.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8724
2008-11-02 23:46:32 +00:00
Julian Seward
07ac95b348 Get rid of longstanding and now pointless restriction that disallowed
using --db-attach=yes and --trace-children=yes together.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8722
2008-10-30 13:26:29 +00:00
Julian Seward
0401fb2706 Add notes on how to build/run KDE 4.2.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8721
2008-10-30 13:17:35 +00:00
Julian Seward
018559c77d Merge howto_profile.txt from branches/YARD and BIG_APP_NOTES.txt from
branches/HGDEV.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8708
2008-10-25 16:30:38 +00:00
Josef Weidendorfer
4d822b7bd3 Update
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8706
2008-10-24 19:17:52 +00:00
Julian Seward
a11c045d49 XML-ise exp-ptrcheck's documentation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8702
2008-10-23 13:15:23 +00:00
Julian Seward
40399aab00 Fix longstanding bug in dual-arch support, which originated in
memcheck/tests/Makefile.am and was copied into drd/tests/Makefile.am.

When building regtests for a 32-bit only build on a 64-bit CPU, the
use of $(VG_ARCH) in these Makefiles is incorrect, because VG_ARCH
will be set to the 64-bit architecture, not the 32-bit architecture.

See comments on VG_ARCH_PRI and VG_ARCH_MAX in configure.in for more
details.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8623
2008-09-19 09:02:19 +00:00
Bart Van Assche
6e368a9f37 Renamed exp-drd directory into drd. Moved drd from the experimental tool class to the class of regular tools.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8361
2008-07-04 15:14:35 +00:00
Bart Van Assche
19747fa682 Added entry for DRD manual.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8238
2008-06-16 20:31:16 +00:00
Julian Seward
9551b14c18 Reinstate printing of log-file-qualifiers in XML output (Ashley Pittman).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8178
2008-06-04 06:51:58 +00:00
Julian Seward
84a03affe1 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8161
2008-05-31 08:33:59 +00:00
Nicholas Nethercote
9914dd3c89 update
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8156
2008-05-29 23:18:18 +00:00
Nicholas Nethercote
bb0819a3bb Fix a bug in Massif and Cachegrind, whereby if program's forked, the child
wrote into the parent's output file even if %p was specified.

Josef, I think Callgrind does not have this bug, but you might want to say
something about forking in the manual, as I have done for Massif and
Cachegrind.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8154
2008-05-29 23:09:52 +00:00
Julian Seward
600b55eadb Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8098
2008-05-15 18:18:36 +00:00
Bart Van Assche
8742ef9e36 Removed an entry referring to a bug that was introduced after 3.3.0. Updated status of #161036.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8089
2008-05-14 18:01:47 +00:00
Julian Seward
8e12dd731b Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8070
2008-05-14 07:02:53 +00:00
Julian Seward
112fc680c0 Update manual re number of suppression files allowed. See #161487.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8068
2008-05-14 06:43:10 +00:00
Julian Seward
386dc0a9d0 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8066
2008-05-13 19:21:52 +00:00
Bart Van Assche
ac8ab1184d Removed a bug entry that was introduced after the 3.3.0 release and before the 3.3.1 release.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8064
2008-05-13 16:38:08 +00:00
Julian Seward
d858e5c986 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8055
2008-05-12 22:15:15 +00:00
Bart Van Assche
dbddb9018c Added fixed exp-drd bugs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8044
2008-05-11 12:24:01 +00:00
Julian Seward
04859bfbba Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8042
2008-05-11 08:57:01 +00:00
Julian Seward
ac73e42a1f Update the list of bugs to be fixed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8017
2008-05-08 14:02:56 +00:00
Julian Seward
4cae5c3ed5 Merge branches/OTRACK_BY_INSTRUMENTATION into the trunk. This adds
support to Memcheck for tracking the origin of uninitialised values,
if you use the --track-origins=yes flag.

This currently causes some Memcheck regression tests to fail, because
they now print an extra line of advisory text in their output.  This
will be fixed.

The core-tool interface is slightly changed.  The version number for
the interface needs to be incremented.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7982
2008-05-01 20:24:26 +00:00
Julian Seward
f3274344b6 Update (minor).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7981
2008-05-01 20:18:39 +00:00
Julian Seward
4f4f85cd1f Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7793
2008-03-27 17:07:50 +00:00
Julian Seward
14af4957fc Merge in the DATASYMS branch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7540
2008-03-03 01:35:41 +00:00
Nicholas Nethercote
f3b38367f0 notes about SPEC benchmarks
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7401
2008-02-11 21:22:15 +00:00
Tom Hughes
5a8949c57d Update bug status.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7400
2008-02-11 14:50:38 +00:00
Julian Seward
4ceadd5a4c Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7392
2008-02-10 22:41:39 +00:00
Julian Seward
a0bb20556c Update (mostly to check that the svn server still works after host change)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7371
2008-02-05 20:07:23 +00:00