]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
18 years agoPass CC and AR to vex's Makefile here too.
Julian Seward [Fri, 5 Jan 2007 23:50:45 +0000 (23:50 +0000)] 
Pass CC and AR to vex's Makefile here too.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6475

18 years agoSupps for MVL 4.0.1 on ppc32 (Bart Van Assche)
Julian Seward [Fri, 5 Jan 2007 15:09:53 +0000 (15:09 +0000)] 
Supps for MVL 4.0.1 on ppc32 (Bart Van Assche)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6473

18 years agoAvoid printf in the recursive routines, so that the intercept of
Julian Seward [Mon, 1 Jan 2007 22:07:58 +0000 (22:07 +0000)] 
Avoid printf in the recursive routines, so that the intercept of
mempcpy which is called from printf does not mess up the
carefully-balanced call-stack overflow checks that this test does on
ppc64-linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6471

18 years agoProvide a replacement for mempcpy.
Julian Seward [Sun, 31 Dec 2006 18:55:56 +0000 (18:55 +0000)] 
Provide a replacement for mempcpy.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6469

18 years agoApparently needed on Red Hat 7.3.
Julian Seward [Sun, 31 Dec 2006 15:26:48 +0000 (15:26 +0000)] 
Apparently needed on Red Hat 7.3.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6467

18 years agoUpdate
Julian Seward [Sun, 31 Dec 2006 02:32:00 +0000 (02:32 +0000)] 
Update

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6466

18 years agoRedo a suppression in X.org style.
Julian Seward [Sun, 31 Dec 2006 01:05:19 +0000 (01:05 +0000)] 
Redo a suppression in X.org style.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6463

18 years agoIntercept/replace glibc-2.5's __strcpy_chk function for the usual
Julian Seward [Sun, 31 Dec 2006 00:22:30 +0000 (00:22 +0000)] 
Intercept/replace glibc-2.5's __strcpy_chk function for the usual
reasons: it reads word-sized chunks from memory and so produces lots
of errors in SuSE 10.2 (amd64).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6462

18 years agoRemove redundant \n
Julian Seward [Sat, 30 Dec 2006 17:56:32 +0000 (17:56 +0000)] 
Remove redundant \n

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6460

18 years agoMerge (from 3_2_BRANCH) r6457/8 (Support 64k pages on ppc32/64-linux
Julian Seward [Sat, 30 Dec 2006 17:45:08 +0000 (17:45 +0000)] 
Merge (from 3_2_BRANCH) r6457/8 (Support 64k pages on ppc32/64-linux
(Jakub Jelink, Dave Nomura) )

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6459

18 years agoGet rid of the core-tool events pre_mutex_lock, post_mutex_lock and
Julian Seward [Thu, 28 Dec 2006 20:26:08 +0000 (20:26 +0000)] 
Get rid of the core-tool events pre_mutex_lock, post_mutex_lock and
post_mutex_unlock.  The core can't detect them anyway any more, so
there's no point in having them.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6456

18 years agoUpdate expected output following r6447 (Test lvxl and stvxl.)
Julian Seward [Thu, 28 Dec 2006 06:52:27 +0000 (06:52 +0000)] 
Update expected output following r6447 (Test lvxl and stvxl.)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6453

18 years agoAvoid name clash on ppc64-linux.
Julian Seward [Thu, 28 Dec 2006 06:50:50 +0000 (06:50 +0000)] 
Avoid name clash on ppc64-linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6452

18 years agoUpdate
Julian Seward [Thu, 28 Dec 2006 02:07:52 +0000 (02:07 +0000)] 
Update

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6451

18 years agoAdd regtest for bug129390 (altivec cache hint insns)
Julian Seward [Thu, 28 Dec 2006 00:16:51 +0000 (00:16 +0000)] 
Add regtest for bug129390 (altivec cache hint insns)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6450

18 years agoRemove dead code.
Nicholas Nethercote [Wed, 27 Dec 2006 23:19:10 +0000 (23:19 +0000)] 
Remove dead code.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6449

18 years agoTest lvxl and stvxl.
Julian Seward [Wed, 27 Dec 2006 21:22:18 +0000 (21:22 +0000)] 
Test lvxl and stvxl.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6447

18 years agoAdd regtest for #139050.
Julian Seward [Wed, 27 Dec 2006 18:40:47 +0000 (18:40 +0000)] 
Add regtest for #139050.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6446

18 years agoPrint a marginally more helpful error message if UME (ELF loading) fails.
Julian Seward [Wed, 27 Dec 2006 05:18:33 +0000 (05:18 +0000)] 
Print a marginally more helpful error message if UME (ELF loading) fails.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6444

18 years agoRegtest for bug 137714 (x86 MASKMOVQ/MASKMOVDQU insns)
Julian Seward [Wed, 27 Dec 2006 04:35:52 +0000 (04:35 +0000)] 
Regtest for bug 137714 (x86 MASKMOVQ/MASKMOVDQU insns)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6443

18 years agoHandle new primop Iop_SarN8x8 introduced in vex r1702.
Julian Seward [Wed, 27 Dec 2006 01:16:58 +0000 (01:16 +0000)] 
Handle new primop Iop_SarN8x8 introduced in vex r1702.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6441

18 years agoFix #134207 (pkg-config output contains @VG_PLATFORM@).
Julian Seward [Tue, 26 Dec 2006 04:50:12 +0000 (04:50 +0000)] 
Fix #134207 (pkg-config output contains @VG_PLATFORM@).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6439

18 years agoUpdate
Julian Seward [Tue, 26 Dec 2006 04:09:33 +0000 (04:09 +0000)] 
Update

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6434

18 years agoUpdate, and make first attempt at deciding which bugs to fix for 3.2.2.
Julian Seward [Mon, 25 Dec 2006 23:32:41 +0000 (23:32 +0000)] 
Update, and make first attempt at deciding which bugs to fix for 3.2.2.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6420

18 years agoAdd a NEWS item about Vex type/function name changes.
Nicholas Nethercote [Sun, 24 Dec 2006 07:54:19 +0000 (07:54 +0000)] 
Add a NEWS item about Vex type/function name changes.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6419

18 years agoSplit the thread_runstate event into two, start_client_code and
Nicholas Nethercote [Sun, 24 Dec 2006 07:51:17 +0000 (07:51 +0000)] 
Split the thread_runstate event into two, start_client_code and
stop_client_code, which is a bit clearer and easier to work with.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6418

18 years agoAlways ensure that the output buffer is zero-terminated, even if it is
Julian Seward [Sun, 24 Dec 2006 03:02:18 +0000 (03:02 +0000)] 
Always ensure that the output buffer is zero-terminated, even if it is
already full.  (Nick N)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6417

18 years agoNon-functional commit: track IR renaming in vex r1689.
Julian Seward [Sun, 24 Dec 2006 02:24:11 +0000 (02:24 +0000)] 
Non-functional commit: track IR renaming in vex r1689.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6416

18 years agoUpdate.
Julian Seward [Sun, 24 Dec 2006 02:21:49 +0000 (02:21 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6415

18 years agoCallgrind: Throttle calls CLG_(run_thread) after r6413
Josef Weidendorfer [Sat, 23 Dec 2006 23:11:20 +0000 (23:11 +0000)] 
Callgrind: Throttle calls CLG_(run_thread) after r6413

After the change in r6413, CLG_(run_thread) is called a
lot more often, increasing the polling overhead to check
for a callgrind command file (created by callgrind_control
for controlling a callgrind run in an interactive way).
This reduces the calls to only be done every 5000 BBs,
which gives a similar polling frequency as before.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6414

18 years agoChange the core-tool interface 'thread_run' event to be more useful:
Julian Seward [Sat, 23 Dec 2006 01:21:12 +0000 (01:21 +0000)] 
Change the core-tool interface 'thread_run' event to be more useful:

- Rename the event to 'thread_runstate'.

- Add arguments: pass also a boolean indicating whether the thread
  is running or stopping, and a 64-bit int showing how many blocks
  overall have run, so tools can make a rough estimate of workload.

  The boolean allows tools to see threads starting and stopping.
  Prior to this, de-schedule events were invisible to tools.

- Call the callback (hand the event to tools) just before client
  code is run, and again immediately after it stops running.  This
  should give correct sequencing w.r.t posting of thread creation/
  destruction events.

In order to make callgrind work without complex changes, I added a
simple impedance-matching function 'clg_thread_runstate_callback'
which hands thread-run events onwards to CLG_(thread_run).

Use this new 'thread_runstate' with care: it will be called before
and after every translation, which means it will be called ~500k
times in a startup of firefox.  So the callback needs to be fast.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6413

18 years agoUse standard pthread mutexes instead of spinlocks. Not all distros
Julian Seward [Mon, 18 Dec 2006 17:53:13 +0000 (17:53 +0000)] 
Use standard pthread mutexes instead of spinlocks.  Not all distros
support spinlocks, it appears.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6412

18 years agoAdd support for some USB ioctls. Based on patches from Jon Burgess and
Tom Hughes [Mon, 18 Dec 2006 16:48:10 +0000 (16:48 +0000)] 
Add support for some USB ioctls. Based on patches from Jon Burgess and
Marcus Meissner in bugs #136059 and #138896.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6411

18 years agoImprove prctl support - based on patch from Eric Pouech in bug #138627.
Tom Hughes [Mon, 18 Dec 2006 15:22:46 +0000 (15:22 +0000)] 
Improve prctl support - based on patch from Eric Pouech in bug #138627.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6410

18 years agoRename VG_(get_lwp_tid) to VG_(lwpid_to_vgtid).
Julian Seward [Sun, 17 Dec 2006 19:36:06 +0000 (19:36 +0000)] 
Rename VG_(get_lwp_tid) to VG_(lwpid_to_vgtid).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6409

18 years agoA naming-only change: rename VG_(set_running) to VG_(acquire_BigLock)
Julian Seward [Sun, 17 Dec 2006 18:58:55 +0000 (18:58 +0000)] 
A naming-only change: rename VG_(set_running) to VG_(acquire_BigLock)
and VG_(set_sleeping) to VG_(release_BigLock).  And some other minor
renamings to the thread locking stuff, to make it easier to follow.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6408

18 years agoAdd locking so this produces repeatable results (Bart Van Assche).
Julian Seward [Sun, 17 Dec 2006 17:40:06 +0000 (17:40 +0000)] 
Add locking so this produces repeatable results (Bart Van Assche).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6407

18 years agoAdd missing case, apparently not very popular :-)
Julian Seward [Sun, 17 Dec 2006 14:20:31 +0000 (14:20 +0000)] 
Add missing case, apparently not very popular :-)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6406

18 years ago64-bit followup to r6404: fix and simplify the inline assembly, so it
Julian Seward [Sat, 16 Dec 2006 14:25:04 +0000 (14:25 +0000)] 
64-bit followup to r6404: fix and simplify the inline assembly, so it
works right when compiled by gcc-4.1.0.  Also add a new flag, -A, to
test all available instructions.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6405

18 years agoFix and simplify the inline assembly, so it works right when compiled
Julian Seward [Sat, 16 Dec 2006 05:00:38 +0000 (05:00 +0000)] 
Fix and simplify the inline assembly, so it works right when compiled
by gcc-4.1.0.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6404

18 years agoFix version.
Julian Seward [Sat, 16 Dec 2006 04:58:59 +0000 (04:58 +0000)] 
Fix version.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6403

18 years agoCompletely overhauled the internals of Memcheck's error handling. All the
Nicholas Nethercote [Sat, 16 Dec 2006 00:54:12 +0000 (00:54 +0000)] 
Completely overhauled the internals of Memcheck's error handling.  All the
different error kinds were reusing the same struct for storing their
details.  Each one used some but not all the fields, and the AddrInfo was
similar, and it was very confusing.

So I changed MC_Error and AddrInfo to be tagged unions, like Vex's IRExpr and
IRStmt types.  The resulting code is a little more verbose but much easier
to understand.  I also split up several error kinds, which also made things
simpler.  The user-visible behaviour is identical except for a couple of
very minor things that I've documented in the NEWS file for the 3.3.0
release.

Ideally I'd get rid of the Addr and Char* fields in the core Error type,
which are not always used, and do them similarly within tools.  But that
would require changing the core/tool interface, so I'm leaving it for the
moment.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6402

18 years agoRemove defunct constant.
Nicholas Nethercote [Fri, 15 Dec 2006 04:37:25 +0000 (04:37 +0000)] 
Remove defunct constant.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6401

18 years agoMake VG_STREQ return True or False, rather than any integer.
Nicholas Nethercote [Thu, 14 Dec 2006 03:29:18 +0000 (03:29 +0000)] 
Make VG_STREQ return True or False, rather than any integer.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6400

18 years agoRemoved the unused pthread_model and thread_model modules.
Nicholas Nethercote [Thu, 14 Dec 2006 02:55:58 +0000 (02:55 +0000)] 
Removed the unused pthread_model and thread_model modules.

Mostly commented out the unused stuff relating to ThreadErrs and MutexErrs,
which no longer exist.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6399

18 years agoRemove some very old and incorrect info in the headers.
Nicholas Nethercote [Thu, 14 Dec 2006 00:28:50 +0000 (00:28 +0000)] 
Remove some very old and incorrect info in the headers.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6398

18 years agoInclude missing files in tarball.
Julian Seward [Wed, 13 Dec 2006 14:35:03 +0000 (14:35 +0000)] 
Include missing files in tarball.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6397

18 years agoFix error in aix zeropage handling.
Julian Seward [Wed, 13 Dec 2006 03:16:40 +0000 (03:16 +0000)] 
Fix error in aix zeropage handling.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6396

18 years agoMinor tidying for regtests on AIX.
Julian Seward [Tue, 12 Dec 2006 01:38:15 +0000 (01:38 +0000)] 
Minor tidying for regtests on AIX.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6395

18 years agoFix various regtests, mostly by adding 64-bit outputs.
Julian Seward [Mon, 11 Dec 2006 03:23:41 +0000 (03:23 +0000)] 
Fix various regtests, mostly by adding 64-bit outputs.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6394

18 years agoUpdate expected output.
Julian Seward [Mon, 11 Dec 2006 02:19:16 +0000 (02:19 +0000)] 
Update expected output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6393

18 years agoOn SuSE 10.1 (amd64) fd 4 seems to be open at process start. Close it
Julian Seward [Mon, 11 Dec 2006 01:12:18 +0000 (01:12 +0000)] 
On SuSE 10.1 (amd64) fd 4 seems to be open at process start.  Close it
so as to get consistent test results.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6392

18 years agoTidy fd-leak stuff a bit.
Julian Seward [Mon, 11 Dec 2006 01:11:02 +0000 (01:11 +0000)] 
Tidy fd-leak stuff a bit.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6391

18 years agoUpdate a couple of expected outputs.
Julian Seward [Mon, 11 Dec 2006 00:19:28 +0000 (00:19 +0000)] 
Update a couple of expected outputs.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6390

18 years agoFix 'make html-docs' and 'make print-docs'.
Julian Seward [Sun, 10 Dec 2006 02:59:16 +0000 (02:59 +0000)] 
Fix 'make html-docs' and 'make print-docs'.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6389

18 years agoUpdate.
Julian Seward [Sun, 10 Dec 2006 02:58:27 +0000 (02:58 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6388

18 years agoFix installation of libmpiwrap.so on the primary platform.
Julian Seward [Sun, 10 Dec 2006 02:26:50 +0000 (02:26 +0000)] 
Fix installation of libmpiwrap.so on the primary platform.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6387

18 years agoGet rid of the use of explicit register variables in the ppc32-linux
Julian Seward [Fri, 8 Dec 2006 21:29:46 +0000 (21:29 +0000)] 
Get rid of the use of explicit register variables in the ppc32-linux
magic macros.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6386

18 years agorename as _SOURCES is a reserved keywoard and breaks with newer
Dirk Mueller [Thu, 7 Dec 2006 15:31:57 +0000 (15:31 +0000)] 
rename as _SOURCES is a reserved keywoard and breaks with newer
auto*foo:
Makefile.am:110: variable `VEX_PRIMARY_SOURCES' is defined but no
program or
Makefile.am:110: library has `VEX_PRIMARY' as canonic name (possible
typo)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6384

18 years agoUpdate some expected outputs following r6382. There may be more ..
Julian Seward [Wed, 6 Dec 2006 18:53:07 +0000 (18:53 +0000)] 
Update some expected outputs following r6382.  There may be more ..

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6383

18 years agoFix confusing and contradictory "Rerun with ..." messages printed at
Julian Seward [Wed, 6 Dec 2006 18:05:54 +0000 (18:05 +0000)] 
Fix confusing and contradictory "Rerun with ..." messages printed at
the end of MC_(do_detect_memory_leaks).  This causes various leak
regression tests to fail; will fix shortly.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6382

18 years agoUpdate.
Julian Seward [Wed, 6 Dec 2006 17:39:16 +0000 (17:39 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6381

18 years agoOnly read $HOME/.valgrindrc if HOME is actually set.
Julian Seward [Wed, 6 Dec 2006 17:38:32 +0000 (17:38 +0000)] 
Only read $HOME/.valgrindrc if HOME is actually set.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6380

18 years agoAdd a regression test, courtesy of Bart Van Assche.
Nicholas Nethercote [Wed, 6 Dec 2006 06:32:37 +0000 (06:32 +0000)] 
Add a regression test, courtesy of Bart Van Assche.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6379

18 years agoFix suppression-matching bogon (Paul Floyd).
Julian Seward [Wed, 6 Dec 2006 03:36:24 +0000 (03:36 +0000)] 
Fix suppression-matching bogon (Paul Floyd).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6378

18 years agoWhen generating suppressions, remember to Z-demangle function names,
Julian Seward [Wed, 6 Dec 2006 03:35:38 +0000 (03:35 +0000)] 
When generating suppressions, remember to Z-demangle function names,
since the suppression-matching machinery does the same.  Not doing so
causes auto-generated suppressions involving Z-mangled fn names to not
work.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6377

18 years agoWhen failing, fail a bit more informatively.
Julian Seward [Fri, 1 Dec 2006 18:48:56 +0000 (18:48 +0000)] 
When failing, fail a bit more informatively.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6376

18 years agoWhen being an 'inner valgrind' on 64-bit platforms, ensure the stack
Julian Seward [Fri, 1 Dec 2006 02:35:02 +0000 (02:35 +0000)] 
When being an 'inner valgrind' on 64-bit platforms, ensure the stack
is allocated below the magic 32G mark as it would be normally.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6375

18 years agoMake it possible to suppress, and auto-generate suppressions for,
Julian Seward [Tue, 28 Nov 2006 00:15:35 +0000 (00:15 +0000)] 
Make it possible to suppress, and auto-generate suppressions for,
"User" errors; that is, errors resulting from client requests (check
memory range is addressible / defined).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6374

18 years agoUpdate a comment.
Nicholas Nethercote [Sun, 26 Nov 2006 22:49:58 +0000 (22:49 +0000)] 
Update a comment.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6373

18 years agoUse the newly-added dopyIRBBExceptStmts() in tools.
Nicholas Nethercote [Sat, 25 Nov 2006 22:38:11 +0000 (22:38 +0000)] 
Use the newly-added dopyIRBBExceptStmts() in tools.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6372

18 years ago- remove some 'inline' directives so as to make stack backtraces
Julian Seward [Fri, 24 Nov 2006 15:18:15 +0000 (15:18 +0000)] 
- remove some 'inline' directives so as to make stack backtraces
  involving this library easier to make sense of

- try to handle 'long double' better.  The problem is that the
  library needs to know how many bytes are written when a 'long double'
  is stored, which is sometimes not the same as what sizeof(long double)
  says.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6371

18 years agoFix compilation warning, and partially de-leak.
Julian Seward [Thu, 23 Nov 2006 15:14:18 +0000 (15:14 +0000)] 
Fix compilation warning, and partially de-leak.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6370

18 years agoCachegrind/Callgrind: Fix cache parameter detection
Josef Weidendorfer [Thu, 23 Nov 2006 13:04:30 +0000 (13:04 +0000)] 
Cachegrind/Callgrind: Fix cache parameter detection

On Intel processors, CPUIDs cache parameter code 0x49 is
reused both for L2 and L3 parameters.
Thanks to Ulrich Drepper.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6369

18 years agoUpdate
Josef Weidendorfer [Wed, 22 Nov 2006 21:07:10 +0000 (21:07 +0000)] 
Update

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6368

18 years agoFix same cache simulation bug in callgrind as fixed
Josef Weidendorfer [Wed, 22 Nov 2006 21:00:53 +0000 (21:00 +0000)] 
Fix same cache simulation bug in callgrind as fixed
in r6365 for cachegrind.

This needs 3 fixes (the 4th is ifdef'd out) for the
3 versions of the simulator in callgrind.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6367

18 years agoUpdate.
Nicholas Nethercote [Wed, 22 Nov 2006 11:41:07 +0000 (11:41 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6366

18 years agoFix obscure bug in cache simulation, found by Ulrich Drepper.
Nicholas Nethercote [Wed, 22 Nov 2006 11:38:07 +0000 (11:38 +0000)] 
Fix obscure bug in cache simulation, found by Ulrich Drepper.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6365

18 years agoAn extension of the previous commit: the vg_perf --tools option is so useful
Nicholas Nethercote [Wed, 22 Nov 2006 00:52:00 +0000 (00:52 +0000)] 
An extension of the previous commit:  the vg_perf --tools option is so useful
that I got rid of the "tools:" line in the .vg_perf files.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6364

18 years agoAdd a useful --tools option to vg_perf, which lets you override the "tools"
Nicholas Nethercote [Wed, 22 Nov 2006 00:39:08 +0000 (00:39 +0000)] 
Add a useful --tools option to vg_perf, which lets you override the "tools"
line in the .vgperf files from the command line.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6363

18 years agoClarify NON_SIMD_CALL instructions.
Nicholas Nethercote [Mon, 20 Nov 2006 22:02:40 +0000 (22:02 +0000)] 
Clarify NON_SIMD_CALL instructions.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6362

18 years agoUpdate the statement of vex's amd64 register uses which was beginning
Julian Seward [Sun, 19 Nov 2006 01:36:44 +0000 (01:36 +0000)] 
Update the statement of vex's amd64 register uses which was beginning
to look like a work of fiction.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6361

18 years agoRegtest for #135421 (long-form encoding of 'push{l,w} %reg')
Julian Seward [Sat, 18 Nov 2006 23:00:23 +0000 (23:00 +0000)] 
Regtest for #135421 (long-form encoding of 'push{l,w} %reg')

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6360

18 years agoMinor tidying: make initial_client_SP be a mandatory field in struct
Julian Seward [Sat, 18 Nov 2006 14:32:30 +0000 (14:32 +0000)] 
Minor tidying: make initial_client_SP be a mandatory field in struct
_IIFinaliseImageInfo.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6359

18 years agoUpdate.
Julian Seward [Fri, 17 Nov 2006 20:04:43 +0000 (20:04 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6358

18 years agoRedo the interface to m_initimg (module for setting up the initial
Julian Seward [Fri, 17 Nov 2006 20:00:57 +0000 (20:00 +0000)] 
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

18 years agoCFI reader: when decoding the single (address) argument to
Julian Seward [Thu, 16 Nov 2006 12:21:52 +0000 (12:21 +0000)] 
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

18 years agoA test for JECXZ and JCXZ.
Julian Seward [Thu, 16 Nov 2006 11:01:48 +0000 (11:01 +0000)] 
A test for JECXZ and JCXZ.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6355

18 years agoAdd a regtest for the false-uninitialised-value-report bug fixed by
Julian Seward [Tue, 14 Nov 2006 18:36:02 +0000 (18:36 +0000)] 
Add a regtest for the false-uninitialised-value-report bug fixed by
vex r1675.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6354

18 years agoUpdate.
Julian Seward [Tue, 14 Nov 2006 15:58:04 +0000 (15:58 +0000)] 
Update.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6353

18 years agoAdd a regtest for #126147.
Julian Seward [Tue, 14 Nov 2006 15:50:44 +0000 (15:50 +0000)] 
Add a regtest for #126147.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6352

18 years agoAdd a regtest for #125959.
Julian Seward [Tue, 14 Nov 2006 15:07:57 +0000 (15:07 +0000)] 
Add a regtest for #125959.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6351

18 years agochange void* to Addr in mutex helpers. patch by Bard Van Assche.
Dirk Mueller [Tue, 14 Nov 2006 14:32:46 +0000 (14:32 +0000)] 
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

18 years agoSyscall tidying.
Julian Seward [Fri, 10 Nov 2006 22:47:27 +0000 (22:47 +0000)] 
Syscall tidying.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6349

18 years agoUpdate stuff that should be fixed or at least considered for fixing in
Julian Seward [Sat, 4 Nov 2006 18:49:54 +0000 (18:49 +0000)] 
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

18 years agosignedness wibble
Julian Seward [Sat, 4 Nov 2006 18:18:14 +0000 (18:18 +0000)] 
signedness wibble

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6347

18 years agoFix a man page bug.
Nicholas Nethercote [Fri, 3 Nov 2006 19:54:21 +0000 (19:54 +0000)] 
Fix a man page bug.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6345

18 years agoJust use the first two letters of the toolname as the abbreviation.
Nicholas Nethercote [Fri, 3 Nov 2006 19:37:50 +0000 (19:37 +0000)] 
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

18 years agoFix for nested subdirs
Nicholas Nethercote [Fri, 3 Nov 2006 19:35:20 +0000 (19:35 +0000)] 
Fix for nested subdirs

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6343

18 years agoPerf script:
Nicholas Nethercote [Fri, 3 Nov 2006 19:30:33 +0000 (19:30 +0000)] 
Perf script:
- always trace into children
- addrcheck no longer exists

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6342