]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
22 years agoConvert VG_(exitcode), a global variable, into a local variable.
Nicholas Nethercote [Tue, 22 Jun 2004 14:18:42 +0000 (14:18 +0000)] 
Convert VG_(exitcode), a global variable, into a local variable.

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

22 years agoRemove a function and global variable no longer needed.
Nicholas Nethercote [Tue, 22 Jun 2004 14:09:52 +0000 (14:09 +0000)] 
Remove a function and global variable no longer needed.

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

22 years agoUpdate .cvsignore files
Nicholas Nethercote [Tue, 22 Jun 2004 14:01:40 +0000 (14:01 +0000)] 
Update .cvsignore files

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

22 years agoSlightly disentangle main().
Nicholas Nethercote [Tue, 22 Jun 2004 14:00:09 +0000 (14:00 +0000)] 
Slightly disentangle main().

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

22 years agoRemove two no-longer-used global vars.
Nicholas Nethercote [Tue, 22 Jun 2004 13:19:21 +0000 (13:19 +0000)] 
Remove two no-longer-used global vars.

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

22 years agoPrevent applications from blocking SIGVGINT in the proxy threads.
Tom Hughes [Tue, 22 Jun 2004 08:43:29 +0000 (08:43 +0000)] 
Prevent applications from blocking SIGVGINT in the proxy threads.

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

22 years agoStreamlined --help message a bit.
Nicholas Nethercote [Mon, 21 Jun 2004 13:27:11 +0000 (13:27 +0000)] 
Streamlined --help message a bit.

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

22 years agoRenamed the following options:
Nicholas Nethercote [Mon, 21 Jun 2004 12:42:35 +0000 (12:42 +0000)] 
Renamed the following options:

  --logfile-fd  -->  --log-fd
  --logfile     -->  --log-file
  --logsocket   -->  --log-socket

to be consistent with each other and other options (esp. --input-fd).  Also
renamed some related variables.  The old names still work, for backwards
compatibility, but they're not documented.

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

22 years agoAdd copyright.
Julian Seward [Sun, 20 Jun 2004 12:27:19 +0000 (12:27 +0000)] 
Add copyright.

git-svn-id: svn://svn.valgrind.org/vex/trunk@15

22 years agoAdd new files, for defining the IR.
Julian Seward [Sun, 20 Jun 2004 12:26:53 +0000 (12:26 +0000)] 
Add new files, for defining the IR.

git-svn-id: svn://svn.valgrind.org/vex/trunk@14

22 years agoNew file.
Julian Seward [Sun, 20 Jun 2004 11:25:49 +0000 (11:25 +0000)] 
New file.
-wThis line, and those below, will be ignored--

A    backend
A    backend/basictypes.h

git-svn-id: svn://svn.valgrind.org/vex/trunk@13

22 years agoMemory pool support.
Robert Walsh [Sat, 19 Jun 2004 18:12:36 +0000 (18:12 +0000)] 
Memory pool support.

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

22 years agoDon't try and validate the contents of the environment passed to
Tom Hughes [Sat, 19 Jun 2004 13:02:34 +0000 (13:02 +0000)] 
Don't try and validate the contents of the environment passed to
the execve system call if the envp pointer is null as it causes
valgrind to die with a segmentation fault.

CCMAIL: 83573-done@bugs.kde.org

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

22 years agoAdd support for the FIGETBSZ and FIBMAP ioctls based on a patch
Tom Hughes [Sat, 19 Jun 2004 12:41:05 +0000 (12:41 +0000)] 
Add support for the FIGETBSZ and FIBMAP ioctls based on a patch
from Joseph D Wagner <theman@josephdwagner.info>.

CCMAIL: 83025-done@bugs.kde.org

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

22 years agoAdd support for the HDIO_GET_IDENTITY ioctl based on patch
Tom Hughes [Sat, 19 Jun 2004 12:12:01 +0000 (12:12 +0000)] 
Add support for the HDIO_GET_IDENTITY ioctl based on patch
from Jim McDonald <jim@mcdee.net>.

CCMAIL: 83340-done@bugs.kde.org

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

22 years agoAdd support for SIOCGMIIPHY, SIOCGMIIREG and SIOCSMIIREG ioctls and
Tom Hughes [Thu, 17 Jun 2004 23:04:58 +0000 (23:04 +0000)] 
Add support for SIOCGMIIPHY, SIOCGMIIREG and SIOCSMIIREG ioctls and
improve the checking of other interface related ioctls.

Based in part on a patch from Jim McDonald <jim@mcdee.net> supplied
as a fix for bug #83344.

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

22 years agomake "make dist" work.
Oswald Buddenhagen [Thu, 17 Jun 2004 13:25:47 +0000 (13:25 +0000)] 
make "make dist" work.

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

22 years agoIntroduced 4 macros to minimise boilerplate command line processing code.
Nicholas Nethercote [Wed, 16 Jun 2004 21:26:32 +0000 (21:26 +0000)] 
Introduced 4 macros to minimise boilerplate command line processing code.
Nicely cuts around 130 lines of code, spread over the core and several tools.

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

22 years agoAdded VG_(cpuid) to replace the various bits of inline assembler used
Tom Hughes [Wed, 16 Jun 2004 20:51:45 +0000 (20:51 +0000)] 
Added VG_(cpuid) to replace the various bits of inline assembler used
to query the CPU characteristics as the use of four implicit registers
causes havoc when GCC tries to inline and optimise the assembler.

Fix to bug #79696.

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

22 years agoReinstate -h option, which disappeared at some point.
Nicholas Nethercote [Wed, 16 Jun 2004 11:56:29 +0000 (11:56 +0000)] 
Reinstate -h option, which disappeared at some point.

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

22 years agoRemoved documentation references to the 'ioctl-VTIME' and 'truncate-writes'
Nicholas Nethercote [Wed, 16 Jun 2004 11:51:08 +0000 (11:51 +0000)] 
Removed documentation references to the 'ioctl-VTIME' and 'truncate-writes'
weird hacks, which no longer exist thanks to the proxy lwp stuff.

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

22 years agoFixed up various command line option scenarios:
Nicholas Nethercote [Tue, 15 Jun 2004 10:54:40 +0000 (10:54 +0000)] 
Fixed up various command line option scenarios:
  - If no tool is specified, V now gives a short message and a list of
    available tools.  This was meant to happen previously, but a bug prevented
    it from working properly;  it gave the usage message instead.

  - If a bad option is given, V now gives a short message rather than the full
    --help.  This make V consistent with all other programs I looked at.

  - Now returning 0 when you do 'valgrind --help' and 'valgrind --version'
    as other programs do.

  - Removed VG_(startup_logging)() and VG_(shutdown_logging)() as they were
    empty and have been for a long time (always?).

  - Added various tests for these scenarios.  Had to change the regtest
    script slightly to allow for malformed command lines.

This addresses bug (wishlist) #82999.

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

22 years agoCater for systems lacking AT_SYSINFO.
Nicholas Nethercote [Tue, 15 Jun 2004 08:34:10 +0000 (08:34 +0000)] 
Cater for systems lacking AT_SYSINFO.

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

22 years agoDon't bother trying to test semtimedop if it isn't available.
Tom Hughes [Mon, 14 Jun 2004 17:27:41 +0000 (17:27 +0000)] 
Don't bother trying to test semtimedop if it isn't available.

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

22 years agoInclude config.h so that the test for semtimedop works.
Tom Hughes [Mon, 14 Jun 2004 13:15:40 +0000 (13:15 +0000)] 
Include config.h so that the test for semtimedop works.

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

22 years agoFixed the sem test to work on systems with semtimedop.
Tom Hughes [Mon, 14 Jun 2004 12:33:43 +0000 (12:33 +0000)] 
Fixed the sem test to work on systems with semtimedop.

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

22 years agoUnbreak compilation due to missing #define.
Nicholas Nethercote [Mon, 14 Jun 2004 11:56:59 +0000 (11:56 +0000)] 
Unbreak compilation due to missing #define.

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

22 years agoFix problem with FC2's vdso (sysinfo) page, which lives at a low,
Jeremy Fitzhardinge [Mon, 14 Jun 2004 02:36:09 +0000 (02:36 +0000)] 
Fix problem with FC2's vdso (sysinfo) page, which lives at a low,
random address.  This gets unmapped as part of the client setup, and
causes syscalls to fail as a result.  This patch simply disregards the
sysinfo page.  It seems like a blunt fix, but I don't think anything
depends on a sysinfo page.

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

22 years agoFixed cast to work on NPTL systems.
Tom Hughes [Sun, 13 Jun 2004 14:35:43 +0000 (14:35 +0000)] 
Fixed cast to work on NPTL systems.

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

22 years agoAdd support for the semtimedop system call.
Tom Hughes [Sun, 13 Jun 2004 14:23:00 +0000 (14:23 +0000)] 
Add support for the semtimedop system call.

Based on patch from Peter Knaggs <sedragdnuon@yahoo.com>.

CCMAIL: 79714-done@bugs.kde.org

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

22 years agoWhen cancelling a thread that is waiting on a condition variable we
Tom Hughes [Sun, 13 Jun 2004 12:07:53 +0000 (12:07 +0000)] 
When cancelling a thread that is waiting on a condition variable we
need to relock the associated mutex before running the cancellation
handlers.

This patch ensures that the mutex is reaquired in the above case and
also makes pthread_join and pthread_cond_wait act as cancellation points
as required by the POSIX threads standard.

Based on patch from Joseph Link <joelink@joelink.net>.

CCMAIL: 81297-done@bugs.kde.org

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

22 years agoAdd support for separate debug files, which are just separate ELF files
Tom Hughes [Sun, 13 Jun 2004 09:59:02 +0000 (09:59 +0000)] 
Add support for separate debug files, which are just separate ELF files
containing the relevant debug sections and located using the information
in the .gnu_debuglink section of the main file along with some search
rules and checksum logic borrowed from binutils/gdb.

CCMAIL: 82872-done@bugs.kde.org

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

22 years agoAdd a strrchr implementation.
Tom Hughes [Sun, 13 Jun 2004 09:55:22 +0000 (09:55 +0000)] 
Add a strrchr implementation.

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

22 years agoFixed the NPTL cleanup handler support to try and make sure it will
Tom Hughes [Sat, 12 Jun 2004 17:25:25 +0000 (17:25 +0000)] 
Fixed the NPTL cleanup handler support to try and make sure it will
compile on systems with NPTL header files.

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

22 years agoIt appears that NPTL uses a new system for dealing with cleanup
Tom Hughes [Sat, 12 Jun 2004 12:58:22 +0000 (12:58 +0000)] 
It appears that NPTL uses a new system for dealing with cleanup
handlers when a thread is cancelled which has the side effect that
programs linked with librt fail on Fedora Core 2 due to librt having
been built against the NPTL header instead of the old pthread headers.

This change extends valgrind's libpthread.so to handle both the old
and new style cleanup handlers in a similar way to NPTL and seems to
be sufficient to get programs linked with librt working again.

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

22 years agoThere is no __accept in any libc or libpthread that I can find so
Tom Hughes [Fri, 4 Jun 2004 21:42:18 +0000 (21:42 +0000)] 
There is no __accept in any libc or libpthread that I can find so
it isn't clear why we were intercepting that and only aliasing accept
to it. Switched to intercepting accept directly instead.

CCMAIL: 76869-done@bugs.kde.org

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

22 years agoAdd an extra suppression for Fedora Core 2/glibc 2.3.3 systems.
Tom Hughes [Thu, 3 Jun 2004 18:42:34 +0000 (18:42 +0000)] 
Add an extra suppression for Fedora Core 2/glibc 2.3.3 systems.

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

22 years agoChanged cancellation wrappers to use dlsym(RTLD_NEXT) to look up the
Tom Hughes [Thu, 3 Jun 2004 18:00:58 +0000 (18:00 +0000)] 
Changed cancellation wrappers to use dlsym(RTLD_NEXT) to look up the
libc version of the wrapped function when forwarding the call rather
than trying to call the internal __libc_xxx version of the routine
as many of those are marked as GLIBC_PRIVATE in recent releases.

CCMAIL: 82026-done@bugs.kde.org

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

22 years agoOops - fix up broken assert.
Jeremy Fitzhardinge [Thu, 3 Jun 2004 17:12:07 +0000 (17:12 +0000)] 
Oops - fix up broken assert.

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

22 years agoPartial fix for bug 76869. This fixes the problem with returning from
Jeremy Fitzhardinge [Thu, 3 Jun 2004 10:00:42 +0000 (10:00 +0000)] 
Partial fix for bug 76869.  This fixes the problem with returning from
a signal handler when VDSOs are turned off in FC2.  Note that we don't
(yet) support VDSOs being on (use "echo 0 > /proc/sys/kernel/vdso").

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

22 years agoFix wishlist item 82098, thanks to Ralf Wildenhues:
Nicholas Nethercote [Wed, 2 Jun 2004 20:43:24 +0000 (20:43 +0000)] 
Fix wishlist item 82098, thanks to Ralf Wildenhues:

  ANSIfication of the hp2ps code. The most important changes are the correct
  use of the stdarg mechanism (former hacks could bite on other systems, so
  please tell upstream), inclusion of stdlib.h instead of declaring free
  yourself, adding a few missed PROTO()s and using size_t for xmalloc and
  xrealloc.:

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

22 years agoAdded "repne movs", not official but seems to occur. Also restructured the
Nicholas Nethercote [Wed, 2 Jun 2004 14:48:16 +0000 (14:48 +0000)] 
Added "repne movs", not official but seems to occur.  Also restructured the
rep/repe/repne cases to use a switch instead of if/else, as it's cleaner.

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

22 years agoFix patch from this morning -- missing commas, erk
Nicholas Nethercote [Tue, 11 May 2004 16:37:17 +0000 (16:37 +0000)] 
Fix patch from this morning -- missing commas, erk

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

22 years agoTeach Massif about the 'nothrow' versions of new and new[].
Nicholas Nethercote [Tue, 11 May 2004 09:21:08 +0000 (09:21 +0000)] 
Teach Massif about the 'nothrow' versions of new and new[].

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

22 years agoUpdate copyright
Nicholas Nethercote [Tue, 11 May 2004 09:17:49 +0000 (09:17 +0000)] 
Update copyright

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

22 years agoFix for bug #80942.
Nicholas Nethercote [Wed, 5 May 2004 10:46:22 +0000 (10:46 +0000)] 
Fix for bug #80942.

Addrcheck wasn't doing overlap checking as it should.  This is because
mac_replace_strmem.o was being linked with vgskin_addrcheck.so instead of
vgpreload_addrcheck.so.  I fixed the Makefile, and also moved
_VG_USERREQ__MEMCHECK_GET_RECORD_OVERLAP so Addrcheck could see it.  And I
added the 'overlap' test (from memcheck/tests/) to Addrcheck's regression
suite.

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

22 years agoFix comment
Nicholas Nethercote [Tue, 4 May 2004 11:25:34 +0000 (11:25 +0000)] 
Fix comment

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

22 years agoSuppressions for Fedora Core 2.
Robert Walsh [Thu, 29 Apr 2004 08:50:44 +0000 (08:50 +0000)] 
Suppressions for Fedora Core 2.

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

22 years agoImplement syscall 258, for those of use running Fedora Core 2.
Robert Walsh [Thu, 29 Apr 2004 08:40:50 +0000 (08:40 +0000)] 
Implement syscall 258, for those of use running Fedora Core 2.

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

22 years agoFix for bug 79355: fix up bogus assertion that was failing when
Nicholas Nethercote [Tue, 27 Apr 2004 09:51:51 +0000 (09:51 +0000)] 
Fix for bug 79355:  fix up bogus assertion that was failing when
stack_snapshot() returned 0xffffffff as one of its eip values.

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

22 years agoAdd missing SSE case for Memcheck's instrumentation (sigh).
Nicholas Nethercote [Mon, 26 Apr 2004 13:06:16 +0000 (13:06 +0000)] 
Add missing SSE case for Memcheck's instrumentation (sigh).

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

22 years agoTighten MOV's sanity checking slightly
Nicholas Nethercote [Mon, 26 Apr 2004 09:21:25 +0000 (09:21 +0000)] 
Tighten MOV's sanity checking slightly

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

22 years agoSplit some combined error messages, so they are more informative. Also return
Nicholas Nethercote [Mon, 26 Apr 2004 08:05:24 +0000 (08:05 +0000)] 
Split some combined error messages, so they are more informative.  Also return
EPERM where appropriate, instead of EINVAL.

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

22 years agoFix supps for Valgrind's own libpthread leak.
Nicholas Nethercote [Sun, 25 Apr 2004 12:02:31 +0000 (12:02 +0000)] 
Fix supps for Valgrind's own libpthread leak.

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

22 years agoFix bug in helper_{IN,OUT} -- they weren't preserving %eflags as they should.
Nicholas Nethercote [Thu, 22 Apr 2004 18:47:07 +0000 (18:47 +0000)] 
Fix bug in helper_{IN,OUT} -- they weren't preserving %eflags as they should.

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

22 years agoCope with AT_xCACHEBSIZE not being defined, which they aren't on systems
Tom Hughes [Thu, 22 Apr 2004 18:12:31 +0000 (18:12 +0000)] 
Cope with AT_xCACHEBSIZE not being defined, which they aren't on systems
with 2.2 kernels and, it seems, on some systems with 2.4 kernels.

CCMAIL: 79179-done@bugs.kde.org

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

22 years agoSETV and TESTV never have an ArchReg as their first argument.
Nicholas Nethercote [Thu, 22 Apr 2004 12:58:05 +0000 (12:58 +0000)] 
SETV and TESTV never have an ArchReg as their first argument.

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

22 years agoMake support for the FBIOGET ioctls conditional on linux/fb.h being
Tom Hughes [Thu, 22 Apr 2004 07:28:43 +0000 (07:28 +0000)] 
Make support for the FBIOGET ioctls conditional on linux/fb.h being
present at compile time.

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

22 years agoAdd support for the FBIOGET_VSCREENINFO and FBIOGET_FSCREENINFO ioctls
Tom Hughes [Wed, 21 Apr 2004 15:52:33 +0000 (15:52 +0000)] 
Add support for the FBIOGET_VSCREENINFO and FBIOGET_FSCREENINFO ioctls
based on a patch from Paul Olav Tvete <paul@trolltech.com>.

CCMAIL: 77022-done@bugs.kde.org

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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 years agoMerged into linker.c
Julian Seward [Sun, 4 Apr 2004 23:47:43 +0000 (23:47 +0000)] 
Merged into linker.c

git-svn-id: svn://svn.valgrind.org/vex/trunk@12

22 years agoAdd JIT stuff from runner.c.
Julian Seward [Sun, 4 Apr 2004 23:46:44 +0000 (23:46 +0000)] 
Add JIT stuff from runner.c.

git-svn-id: svn://svn.valgrind.org/vex/trunk@11

22 years agoRudimentary support for translation table, run-time despatcher, etc.
Julian Seward [Sun, 4 Apr 2004 21:02:11 +0000 (21:02 +0000)] 
Rudimentary support for translation table, run-time despatcher, etc.

git-svn-id: svn://svn.valgrind.org/vex/trunk@10

22 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

22 years agoAnother test commit.
Julian Seward [Thu, 1 Apr 2004 21:46:34 +0000 (21:46 +0000)] 
Another test commit.

git-svn-id: svn://svn.valgrind.org/vex/trunk@9

22 years agoTest commit.
Julian Seward [Thu, 1 Apr 2004 21:14:52 +0000 (21:14 +0000)] 
Test commit.

git-svn-id: svn://svn.valgrind.org/vex/trunk@8

22 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

22 years agoMake FFI stuff work well enough to get the C linker to load and
Julian Seward [Wed, 31 Mar 2004 23:25:47 +0000 (23:25 +0000)] 
Make FFI stuff work well enough to get the C linker to load and
link some object modules.

git-svn-id: svn://svn.valgrind.org/vex/trunk@7

22 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

22 years agoAdd Makefile, in which to record hugs FFI magic incantations
Julian Seward [Wed, 31 Mar 2004 22:08:37 +0000 (22:08 +0000)] 
Add Makefile, in which to record hugs FFI magic incantations

git-svn-id: svn://svn.valgrind.org/vex/trunk@6

22 years agoHooks for the stuff in linker.c
Julian Seward [Wed, 31 Mar 2004 21:52:09 +0000 (21:52 +0000)] 
Hooks for the stuff in linker.c

git-svn-id: svn://svn.valgrind.org/vex/trunk@5

22 years agoMake most functions static.
Julian Seward [Wed, 31 Mar 2004 21:42:30 +0000 (21:42 +0000)] 
Make most functions static.

git-svn-id: svn://svn.valgrind.org/vex/trunk@4