Julian Seward
4bcb6276b1
Minor tidying: make initial_client_SP be a mandatory field in struct
...
_IIFinaliseImageInfo.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6359
2006-11-18 14:32:30 +00:00
Julian Seward
47e5c2135a
Update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6358
2006-11-17 20:04:43 +00:00
Julian Seward
d4577533d1
Redo the interface to m_initimg (module for setting up the initial
...
client image) so it's less of an incomprehensible mess. Basically the
idea is to have two standard functions, VG_(ii_create_image) and
VG_(ii_finalise_image), which communicate using the structure types
IICreateImageInfo and IIFinaliseImageInfo. The types hold various
OS-specific bits of info. A nice side effect is that m_main is tidied
up somewhat.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6357
2006-11-17 20:00:57 +00:00
Julian Seward
cf7e9dbc05
CFI reader: when decoding the single (address) argument to
...
DW_CFA_set_loc, take into account any encoding info conveyed by the
augmentation string. See big comment in the code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6356
2006-11-16 12:21:52 +00:00
Julian Seward
1b24f88e87
A test for JECXZ and JCXZ.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6355
2006-11-16 11:01:48 +00:00
Julian Seward
7299831d35
Add a regtest for the false-uninitialised-value-report bug fixed by
...
vex r1675.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6354
2006-11-14 18:36:02 +00:00
Julian Seward
ebdc69a3a5
Update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6353
2006-11-14 15:58:04 +00:00
Julian Seward
4e9a41e225
Add a regtest for #126147 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6352
2006-11-14 15:50:44 +00:00
Julian Seward
1091a2baa0
Add a regtest for #125959 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6351
2006-11-14 15:07:57 +00:00
Dirk Mueller
6662c989dc
change void* to Addr in mutex helpers. patch by Bard Van Assche.
...
I've bumped the tool interface version because it seems binary
incompatible.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6350
2006-11-14 14:32:46 +00:00
Julian Seward
2040c9cd05
Syscall tidying.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6349
2006-11-10 22:47:27 +00:00
Julian Seward
066bcc8e8e
Update stuff that should be fixed or at least considered for fixing in
...
3.2.2.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6348
2006-11-04 18:49:54 +00:00
Julian Seward
e962ad7da5
signedness wibble
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6347
2006-11-04 18:18:14 +00:00
Nicholas Nethercote
0399584b08
Fix a man page bug.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6345
2006-11-03 19:54:21 +00:00
Nicholas Nethercote
931e8921fd
Just use the first two letters of the toolname as the abbreviation.
...
Saves having to maintain a table of toolnames and abbreviations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6344
2006-11-03 19:37:50 +00:00
Nicholas Nethercote
378f820775
Fix for nested subdirs
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6343
2006-11-03 19:35:20 +00:00
Nicholas Nethercote
7efcca54a0
Perf script:
...
- always trace into children
- addrcheck no longer exists
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6342
2006-11-03 19:30:33 +00:00
Julian Seward
b2c70d2846
Make the hashing in VG_(record_ExeContext) 64-bit clean and more
...
robust. Also incrementally rearrange the hash chains during searches.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6341
2006-10-24 21:43:38 +00:00
Nicholas Nethercote
0a12dbcaf4
Updated docs on tool-writing. Moved them into the user manual.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6339
2006-10-23 21:21:48 +00:00
Nicholas Nethercote
aa2ce63f67
Add --valgrind-lib, to complement --valgrind, to the regtests script
...
(from Dave Nomura).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6338
2006-10-23 18:38:35 +00:00
Nicholas Nethercote
49597e705c
Update for recent removal of Cachegrind tech docs.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6336
2006-10-21 23:18:57 +00:00
Nicholas Nethercote
df0cb32d94
Link to dissertation with a proper link.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6334
2006-10-21 23:00:59 +00:00
Nicholas Nethercote
525ca8b1ee
Removed the file format description from cg_annotate.in, because it's in the
...
Cachegrind docs.
Removed the Cachegrind tech docs, because they're so out of date to be
useless. My PhD dissertation gives a much better description of how
Cachegrind works. (I mentioned this in the Cachegrind user manual.) The
only still-useful part of Cachegrind's tech docs, the output file format
description, I moved into the Cachegrind user manual.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6332
2006-10-21 22:22:59 +00:00
Nicholas Nethercote
f280fb47d2
- Update comments about Cachegrind file format.
...
- Be slightly more strict in accepting Cachegrind input files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6330
2006-10-21 18:22:35 +00:00
Nicholas Nethercote
3234c4c688
Add a FAQ.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6326
2006-10-20 22:16:57 +00:00
Julian Seward
1f592d9557
Update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6325
2006-10-20 10:00:26 +00:00
Julian Seward
fb8234c9d4
Move a couple of functions out of tool view.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6324
2006-10-19 17:31:37 +00:00
Julian Seward
167543de97
Back out 'memtrace' related stuff until status of it is established;
...
having build system references to it without corresponding sources
causes build failures.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6323
2006-10-19 13:23:59 +00:00
Julian Seward
68475a1dc5
Fix bug in memcheck's instrumenter introduced in r6319. Big comment
...
in the code explains it. Sigh. Why can't anything be simple?
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6322
2006-10-19 13:22:16 +00:00
Nicholas Nethercote
2401263790
Improve comments.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6321
2006-10-18 23:46:26 +00:00
Nicholas Nethercote
fad24de4bc
Move VG_BUGS_TO to pub_tool_basics.h so that Nulgrind need not import
...
pub_tool_libcassert.h.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6320
2006-10-18 21:50:26 +00:00
Julian Seward
a9a0bafb27
Observe the rule that requires all instrumenters to copy verbatim any
...
IR preamble preceding the first IMark.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6319
2006-10-18 12:41:55 +00:00
Nicholas Nethercote
7e331561fc
Update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6318
2006-10-18 06:25:34 +00:00
Julian Seward
221b8e09c3
Fix installation of includes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6317
2006-10-18 01:16:57 +00:00
Julian Seward
639f06a928
Fix regression caused by recent merging, picked up by none/tests/shell.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6316
2006-10-18 00:34:21 +00:00
Julian Seward
fc0903793a
Use house types.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6315
2006-10-18 00:33:46 +00:00
Julian Seward
c7b05679fe
- Fix a subtle alignment-check bug I introduced into mc_die_mem_stack_12
...
- Add comments to many of the functions to make explicit their
alignment-check logic
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6314
2006-10-17 23:14:42 +00:00
Julian Seward
51701576f2
This got a bit messed up during recent merging; tidy up.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6313
2006-10-17 21:06:58 +00:00
Julian Seward
0341e4d47f
Add a simple script which drives 'kdiff3' through a large source tree
...
(3 such trees, really). This makes it easy to do 3 way merges of such
trees and easily stop and resume without losing work.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6312
2006-10-17 21:04:15 +00:00
Julian Seward
56240918e0
Get rid of # comments in assembly files.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6311
2006-10-17 20:47:13 +00:00
Julian Seward
8bd33fb450
Ensure VG_(tt_fastN) always stays as an array of NULLs if BB profiling
...
isn't in effect. This should cause the dispatcher to segfault if it
should ever inadvertantly end up running the profiled dispatch loop
when it shouldn't. [The alternative is to run slowly for no apparent
reason.]
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6310
2006-10-17 20:39:11 +00:00
Julian Seward
43fb4300b8
Increase # bbs in profile.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6309
2006-10-17 13:58:17 +00:00
Julian Seward
068b29ae82
AIX build fixes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6308
2006-10-17 12:49:31 +00:00
Julian Seward
4413190e1a
Updated expected with-TOC output.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6307
2006-10-17 11:33:23 +00:00
Julian Seward
5b26b045dd
Change a bunch of pointer <-> int casts to pointer <-> long casts so
...
as to stop gcc complaining so much on 64-bit platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6306
2006-10-17 11:09:03 +00:00
Julian Seward
c76af82124
Update expected output.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6305
2006-10-17 11:08:12 +00:00
Julian Seward
9010793a97
Merge r6207:
...
Make vg_perf work on AIX, by using the POSIX-portability flag for
/usr/bin/time.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6304
2006-10-17 02:30:17 +00:00
Julian Seward
88f082bfb0
Merge r6201: Fix compile warning on aix.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6303
2006-10-17 02:28:53 +00:00
Julian Seward
4cf933e16b
Merge r6205:
...
AIX requires that in the case of MAP_ANONYMOUS, fildes must be -1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6302
2006-10-17 02:27:41 +00:00
Julian Seward
77e2257371
Update 'expected' default translation size (partial merge of r6214).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6301
2006-10-17 02:25:50 +00:00