]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
21 years agoDon't read symbol tables for .so's that constitute part of Valgrind
Julian Seward [Mon, 14 Mar 2005 19:11:10 +0000 (19:11 +0000)] 
Don't read symbol tables for .so's that constitute part of Valgrind
itself.  Doing so -- in this case for libc.so.6 -- confuses the
redirection machinery and so messes up redirections to
mac_replace_strmem.c, which in turn causes memcheck to report
spurious errors.

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

21 years agoBuild fixes for gcc-2.96 (be more ANSI C compliant wrt placement
Julian Seward [Mon, 14 Mar 2005 18:19:08 +0000 (18:19 +0000)] 
Build fixes for gcc-2.96 (be more ANSI C compliant wrt placement
of local variable declarations).

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

21 years agoDescription of the master thread stuff.
Julian Seward [Mon, 14 Mar 2005 17:32:52 +0000 (17:32 +0000)] 
Description of the master thread stuff.

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

21 years agoFixed ghelper mullwo overflow calc
Cerion Armour-Brown [Mon, 14 Mar 2005 16:31:15 +0000 (16:31 +0000)] 
Fixed ghelper mullwo overflow calc

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

21 years agoFixed front-end slw for sh_amt of 32 to 64
Cerion Armour-Brown [Mon, 14 Mar 2005 16:30:09 +0000 (16:30 +0000)] 
Fixed front-end slw for sh_amt of 32 to 64

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

21 years agoA place to accumulate documentation for the hairiest bits of the
Julian Seward [Mon, 14 Mar 2005 13:35:15 +0000 (13:35 +0000)] 
A place to accumulate documentation for the hairiest bits of the
system.

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

21 years agoReinstated Memcheck. Did the full merge from CVS, except for the
Nicholas Nethercote [Mon, 14 Mar 2005 02:42:44 +0000 (02:42 +0000)] 
Reinstated Memcheck.  Did the full merge from CVS, except for the
user-specified block stuff, which confused me because I wasn't sure whether
to use the code already in SVN, or the code in CVS.  Perhaps that code
doesn't need to be changed.

Unfortunately, Memcheck doesn't work entirely correctly -- I get some
spurious errors.  Nonetheless I'm checking it in as a starting point.

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

21 years agoReinstate Addrcheck. Some of the tests fail -- some of the leak ones
Nicholas Nethercote [Mon, 14 Mar 2005 01:16:05 +0000 (01:16 +0000)] 
Reinstate Addrcheck.  Some of the tests fail -- some of the leak ones
because the added VG_(find_root_memory)() is just a stub.  And there's a
problem with overlap checking that I haven't worked out yet.  Still it's a
start.  The commit also brings Memcheck back into the build process,
although mc_main.c is entirely commented out at the moment.

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

21 years agoRemove needless insn* tests. (They were removed once before, but were
Nicholas Nethercote [Mon, 14 Mar 2005 01:06:08 +0000 (01:06 +0000)] 
Remove needless insn* tests.  (They were removed once before, but were
accidentally re-included as part of the CVS/SVN merge.)

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

21 years agoCommit half-baked attempts to get memcheck and addrcheck to build.
Julian Seward [Mon, 14 Mar 2005 00:14:04 +0000 (00:14 +0000)] 
Commit half-baked attempts to get memcheck and addrcheck to build.

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

21 years agoFor the CLIENT_CALLn client requests, we must pass in the ThreadId as the
Nicholas Nethercote [Sun, 13 Mar 2005 23:07:30 +0000 (23:07 +0000)] 
For the CLIENT_CALLn client requests, we must pass in the ThreadId as the
first argument to the function.  This seemingly got lost in the CVS+SVN
merge, which meant that any function called with these client requests was
getting totally mixed-up arguments.  Since TL_(malloc)() and friends are
called this way, this was affecting all tools that replace malloc(), ie.
Memcheck, Addrcheck, Helgrind, Massif.

Massif is now working again for me as a result of this fix.  I haven't tried
the other tools yet.

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

21 years agoFix minor problems in filters. This helps a couple of massif tests to pass.
Nicholas Nethercote [Sun, 13 Mar 2005 21:40:26 +0000 (21:40 +0000)] 
Fix minor problems in filters.  This helps a couple of massif tests to pass.

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

21 years agoFill in missing memory case for pinsrw.
Julian Seward [Sun, 13 Mar 2005 20:19:19 +0000 (20:19 +0000)] 
Fill in missing memory case for pinsrw.

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

21 years agoThe IR sanity checker quite rightly jumps up and down on the ill-typed
Julian Seward [Sun, 13 Mar 2005 19:52:45 +0000 (19:52 +0000)] 
The IR sanity checker quite rightly jumps up and down on the ill-typed
IR that this can generate.  Get it right this time.

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

21 years agoReenable mov imm,$reg. Curious this never happened before.
Julian Seward [Sun, 13 Mar 2005 19:31:58 +0000 (19:31 +0000)] 
Reenable mov imm,$reg.  Curious this never happened before.

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

21 years agoOops. The code redir subsystem would work better if it actually got
Julian Seward [Sun, 13 Mar 2005 18:57:15 +0000 (18:57 +0000)] 
Oops.  The code redir subsystem would work better if it actually got
initialised.

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

21 years agoSo what if we are ignoring a branch hint? No need to shout about it.
Julian Seward [Sun, 13 Mar 2005 18:56:28 +0000 (18:56 +0000)] 
So what if we are ignoring a branch hint?  No need to shout about it.

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

21 years agocomment-only change
Nicholas Nethercote [Sun, 13 Mar 2005 18:53:34 +0000 (18:53 +0000)] 
comment-only change

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

21 years agoRemove "VG_" prefix from non-global macros.
Nicholas Nethercote [Sun, 13 Mar 2005 18:52:48 +0000 (18:52 +0000)] 
Remove "VG_" prefix from non-global macros.

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

21 years agoAvoid name clash with builtin isdigit().
Nicholas Nethercote [Sun, 13 Mar 2005 18:49:00 +0000 (18:49 +0000)] 
Avoid name clash with builtin isdigit().

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

21 years agoGet rid of VG_(malloc_aligned)(), and make VG_(arena_malloc_aligned)() local
Nicholas Nethercote [Sun, 13 Mar 2005 18:33:02 +0000 (18:33 +0000)] 
Get rid of VG_(malloc_aligned)(), and make VG_(arena_malloc_aligned)() local
to vg_malloc2.c -- the core and tools never do allocations with alignments
different to the default alignment.

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

21 years agoRemove two malloc/free arenas:
Nicholas Nethercote [Sun, 13 Mar 2005 18:11:44 +0000 (18:11 +0000)] 
Remove two malloc/free arenas:
- JITTER, which was unused, since Vex now manages its own memory
- TRANSIENT, which was barely being used;  I replaced it with usage of CORE

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

21 years agoAdd support for sys_tgkill (syscall 270), needed by tls gunk on
Julian Seward [Sun, 13 Mar 2005 18:02:51 +0000 (18:02 +0000)] 
Add support for sys_tgkill (syscall 270), needed by tls gunk on
x86-linux.

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

21 years agoDeal with Group 8 immediates (bt, btl, btr, btc).
Julian Seward [Sun, 13 Mar 2005 17:25:53 +0000 (17:25 +0000)] 
Deal with Group 8 immediates (bt, btl, btr, btc).

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

21 years agoRemove the alignment arg from VG_(arena_calloc)() and VG_(arena_realloc)(),
Nicholas Nethercote [Sun, 13 Mar 2005 14:56:31 +0000 (14:56 +0000)] 
Remove the alignment arg from VG_(arena_calloc)() and VG_(arena_realloc)(),
because it was always being set to VG_MIN_ALLOC_SZB, and so was just one
more thing to get wrong, as well as exposing VG_MIN_ALLOC_SZB to more places
than necessary.

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

21 years agoRemove dead function VG_(is_empty_arena)(). Also cleaned up the comment in
Nicholas Nethercote [Sun, 13 Mar 2005 14:28:39 +0000 (14:28 +0000)] 
Remove dead function VG_(is_empty_arena)().  Also cleaned up the comment in
vg_demangler.c regarding its former use.

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

21 years agoComment-only change: use the right macro name.
Nicholas Nethercote [Sun, 13 Mar 2005 06:30:42 +0000 (06:30 +0000)] 
Comment-only change: use the right macro name.

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

21 years agoRemove some dead macros.
Nicholas Nethercote [Sun, 13 Mar 2005 06:26:22 +0000 (06:26 +0000)] 
Remove some dead macros.

Move others that are only used in one file, out of core.h into that file.
Remove the "VG_" prefixes while doing it.

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

21 years agoMake MAC_(print_malloc_stats) local by moving it and associated stuff to
Nicholas Nethercote [Sun, 13 Mar 2005 06:10:20 +0000 (06:10 +0000)] 
Make MAC_(print_malloc_stats) local by moving it and associated stuff to
mac_needs.c.

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

21 years agoNote that VG_(HT_construct)() allocates memory.
Nicholas Nethercote [Sun, 13 Mar 2005 06:04:49 +0000 (06:04 +0000)] 
Note that VG_(HT_construct)() allocates memory.

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

21 years agoComment-only change: fix incorrect statement
Nicholas Nethercote [Sun, 13 Mar 2005 06:03:45 +0000 (06:03 +0000)] 
Comment-only change: fix incorrect statement

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

21 years agoMake VG_(deliver_signals)() local.
Nicholas Nethercote [Sun, 13 Mar 2005 06:00:47 +0000 (06:00 +0000)] 
Make VG_(deliver_signals)() local.

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

21 years agoRemove dead macros VG_UINSTR_READS_REG/VG_UINSTR_WRITES_REG.
Nicholas Nethercote [Sun, 13 Mar 2005 05:51:47 +0000 (05:51 +0000)] 
Remove dead macros VG_UINSTR_READS_REG/VG_UINSTR_WRITES_REG.

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

21 years agoMake malloc stats debug messages fit in 80 chars.
Nicholas Nethercote [Sun, 13 Mar 2005 05:46:57 +0000 (05:46 +0000)] 
Make malloc stats debug messages fit in 80 chars.

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

21 years agoUse Vg_DebugMsg for all the things printed with -v, rather than Vg_UserMsg.
Nicholas Nethercote [Sun, 13 Mar 2005 05:43:23 +0000 (05:43 +0000)] 
Use Vg_DebugMsg for all the things printed with -v, rather than Vg_UserMsg.

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

21 years agoMove the ExeContext stats message earlier, and print it when verbosity == 2,
Nicholas Nethercote [Sun, 13 Mar 2005 05:38:25 +0000 (05:38 +0000)] 
Move the ExeContext stats message earlier, and print it when verbosity == 2,
rather than only when verbosity == 3, as they're only three lines.

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

21 years agocomment-only wibble
Nicholas Nethercote [Sun, 13 Mar 2005 05:27:57 +0000 (05:27 +0000)] 
comment-only wibble

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

21 years agoAdd missing printf argument.
Nicholas Nethercote [Sun, 13 Mar 2005 05:12:31 +0000 (05:12 +0000)] 
Add missing printf argument.

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

21 years agoAdd test case for forking threaded programs.
Nicholas Nethercote [Sun, 13 Mar 2005 05:10:08 +0000 (05:10 +0000)] 
Add test case for forking threaded programs.

MERGED FROM CVS HEAD

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

21 years agoFor signals which are ignored by default (SIGCONT, CHLD, WINCH and URG),
Nicholas Nethercote [Sun, 13 Mar 2005 04:46:36 +0000 (04:46 +0000)] 
For signals which are ignored by default (SIGCONT, CHLD, WINCH and URG),
don't set a signal handler unless the client has.  This prevents syscalls
from being spuriously interrupted if one if these signals is received.

MERGED FROM CVS HEAD

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

21 years agoFix incorrect parsing of 'R' floating-point types.
Nicholas Nethercote [Sun, 13 Mar 2005 04:44:20 +0000 (04:44 +0000)] 
Fix incorrect parsing of 'R' floating-point types.

MERGED FROM CVS HEAD

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

21 years agoWhen a multi-threaded program forks(), only the thread actually
Nicholas Nethercote [Sun, 13 Mar 2005 04:43:10 +0000 (04:43 +0000)] 
When a multi-threaded program forks(), only the thread actually
calling fork() appears in the child.  The child Valgrind will inherit a
VG_(threads) array which still describes the other threads.  The code in
vg_scheduler:sched_fork_cleanup is responsible for doing this, but it was
only "killing" the other threads by setting their statuses to VgTs_Empty.

This was causing confusion if the child later created other threads
and found partially initialized threads structures.  This change
makes sched_fork_cleanup fully reinitialize the other thread slots
in VG_(threads).

MERGED FROM CVS HEAD

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

21 years agoGet more useful stack traces for internal errors/panics which happen
Nicholas Nethercote [Sun, 13 Mar 2005 04:39:28 +0000 (04:39 +0000)] 
Get more useful stack traces for internal errors/panics which happen
during the exit cleanup.  Also, don't report stack growth failures if
the fault is actually way above the stack.

MERGED FROM CVS HEAD

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

21 years agoDocumentation update. This should bring the core of the documentation
Nicholas Nethercote [Sat, 12 Mar 2005 22:14:42 +0000 (22:14 +0000)] 
Documentation update.  This should bring the core of the documentation
up to date with reality.  Please give this a proofread.

I ran out of steam at memcheck/docs/mc_techdocs.html, which is even more
hopelessly out of date.  I will note that cacheprof.org is some kind of
dental insurance company now...

MERGED, PAINFULLY, FROM CVS HEAD

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

21 years agoFollowup to rev 3319: remove bits of these tests which 3319 didn't,
Julian Seward [Sat, 12 Mar 2005 21:49:18 +0000 (21:49 +0000)] 
Followup to rev 3319: remove bits of these tests which 3319 didn't,
for some reason.

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

21 years agoGet rid of dastest and rcl_assert. These test instructions that are
Julian Seward [Sat, 12 Mar 2005 21:46:56 +0000 (21:46 +0000)] 
Get rid of dastest and rcl_assert.  These test instructions that are
so obscure that there has been no need to implement them in Vex-x86
despite having run huge programs through Vex.

Besides, rcl_assert was originally included as a result of fixing an
assertion failure in the old UCode machinery, which no longer exists.

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

21 years agoBUGFIX: process_cmd_line_options mangles options with the syntax
Nicholas Nethercote [Sat, 12 Mar 2005 21:20:39 +0000 (21:20 +0000)] 
BUGFIX: process_cmd_line_options mangles options with the syntax
--TOOLNAME:option=foo.  If you use --trace-children=yes, the child
Valgrinds are passed the mangled options and fail as a result.

This patch makes sure that process_cmd_line_options makes a copy of
the option before mangling it.

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

21 years agoAdd what I think is needed for the man page in the Makefile.am.
Nicholas Nethercote [Sat, 12 Mar 2005 21:06:06 +0000 (21:06 +0000)] 
Add what I think is needed for the man page in the Makefile.am.

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

21 years agoAdded Valgrind man page. (Ultimately, it would be best if this were
Nicholas Nethercote [Sat, 12 Mar 2005 21:02:52 +0000 (21:02 +0000)] 
Added Valgrind man page.   (Ultimately, it would be best if this were
auto-generated from the XML manual somehow, to avoid double maintenance.
Still, put it in for now.)

MERGED FROM CVS HEAD

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

21 years ago--num-callers default is now 12, so say that in the help.
Nicholas Nethercote [Sat, 12 Mar 2005 20:59:29 +0000 (20:59 +0000)] 
--num-callers default is now 12, so say that in the help.
Fix cmdline tests for match new --num-callers stuff.

MERGED FROM CVS HEAD

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

21 years agoUpdate expected output.
Julian Seward [Sat, 12 Mar 2005 20:55:31 +0000 (20:55 +0000)] 
Update expected output.

This highlights an interesting problem with the error filters.
The change is:

-   at 0x.......: xToI (floored.c:16)
-   by 0x.......: main (floored.c:9)
+   at 0x........: xToI (floored.c:16)
+   by 0x........: main (floored.c:9)

IOW, the change happened because some code got moved around,
causing the length of the hex numbers changed, defeating the
hexdigit-"normaliser".

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

21 years agoHandle sys_vfork correctly. This fixes none/tests/async-sigs.
Julian Seward [Sat, 12 Mar 2005 20:45:56 +0000 (20:45 +0000)] 
Handle sys_vfork correctly.  This fixes none/tests/async-sigs.

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

21 years agoDefault to using --leak-check=summary.
Nicholas Nethercote [Sat, 12 Mar 2005 20:38:13 +0000 (20:38 +0000)] 
Default to using --leak-check=summary.

MERGED FROM CVS HEAD

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

21 years agoFix silly bug in munmap-implementation which caused massive leakage of
Julian Seward [Sat, 12 Mar 2005 20:36:15 +0000 (20:36 +0000)] 
Fix silly bug in munmap-implementation which caused massive leakage of
address space :-)

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

21 years agoDon't print debug info.
Nicholas Nethercote [Sat, 12 Mar 2005 20:32:36 +0000 (20:32 +0000)] 
Don't print debug info.

MERGED FROM CVS HEAD

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

21 years agoUpdate suppressions for X on FC3;
Nicholas Nethercote [Sat, 12 Mar 2005 20:29:59 +0000 (20:29 +0000)] 
Update suppressions for X on FC3;
Even more liberal match in undef writev suppression;
Wider match for writev in X suppression.

MERGED FROM CVS HEAD

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

21 years agoMake libpthread strstr suppression a bit more general.
Nicholas Nethercote [Sat, 12 Mar 2005 20:27:51 +0000 (20:27 +0000)] 
Make libpthread strstr suppression a bit more general.

MERGED FROM CVS HEAD

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

21 years agoFurther un-break signal handling following the merge. It's really
Julian Seward [Sat, 12 Mar 2005 17:24:33 +0000 (17:24 +0000)] 
Further un-break signal handling following the merge.  It's really
scandalous how difficult it is to figure out what code messes with
what global state, and generally how stuff is supposed to work.

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

21 years agoUpdate version to 3.0.0.CVS. Also change startup message to use this
Nicholas Nethercote [Sat, 12 Mar 2005 16:54:07 +0000 (16:54 +0000)] 
Update version to 3.0.0.CVS.  Also change startup message to use this
version number again, rather than "SVN >= xxx".

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

21 years agoDeal better with x86 'rep nop' (P4 pause hint).
Julian Seward [Sat, 12 Mar 2005 16:47:18 +0000 (16:47 +0000)] 
Deal better with x86 'rep nop' (P4 pause hint).

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

21 years agoFix up old stuff in README_DEVELOPERS, including VALGRINDLIB instructions.
Nicholas Nethercote [Sat, 12 Mar 2005 16:47:07 +0000 (16:47 +0000)] 
Fix up old stuff in README_DEVELOPERS, including VALGRINDLIB instructions.

MERGED FROM CVS HEAD

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

21 years agoUpdate NEWS file for 2.4.0 release.
Nicholas Nethercote [Sat, 12 Mar 2005 16:45:01 +0000 (16:45 +0000)] 
Update NEWS file for 2.4.0 release.

MERGED FROM CVS HEAD

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

21 years agoUpdate copyright notice for 2005 on all relevant files. Don't bother trying
Nicholas Nethercote [Sat, 12 Mar 2005 16:22:54 +0000 (16:22 +0000)] 
Update copyright notice for 2005 on all relevant files.  Don't bother trying
to be selective about it.

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

21 years agoUnbreak build (for me, gcc-4.0.0-pre -- nested functions can't be static).
Nicholas Nethercote [Sat, 12 Mar 2005 15:39:54 +0000 (15:39 +0000)] 
Unbreak build (for me, gcc-4.0.0-pre -- nested functions can't be static).

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

21 years agoFix yielding properly.
Julian Seward [Sat, 12 Mar 2005 15:16:31 +0000 (15:16 +0000)] 
Fix yielding properly.

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

21 years agoAdd missing comment.
Julian Seward [Sat, 12 Mar 2005 15:16:07 +0000 (15:16 +0000)] 
Add missing comment.

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

21 years agoNo longer needed. Bye!
Julian Seward [Sat, 12 Mar 2005 14:40:38 +0000 (14:40 +0000)] 
No longer needed.  Bye!

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

21 years agoGet rid of dead code and/or localise global functions as needed to
Julian Seward [Sat, 12 Mar 2005 13:32:06 +0000 (13:32 +0000)] 
Get rid of dead code and/or localise global functions as needed to
avoid warnings from -fwarn-missing-prototypes.  vg_replace_malloc.c
has not been done yet though.

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

21 years agoAdd declaration for VG_(pre_clo_init) so we don't get warnings about it.
Nicholas Nethercote [Sat, 12 Mar 2005 06:23:46 +0000 (06:23 +0000)] 
Add declaration for VG_(pre_clo_init) so we don't get warnings about it.

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

21 years agoRemove dead code.
Nicholas Nethercote [Sat, 12 Mar 2005 06:04:07 +0000 (06:04 +0000)] 
Remove dead code.

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

21 years agoFix warnings identified after I attached a "format" attribute to
Nicholas Nethercote [Sat, 12 Mar 2005 06:01:45 +0000 (06:01 +0000)] 
Fix warnings identified after I attached a "format" attribute to
VALGRIND_INTERNAL_PRINTF.

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

21 years agoRemove dead functions: VG_(set_arg_and_bogus_ret), VG_(thread_initial_stack).
Nicholas Nethercote [Sat, 12 Mar 2005 05:48:06 +0000 (05:48 +0000)] 
Remove dead functions: VG_(set_arg_and_bogus_ret), VG_(thread_initial_stack).

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

21 years agoRemove dead declaration: VG_(print_malloc_stats). (But a function of the
Nicholas Nethercote [Sat, 12 Mar 2005 05:41:01 +0000 (05:41 +0000)] 
Remove dead declaration: VG_(print_malloc_stats).  (But a function of the
same name is declared by Memcheck.)

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

21 years agoRemove meaningless "vg_" prefixes from several variables.
Nicholas Nethercote [Sat, 12 Mar 2005 05:37:54 +0000 (05:37 +0000)] 
Remove meaningless "vg_" prefixes from several variables.

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

21 years agoRemove dead function: VG_(do_pthread_sigmask_SCSS_upd).
Nicholas Nethercote [Sat, 12 Mar 2005 05:35:01 +0000 (05:35 +0000)] 
Remove dead function: VG_(do_pthread_sigmask_SCSS_upd).

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

21 years agoGet rid of the VALGRIND_INTERNAL_PRINTF_BACKTRACE request -- it's no longer
Nicholas Nethercote [Sat, 12 Mar 2005 05:32:28 +0000 (05:32 +0000)] 
Get rid of the VALGRIND_INTERNAL_PRINTF_BACKTRACE request -- it's no longer
used.

And move VALGRIND_INTERNAL_PRINTF() out of core.h into vg_replace_malloc.c,
which is the only place it's used now.  Also made it print it's message with
Vg_DebugMsg rather than Vg_UserMsg, which makes more sense, since it's used
for --trace-malloc which is debugging-style info.

Improved some comments about this stuff too.

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

21 years agoThese files are no longer used, thank heavens.
Nicholas Nethercote [Sat, 12 Mar 2005 05:10:40 +0000 (05:10 +0000)] 
These files are no longer used, thank heavens.

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

21 years agoRemove dead declarations.
Nicholas Nethercote [Sat, 12 Mar 2005 05:04:30 +0000 (05:04 +0000)] 
Remove dead declarations.

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

21 years agoMake these vg_message.c functions local, they're no longer used outside the
Nicholas Nethercote [Sat, 12 Mar 2005 04:59:51 +0000 (04:59 +0000)] 
Make these vg_message.c functions local, they're no longer used outside the
module, as VG_(vmessage)() superseded them.

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

21 years agoFix AUTHORS to match the info on the new website.
Nicholas Nethercote [Sat, 12 Mar 2005 02:39:36 +0000 (02:39 +0000)] 
Fix AUTHORS to match the info on the new website.

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

21 years agoReinstate lackey, corecheck, massif. They all start and run, but
Julian Seward [Fri, 11 Mar 2005 14:51:24 +0000 (14:51 +0000)] 
Reinstate lackey, corecheck, massif.  They all start and run, but
massif gets a segfault for some reason.

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

21 years agoDetect and reject misaligned args for mmap. This makes
Julian Seward [Fri, 11 Mar 2005 14:12:38 +0000 (14:12 +0000)] 
Detect and reject misaligned args for mmap.  This makes
none/tests/map_unaligned work.  The PRE handlers for sys_mmap and
sys_old_mmap are more convoluted than I would like, and might benefit
from a rewrite.

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

21 years agoReenable cmpsw/cmpsl.
Julian Seward [Fri, 11 Mar 2005 14:00:27 +0000 (14:00 +0000)] 
Reenable cmpsw/cmpsl.

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

21 years agoHandle Vex-supplied guest address mapping failures in the scheduler.
Julian Seward [Fri, 11 Mar 2005 13:19:47 +0000 (13:19 +0000)] 
Handle Vex-supplied guest address mapping failures in the scheduler.
This makes none/tests/x86/badseg work.

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

21 years agoUn-break --trace-children=yes.
Julian Seward [Fri, 11 Mar 2005 12:56:56 +0000 (12:56 +0000)] 
Un-break --trace-children=yes.

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

21 years agoCoredumping is borked.
Julian Seward [Fri, 11 Mar 2005 12:43:19 +0000 (12:43 +0000)] 
Coredumping is borked.

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

21 years agoMake suitable for initial test run.
Julian Seward [Fri, 11 Mar 2005 12:04:29 +0000 (12:04 +0000)] 
Make suitable for initial test run.

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

21 years agoFixed front-end xer reg access
Cerion Armour-Brown [Fri, 11 Mar 2005 09:12:11 +0000 (09:12 +0000)] 
Fixed front-end xer reg access

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

21 years agoFix a printf formatting inconsistency.
Nicholas Nethercote [Fri, 11 Mar 2005 05:07:16 +0000 (05:07 +0000)] 
Fix a printf formatting inconsistency.

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

21 years agoFix false assertion in pattern matching.
Nicholas Nethercote [Fri, 11 Mar 2005 05:05:50 +0000 (05:05 +0000)] 
Fix false assertion in pattern matching.

MERGED FROM CVS HEAD

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

21 years agoFix Nulgrind's filter_stderr, and also fix the none/tests/cmdline2 test
Nicholas Nethercote [Fri, 11 Mar 2005 04:57:30 +0000 (04:57 +0000)] 
Fix Nulgrind's filter_stderr, and also fix the none/tests/cmdline2 test
(required fixing the usage msg slightly).

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

21 years agoRemove messages about not being able to clean up non-existent core files.
Nicholas Nethercote [Fri, 11 Mar 2005 04:48:18 +0000 (04:48 +0000)] 
Remove messages about not being able to clean up non-existent core files.

MERGED FROM CVS HEAD

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

21 years agoMemset the whole ehdr structure (though this will only initialize the
Nicholas Nethercote [Fri, 11 Mar 2005 04:47:23 +0000 (04:47 +0000)] 
Memset the whole ehdr structure (though this will only initialize the
padding).

MERGED FROM CVS HEAD

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

21 years agoOnly try matching if the pointer could be resolved to a name.
Nicholas Nethercote [Fri, 11 Mar 2005 04:46:09 +0000 (04:46 +0000)] 
Only try matching if the pointer could be resolved to a name.

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

21 years agoFix VG_(calloc)() so it actually zeroes the entire memory area it allocates.
Nicholas Nethercote [Fri, 11 Mar 2005 04:44:10 +0000 (04:44 +0000)] 
Fix VG_(calloc)() so it actually zeroes the entire memory area it allocates.
Also rename the variables involve to lessen the chance of such confusion
occurring again.

MERGED FROM CVS HEAD

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

21 years agoRemove now-unnecessary FAQ. (Was removed from the text FAQ.txt a while
Nicholas Nethercote [Fri, 11 Mar 2005 04:38:00 +0000 (04:38 +0000)] 
Remove now-unnecessary FAQ.  (Was removed from the text FAQ.txt a while
ago.)

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

21 years agoRemove now-irrelevant FAQ.
Nicholas Nethercote [Fri, 11 Mar 2005 04:36:46 +0000 (04:36 +0000)] 
Remove now-irrelevant FAQ.

(This change went into the text FAQ.txt a while ago.)

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

21 years agoDe-document now-defunct command line options.
Nicholas Nethercote [Fri, 11 Mar 2005 04:35:00 +0000 (04:35 +0000)] 
De-document now-defunct command line options.

MERGED FROM CVS HEAD

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

21 years agoAdded the Quick Start Guide, in XML. Not entirely happy with the formatting
Nicholas Nethercote [Fri, 11 Mar 2005 04:33:29 +0000 (04:33 +0000)] 
Added the Quick Start Guide, in XML.  Not entirely happy with the formatting
(it should be all one page), but it's a start.

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

21 years agoSummarise the breakage caused by the Big Merge (hence the current
Julian Seward [Fri, 11 Mar 2005 03:07:23 +0000 (03:07 +0000)] 
Summarise the breakage caused by the Big Merge (hence the current
situation).

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