]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
21 years agoChange the debugger attachment code to send the STOP signal to the
Tom Hughes [Wed, 21 Apr 2004 15:39:57 +0000 (15:39 +0000)] 
Change the debugger attachment code to send the STOP signal to the
forked process before using ptrace() to continue it, instead of asking
ptrace to deliver it, as that doesn't seem to work on some versions
of linux.

CCMAIL: 77824-done@bugs.kde.org

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

21 years agoInitialise %cs, %ds and %ss in the virtual machine to match the values
Tom Hughes [Wed, 21 Apr 2004 15:16:43 +0000 (15:16 +0000)] 
Initialise %cs, %ds and %ss in the virtual machine to match the values
supplied by the operating system for the code, data and stack segments.

Explicit references using these segments still won't work but they
will at least produce an assertion to indicate that they aren't
supported instead of raising a segmentation fault in the target
program because of an apparent privilege violation.

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

21 years agofix typo
Nicholas Nethercote [Wed, 21 Apr 2004 09:17:19 +0000 (09:17 +0000)] 
fix typo

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

21 years agoUpdate for compulsory --tool
Nicholas Nethercote [Wed, 21 Apr 2004 07:22:50 +0000 (07:22 +0000)] 
Update for compulsory --tool

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

21 years agoAddrcheck wasn't instrumenting MMX2a1_MemRd... whoops. Man, those instructions
Nicholas Nethercote [Tue, 20 Apr 2004 10:07:44 +0000 (10:07 +0000)] 
Addrcheck wasn't instrumenting MMX2a1_MemRd... whoops.  Man, those instructions
are a mess.

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

21 years agoWhen printing code and an insane instruction is encountered, ugly-print (giving
Nicholas Nethercote [Sun, 18 Apr 2004 15:20:43 +0000 (15:20 +0000)] 
When printing code and an insane instruction is encountered, ugly-print (giving
full details) it as well as pretty-printing it.

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

21 years agoIntroduce uWiden, similar to uCCall, uCond, etc.
Nicholas Nethercote [Sun, 18 Apr 2004 12:23:02 +0000 (12:23 +0000)] 
Introduce uWiden, similar to uCCall, uCond, etc.

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

21 years agoWith -v, print out contents of /proc/version at startup.
Nicholas Nethercote [Sun, 18 Apr 2004 12:08:46 +0000 (12:08 +0000)] 
With -v, print out contents of /proc/version at startup.

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

21 years agoAdd a "delete:" line to the regression test .vgtest files, to clean up any file
Nicholas Nethercote [Sat, 17 Apr 2004 17:25:08 +0000 (17:25 +0000)] 
Add a "delete:" line to the regression test .vgtest files, to clean up any file
created by the test.  Added appropriate lines to the Cachegrind and Massif
tests.  Should prevent large numbers of files clogging up directories.

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

21 years agoFix bug 73655.
Robert Walsh [Fri, 16 Apr 2004 23:02:29 +0000 (23:02 +0000)] 
Fix bug 73655.

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

21 years agoAdded comment clarifying RDTSC.
Nicholas Nethercote [Fri, 16 Apr 2004 22:21:18 +0000 (22:21 +0000)] 
Added comment clarifying RDTSC.

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

21 years agoIncrease sanity checking on .extra4b field for WIDEN, rename a sanity macro,
Nicholas Nethercote [Fri, 16 Apr 2004 16:16:34 +0000 (16:16 +0000)] 
Increase sanity checking on .extra4b field for WIDEN, rename a sanity macro,
add some missing #undefs for some sanity macros.

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

21 years agoPretty-print WIDENs properly.
Nicholas Nethercote [Fri, 16 Apr 2004 15:39:22 +0000 (15:39 +0000)] 
Pretty-print WIDENs properly.

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

21 years agoImproved pretty-printing:
Nicholas Nethercote [Fri, 16 Apr 2004 11:33:53 +0000 (11:33 +0000)] 
Improved pretty-printing:
 - now showing conditions for CC2VAL and CMOV
 - fixed indenting on JumpKind (-c, -r, -sys, etc)

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

21 years agoFix assertion failure msg.
Nicholas Nethercote [Fri, 16 Apr 2004 08:04:28 +0000 (08:04 +0000)] 
Fix assertion failure msg.

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

21 years agoFix typo, and update bug-reporting procedure.
Nicholas Nethercote [Fri, 16 Apr 2004 07:25:32 +0000 (07:25 +0000)] 
Fix typo, and update bug-reporting procedure.

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

21 years agoMake that damn 'inherit' test stop failing, even if Helgrind isn't doing the
Nicholas Nethercote [Fri, 16 Apr 2004 07:22:42 +0000 (07:22 +0000)] 
Make that damn 'inherit' test stop failing, even if Helgrind isn't doing the
right thing.

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

21 years agoQuiet an overly noisy message.
Jeremy Fitzhardinge [Wed, 14 Apr 2004 07:22:00 +0000 (07:22 +0000)] 
Quiet an overly noisy message.

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

21 years agoFix for bug 77869. Names in stabs are terminated by ':'. Except templated
Jeremy Fitzhardinge [Wed, 14 Apr 2004 07:19:20 +0000 (07:19 +0000)] 
Fix for bug 77869.  Names in stabs are terminated by ':'.  Except templated
names, which can have :: within <> quotes.  Except when it's an operator,
which can have a name like operator<, followed by ::.

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

21 years agoFix new override test.
Robert Walsh [Tue, 13 Apr 2004 19:11:27 +0000 (19:11 +0000)] 
Fix new override test.

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

21 years agoUpdate test for recent "recently" fix.
Robert Walsh [Tue, 13 Apr 2004 19:08:34 +0000 (19:08 +0000)] 
Update test for recent "recently" fix.

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

21 years agoSuppressions of jump errors were broken, because the size was zero and
Nicholas Nethercote [Tue, 13 Apr 2004 08:47:35 +0000 (08:47 +0000)] 
Suppressions of jump errors were broken, because the size was zero and
so caused an assertion failure.  So set size == 1 -- it's only used for
suppressions.

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

21 years agoChanged error message from:
Nicholas Nethercote [Tue, 13 Apr 2004 08:36:35 +0000 (08:36 +0000)] 
Changed error message from:

  Address 0x%x is not stack'd, malloc'd or free'd

to

  Address 0x%x is not stack'd, malloc'd or (recently) free'd

This makes things clearer in some circumstances, particularly when bogusly
accessing heap memory that has been freed, but Memcheck is no longer tracking.

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

21 years agoRemove illegal '-' in @VERSION@.
Nicholas Nethercote [Mon, 12 Apr 2004 09:09:29 +0000 (09:09 +0000)] 
Remove illegal '-' in @VERSION@.

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

21 years agoRemove "pre-history" handling for mutexes -- now that Valgrind has full control
Nicholas Nethercote [Sat, 10 Apr 2004 00:54:42 +0000 (00:54 +0000)] 
Remove "pre-history" handling for mutexes -- now that Valgrind has full control
from the very beginning (thanks to FV) it's no longer necessary.

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

21 years agoAdded 2nd expected stderr output for trivialleak; often one of the 1000 blocks
Nicholas Nethercote [Sat, 10 Apr 2004 00:53:45 +0000 (00:53 +0000)] 
Added 2nd expected stderr output for trivialleak;  often one of the 1000 blocks
by chance retains a pointer.

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

21 years agoUpdate for having added Massif.
Nicholas Nethercote [Sat, 10 Apr 2004 00:36:25 +0000 (00:36 +0000)] 
Update for having added Massif.

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

21 years agoRevamped. Split into sections, added stuff about the name "Valgrind" (where it
Nicholas Nethercote [Sat, 10 Apr 2004 00:29:58 +0000 (00:29 +0000)] 
Revamped.  Split into sections, added stuff about the name "Valgrind" (where it
comes from, pronunciation), removed some obsolete questions, added some new
ones.

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

21 years agoAdded acct() syscall.
Nicholas Nethercote [Sat, 10 Apr 2004 00:26:10 +0000 (00:26 +0000)] 
Added acct() syscall.

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

21 years agoFix bug in hp2ps that caused the title to have negative numbers in it. Thanks
Nicholas Nethercote [Fri, 2 Apr 2004 13:08:40 +0000 (13:08 +0000)] 
Fix bug in hp2ps that caused the title to have negative numbers in it.  Thanks
to Ralf.Wildenhues@gmx.de.

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

21 years agoRemoved unused function.
Nicholas Nethercote [Thu, 1 Apr 2004 15:26:23 +0000 (15:26 +0000)] 
Removed unused function.

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

21 years agoAdded more floating point instruction tests.
Tom Hughes [Wed, 31 Mar 2004 22:47:52 +0000 (22:47 +0000)] 
Added more floating point instruction tests.

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

21 years agoImplement tcdrain in the pthread library. The fact that this function
Tom Hughes [Wed, 31 Mar 2004 15:23:13 +0000 (15:23 +0000)] 
Implement tcdrain in the pthread library. The fact that this function
is missing was reported in bug #70344 but the reporter then closed the
bug saying that they were using the wrong version of valgrind.

Patch from Henrik Algestam <algestam@home.se>.

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

21 years agoFix typo in FPU eflags fix.
Tom Hughes [Sun, 28 Mar 2004 11:36:23 +0000 (11:36 +0000)] 
Fix typo in FPU eflags fix.

CCMAIL: 78514-done@bugs.kde.org

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

21 years agoFor FPU/MMX/SSE instructions which don't reference any memory, make memcheck
Tom Hughes [Sun, 28 Mar 2004 11:26:29 +0000 (11:26 +0000)] 
For FPU/MMX/SSE instructions which don't reference any memory, make memcheck
look at whether the eflags are read or written and generate UCode to validate
and/or mark as valid the eflags when necessary.

CCMAIL: 78514-done@bugs.kde.org

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

21 years agoAdded more floating point instruction tests.
Tom Hughes [Sun, 28 Mar 2004 10:33:51 +0000 (10:33 +0000)] 
Added more floating point instruction tests.

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

21 years agoFix typo that broke tests which compared the contents of eflags.
Tom Hughes [Sun, 28 Mar 2004 08:43:35 +0000 (08:43 +0000)] 
Fix typo that broke tests which compared the contents of eflags.

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

21 years agoIgnore generated files from insn_fpu test.
Tom Hughes [Sun, 28 Mar 2004 00:31:30 +0000 (00:31 +0000)] 
Ignore generated files from insn_fpu test.

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

21 years agoAdded tests for floating point multiple and divide instructions.
Tom Hughes [Sun, 28 Mar 2004 00:30:57 +0000 (00:30 +0000)] 
Added tests for floating point multiple and divide instructions.

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

21 years agoFixed decoding of x87 instructions to handle those taking 16 bit
Tom Hughes [Sat, 27 Mar 2004 18:03:26 +0000 (18:03 +0000)] 
Fixed decoding of x87 instructions to handle those taking 16 bit
integer arguments.

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

21 years agoExtended instruction test system to handle x87 floating point instructions
Tom Hughes [Sat, 27 Mar 2004 18:02:37 +0000 (18:02 +0000)] 
Extended instruction test system to handle x87 floating point instructions
and started working on adding tests for the x87 instruction set.

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

21 years agoAdded some extra .cvsignore entries.
Tom Hughes [Tue, 23 Mar 2004 19:52:03 +0000 (19:52 +0000)] 
Added some extra .cvsignore entries.

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

21 years agoCommit rewrite of semaphore handling to avoid having a fixed upper
Tom Hughes [Tue, 23 Mar 2004 19:48:54 +0000 (19:48 +0000)] 
Commit rewrite of semaphore handling to avoid having a fixed upper
limit. Patch courtesy of Aleksander Salwa <A.Salwa@osmosys.tv>.

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

21 years agoStrip _nocancel from glibc stack traces so that __open_nocancel etc
Tom Hughes [Mon, 22 Mar 2004 19:57:41 +0000 (19:57 +0000)] 
Strip _nocancel from glibc stack traces so that __open_nocancel etc
look like open as seen in traces from older glibcs.

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

21 years agoRedirect _dl_sysinfo_int80, which is glibc's default system call
Tom Hughes [Mon, 22 Mar 2004 19:46:29 +0000 (19:46 +0000)] 
Redirect _dl_sysinfo_int80, which is glibc's default system call
routine, to the routine in our trampoline page so that the
special sysinfo unwind hack in vg_execontext.c will kick in.

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

21 years agoAdd susphello test, which has turned up a number of interesting bugs
Jeremy Fitzhardinge [Wed, 17 Mar 2004 18:20:46 +0000 (18:20 +0000)] 
Add susphello test, which has turned up a number of interesting bugs

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

21 years agoWhen creating new threads, initially block all signals. It's up to the
Jeremy Fitzhardinge [Tue, 16 Mar 2004 22:09:12 +0000 (22:09 +0000)] 
When creating new threads, initially block all signals.  It's up to the
client code (in vg_libpthread.c) to set the appropriate signal mask when
its ready.  This prevents a bug where a thread gets sent a signal before
even running any of its initialization code, which can cause problems
(particularly if the signal handler directly or indirectly uses TLS).

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

21 years agoInit the per-thread sigaltstacks properly. New threads should always
Jeremy Fitzhardinge [Tue, 16 Mar 2004 22:07:12 +0000 (22:07 +0000)] 
Init the per-thread sigaltstacks properly.  New threads should always
appear without a sigaltstack.

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

21 years agoRemove Massif's version number now that it's part of the main distro.
Nicholas Nethercote [Tue, 16 Mar 2004 19:41:14 +0000 (19:41 +0000)] 
Remove Massif's version number now that it's part of the main distro.

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

21 years agoIgnore valgrind core files.
Tom Hughes [Tue, 16 Mar 2004 11:05:16 +0000 (11:05 +0000)] 
Ignore valgrind core files.

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

21 years agoAdded badseg to the list of things to ignore.
Tom Hughes [Tue, 16 Mar 2004 11:04:03 +0000 (11:04 +0000)] 
Added badseg to the list of things to ignore.

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

21 years agoFilter out the ": core dumped" message from test results as the user
Tom Hughes [Tue, 16 Mar 2004 11:03:09 +0000 (11:03 +0000)] 
Filter out the ": core dumped" message from test results as the user
running the tests might have a ulimit set that prevents the core dumps.

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

21 years agoFixed compiler warning.
Tom Hughes [Tue, 16 Mar 2004 10:51:40 +0000 (10:51 +0000)] 
Fixed compiler warning.

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

21 years agoAdded the new badseg test to the list of things to build.
Tom Hughes [Tue, 16 Mar 2004 10:51:29 +0000 (10:51 +0000)] 
Added the new badseg test to the list of things to build.

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

21 years agoThis change does two things: one is the implementation of
Jeremy Fitzhardinge [Tue, 16 Mar 2004 09:49:08 +0000 (09:49 +0000)] 
This change does two things: one is the implementation of
VG_(synth_fault_*), which synthesize faults as if an instruction had
caused a CPU fault.  This is used in two places: one in vg_translate.c,
when trying to fetch instructions from bad memory, and the other in
vg_ldt.c, when using a bad segment register.  This fixes a bug where an
assertion would fail rather than getting a useful message.

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

21 years agoMake the sigaltstack per-thread state, so that two threads handling a
Jeremy Fitzhardinge [Tue, 16 Mar 2004 08:27:29 +0000 (08:27 +0000)] 
Make the sigaltstack per-thread state, so that two threads handling a
signal at once don't share the same stack.

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

21 years agoPrint a backtrace for core-dumping signals, even if we're not actually
Jeremy Fitzhardinge [Tue, 16 Mar 2004 08:20:14 +0000 (08:20 +0000)] 
Print a backtrace for core-dumping signals, even if we're not actually
dumping core.

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

21 years agoOoops. Fix overly-hasty commit.
Jeremy Fitzhardinge [Mon, 15 Mar 2004 23:46:54 +0000 (23:46 +0000)] 
Ooops.  Fix overly-hasty commit.

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

21 years agoBe a bit clearer about core-dumping messages (don't say we are if we're not)
Jeremy Fitzhardinge [Mon, 15 Mar 2004 23:44:11 +0000 (23:44 +0000)] 
Be a bit clearer about core-dumping messages (don't say we are if we're not)

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

21 years agoMove the handling of PSHUFW from the SSE code to the MMX code so that
Tom Hughes [Mon, 15 Mar 2004 16:43:58 +0000 (16:43 +0000)] 
Move the handling of PSHUFW from the SSE code to the MMX code so that
it will work on older Athlons which only have MMXEXT support.

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

21 years agoDon't bother setting the EI_OSABI entry in the core elf header, since
Jeremy Fitzhardinge [Mon, 15 Mar 2004 16:13:06 +0000 (16:13 +0000)] 
Don't bother setting the EI_OSABI entry in the core elf header, since
the kernel doesn't, nobody uses it, and RH7.2 systems don't define it.

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

21 years agoFix compiler warnings.
Tom Hughes [Mon, 15 Mar 2004 12:58:55 +0000 (12:58 +0000)] 
Fix compiler warnings.

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

21 years agoModify the memory manager so it "natively" supports 8-byte alignment,
Julian Seward [Sun, 14 Mar 2004 03:06:37 +0000 (03:06 +0000)] 
Modify the memory manager so it "natively" supports 8-byte alignment,
basically by messing with the block layout.

* Move freelist next ptr from before payload to after it

* Ensure payload and red zones always have sizes which are
  multiples of 8-bytes.

Seems to work OK.  Values returned from the two basic allocator
functions VG_(arena_malloc) and VG_(arena_malloc_aligned) are
vg_asserted to have suitable alignment (== 8, >= 8 && == requested
alignment) respectively.

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

21 years agowhoops
Dirk Mueller [Sat, 13 Mar 2004 02:56:29 +0000 (02:56 +0000)] 
whoops

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

21 years agofix up the other places as well
Dirk Mueller [Sat, 13 Mar 2004 02:49:49 +0000 (02:49 +0000)] 
fix up the other places as well

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

21 years agoClose bug 71906. Set default malloc alignment to 8 rather than 4.
Jeremy Fitzhardinge [Sat, 13 Mar 2004 02:38:33 +0000 (02:38 +0000)] 
Close bug 71906.  Set default malloc alignment to 8 rather than 4.

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

21 years agoFix bug 69872. This change adds a coredumper to vg_signal.c. This means
Jeremy Fitzhardinge [Sat, 13 Mar 2004 02:06:58 +0000 (02:06 +0000)] 
Fix bug 69872.  This change adds a coredumper to vg_signal.c.  This means
that when the client is killed by a coredumping signal, Valgrind will
generate the coredump itself, which is full of client state, rather than
Valgrind state; this core file will therefore be useful to the developer
in debugging their program.

The corefile generated is named vgcore.pidNNNNN (and maybe with .M on
the end in case of duplicates).  If you set a logfile with --logfile,
then this name will be used as the basename for the core file, so that
both the core and the logs will be next to each other.

Valgrind respects the RLIMIT_CORE limit when generating the file; if the
limit is set to 0, then it will not generate one.

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

21 years agohead --> 2.1.2-CVS so as to distinguish it from everything else :-)
Julian Seward [Sat, 13 Mar 2004 00:49:39 +0000 (00:49 +0000)] 
head --> 2.1.2-CVS  so as to distinguish it from everything else :-)

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

21 years agoUpdate for 2.1.1.
Julian Seward [Fri, 12 Mar 2004 21:07:05 +0000 (21:07 +0000)] 
Update for 2.1.1.

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

21 years agoFix "make distcheck", and also make sure that the generated archive
Jeremy Fitzhardinge [Fri, 12 Mar 2004 10:51:39 +0000 (10:51 +0000)] 
Fix "make distcheck", and also make sure that the generated archive
contains everything needed to "make regtest".  Bump the version.

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

21 years agoPartially unbreak 'make distcheck'.
Julian Seward [Fri, 12 Mar 2004 01:22:30 +0000 (01:22 +0000)] 
Partially unbreak 'make distcheck'.

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

21 years agoOops, passing wrong thing to st_mkarray
Jeremy Fitzhardinge [Thu, 11 Mar 2004 00:40:11 +0000 (00:40 +0000)] 
Oops, passing wrong thing to st_mkarray

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

21 years agoAnonymise path names for libc's built with debg symbols.
Tom Hughes [Tue, 9 Mar 2004 09:59:26 +0000 (09:59 +0000)] 
Anonymise path names for libc's built with debg symbols.

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

21 years agoAdd an alternate (appropriately filtered) result for some systems.
Tom Hughes [Tue, 9 Mar 2004 09:16:35 +0000 (09:16 +0000)] 
Add an alternate (appropriately filtered) result for some systems.

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

21 years agoFix expected standard error output for mmxext tests to resolve
Tom Hughes [Tue, 9 Mar 2004 08:50:02 +0000 (08:50 +0000)] 
Fix expected standard error output for mmxext tests to resolve
differences in the amount of whitespace left with different skins.

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

21 years agoFix bug 69856; teach Helgrind about all the new SSE-related UOps.
Jeremy Fitzhardinge [Tue, 9 Mar 2004 02:45:07 +0000 (02:45 +0000)] 
Fix bug 69856; teach Helgrind about all the new SSE-related UOps.
Haven't actually tested races with all those new memory access
instructions though...

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

21 years agoUse Tom's instruction set tests on all tools which do instrumentation, so
Jeremy Fitzhardinge [Tue, 9 Mar 2004 01:44:11 +0000 (01:44 +0000)] 
Use Tom's instruction set tests on all tools which do instrumentation, so
we can make it's OK for all instructions.  Helgrind is badly broken in this
test (bug 69856).

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

21 years agoFix for bug 73892; implement 'S' set/bitstring stabs type.
Jeremy Fitzhardinge [Tue, 9 Mar 2004 01:20:47 +0000 (01:20 +0000)] 
Fix for bug 73892; implement 'S' set/bitstring stabs type.

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

21 years agoRaise RLIMIT_AS to max allowable, so that we can create the large mappings
Jeremy Fitzhardinge [Tue, 9 Mar 2004 00:57:45 +0000 (00:57 +0000)] 
Raise RLIMIT_AS to max allowable, so that we can create the large mappings
we need to.  If the hard limit is set to low, then things will fail as
large mmaps fail.

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

21 years agoCope with strange templated symbol names containing quoted ':'.
Jeremy Fitzhardinge [Tue, 9 Mar 2004 00:43:08 +0000 (00:43 +0000)] 
Cope with strange templated symbol names containing quoted ':'.

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

21 years agoRemove function which is no longer used following the changes to
Tom Hughes [Mon, 8 Mar 2004 15:57:17 +0000 (15:57 +0000)] 
Remove function which is no longer used following the changes to
the handling of libc thread specific data.

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

21 years agoTurn off warning with -q.
Nicholas Nethercote [Mon, 8 Mar 2004 15:37:58 +0000 (15:37 +0000)] 
Turn off warning with -q.

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

21 years agoAdd some alternate regression test results for older libc's.
Tom Hughes [Sun, 7 Mar 2004 19:40:33 +0000 (19:40 +0000)] 
Add some alternate regression test results for older libc's.

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

21 years agoFix the handling of libc thread specific data so that it doesn't rely on
Tom Hughes [Sun, 7 Mar 2004 19:36:14 +0000 (19:36 +0000)] 
Fix the handling of libc thread specific data so that it doesn't rely on
being able to use malloc as the libc malloc tries to use thread specific
data and we wind up in a recursive nightmare.

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

21 years agoBe slightly less verbose at -v.
Julian Seward [Sun, 7 Mar 2004 10:23:20 +0000 (10:23 +0000)] 
Be slightly less verbose at -v.

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

21 years agoTreat INT with an operand other than 0x80 as an undefined instruction.
Tom Hughes [Sat, 6 Mar 2004 12:53:24 +0000 (12:53 +0000)] 
Treat INT with an operand other than 0x80 as an undefined instruction.
CCMAIL: 76839-done@bugs.kde.org

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

21 years agoWe need to specify some version.
Jeremy Fitzhardinge [Sat, 6 Mar 2004 00:14:42 +0000 (00:14 +0000)] 
We need to specify some version.

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

21 years agoFix bug 76780 - implement stabs type '@' for pointer to member.
Jeremy Fitzhardinge [Fri, 5 Mar 2004 05:43:42 +0000 (05:43 +0000)] 
Fix bug 76780 - implement stabs type '@' for pointer to member.

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

21 years agoAdd support for 16 bit pushes and pops of segment registers to
Tom Hughes [Thu, 4 Mar 2004 23:36:58 +0000 (23:36 +0000)] 
Add support for 16 bit pushes and pops of segment registers to
fix bug #76762.

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

21 years agoList memalign as an allocator.
Jeremy Fitzhardinge [Thu, 4 Mar 2004 22:42:03 +0000 (22:42 +0000)] 
List memalign as an allocator.

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

21 years agoRemove comma from last element of enum; C++ apparently doesn't allow it.
Nicholas Nethercote [Thu, 4 Mar 2004 18:05:55 +0000 (18:05 +0000)] 
Remove comma from last element of enum;  C++ apparently doesn't allow it.

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

21 years agoDon't intercept mmap yet, until everything else is in place to deal
Jeremy Fitzhardinge [Tue, 2 Mar 2004 21:40:07 +0000 (21:40 +0000)] 
Don't intercept mmap yet, until everything else is in place to deal
with it.

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

21 years agoFix assertion failure when using VG_(system) near program termination.
Jeremy Fitzhardinge [Tue, 2 Mar 2004 21:38:51 +0000 (21:38 +0000)] 
Fix assertion failure when using VG_(system) near program termination.
The problem is that the use of VG_(system) causes a SIGCHLD to be sent
to the process, which ends up being delivered to one of the proxy LWPs
(which is a small problem in itself, but nothing too bad).

The proxy tells the scheduler LWP about this, and the scheduler LWP sends
a sigACK reply.

Then, while the proxy LWP is in the SigACK state, and the SigACK reply
is still queued in the message pipe, the scheduler LWP starts shutting
Valgrind down, and sends a SIGVGKILL to all proxy LWPs.  This causes
the proxy to drop from sigACK state to WaitReq state, and it reads
further commands - one of which is the SigACK message - this causes the
assertion failure.

The fix is to simply make the proxy LWP exit immediately when it gets
a SIGVGKILL, and not process any more requests.

This change also fixes a bug in VG_(system), in which the child process
returns back into Valgrind rather than exiting when exec fails.

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

21 years agoMake vg_regtest return 1 if any tests fail. Useful for scripts that call it.
Nicholas Nethercote [Mon, 1 Mar 2004 08:27:37 +0000 (08:27 +0000)] 
Make vg_regtest return 1 if any tests fail.  Useful for scripts that call it.

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

21 years agoremove arch subdir for 2.1.1 release
Dirk Mueller [Mon, 1 Mar 2004 03:25:09 +0000 (03:25 +0000)] 
remove arch subdir for 2.1.1 release

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

21 years agoPatch from Bartosz Taudul: latest GCC requires regparm(n) attributes on both
Nicholas Nethercote [Sun, 29 Feb 2004 15:50:04 +0000 (15:50 +0000)] 
Patch from Bartosz Taudul:  latest GCC requires regparm(n) attributes on both
function declarations and definitions.

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

21 years agoAdded some extra suppressions for glibc 2.2.5 on RedHat 7.3 systems.
Tom Hughes [Sun, 29 Feb 2004 13:00:51 +0000 (13:00 +0000)] 
Added some extra suppressions for glibc 2.2.5 on RedHat 7.3 systems.

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

21 years agoModified the basic standard error filter to strip out line info out of
Tom Hughes [Sun, 29 Feb 2004 13:00:18 +0000 (13:00 +0000)] 
Modified the basic standard error filter to strip out line info out of
order warnings which some systems seem to produce.

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

21 years agoAdd an extra suppression for glibc 2.3.2 on RedHat 8.0 systems.
Tom Hughes [Sun, 29 Feb 2004 12:42:12 +0000 (12:42 +0000)] 
Add an extra suppression for glibc 2.3.2 on RedHat 8.0 systems.

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

21 years agoChanged the fdleak tests to explicitly attach /dev/null as the standard
Tom Hughes [Sun, 29 Feb 2004 12:02:32 +0000 (12:02 +0000)] 
Changed the fdleak tests to explicitly attach /dev/null as the standard
input so that the output is well known regardless of whether the test is
run from a terminal or from cron.

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