Commit Graph

2452 Commits

Author SHA1 Message Date
Julian Seward
9a76bb9755 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
2005-03-12 21:46:56 +00:00
Nicholas Nethercote
bfa6142ae6 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
2005-03-12 21:20:39 +00:00
Nicholas Nethercote
e11bfa612d Add what I think is needed for the man page in the Makefile.am.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3317
2005-03-12 21:06:06 +00:00
Nicholas Nethercote
107c7fac44 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
2005-03-12 21:02:52 +00:00
Nicholas Nethercote
5a3535ea87 --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
2005-03-12 20:59:29 +00:00
Julian Seward
a1b340db35 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
2005-03-12 20:55:31 +00:00
Julian Seward
fba62f7b20 Handle sys_vfork correctly. This fixes none/tests/async-sigs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3313
2005-03-12 20:45:56 +00:00
Nicholas Nethercote
5ef4243598 Default to using --leak-check=summary.
MERGED FROM CVS HEAD



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3312
2005-03-12 20:38:13 +00:00
Julian Seward
94c4953bd8 Fix silly bug in munmap-implementation which caused massive leakage of
address space :-)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3311
2005-03-12 20:36:15 +00:00
Nicholas Nethercote
397fd54231 Don't print debug info.
MERGED FROM CVS HEAD



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3310
2005-03-12 20:32:36 +00:00
Nicholas Nethercote
076c19ef49 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
2005-03-12 20:29:59 +00:00
Nicholas Nethercote
bffba1d00f Make libpthread strstr suppression a bit more general.
MERGED FROM CVS HEAD



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3308
2005-03-12 20:27:51 +00:00
Julian Seward
df13f9efcc 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
2005-03-12 17:24:33 +00:00
Nicholas Nethercote
fc984f6a56 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
2005-03-12 16:54:07 +00:00
Nicholas Nethercote
39fc3ebf0d Fix up old stuff in README_DEVELOPERS, including VALGRINDLIB instructions.
MERGED FROM CVS HEAD



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3305
2005-03-12 16:47:07 +00:00
Nicholas Nethercote
fe57f10722 Update NEWS file for 2.4.0 release.
MERGED FROM CVS HEAD



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3304
2005-03-12 16:45:01 +00:00
Nicholas Nethercote
05fe123a9e 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
2005-03-12 16:22:54 +00:00
Nicholas Nethercote
c0e91e1d8e 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
2005-03-12 15:39:54 +00:00
Julian Seward
f03dd1e385 Fix yielding properly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3301
2005-03-12 15:16:31 +00:00
Julian Seward
e60e34d51c Add missing comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3300
2005-03-12 15:16:07 +00:00
Julian Seward
3286b17553 No longer needed. Bye!
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3299
2005-03-12 14:40:38 +00:00
Julian Seward
493ecf52a4 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
2005-03-12 13:32:06 +00:00
Nicholas Nethercote
85da1e0285 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
2005-03-12 06:23:46 +00:00
Nicholas Nethercote
7fb220d397 Remove dead code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3296
2005-03-12 06:04:07 +00:00
Nicholas Nethercote
6477952f31 Fix warnings identified after I attached a "format" attribute to
VALGRIND_INTERNAL_PRINTF.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3295
2005-03-12 06:01:45 +00:00
Nicholas Nethercote
29cc7c8a6c Remove dead functions: VG_(set_arg_and_bogus_ret), VG_(thread_initial_stack).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3294
2005-03-12 05:48:06 +00:00
Nicholas Nethercote
079841d158 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
2005-03-12 05:41:01 +00:00
Nicholas Nethercote
b0c0c9b9b8 Remove meaningless "vg_" prefixes from several variables.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3292
2005-03-12 05:37:54 +00:00
Nicholas Nethercote
4cfbb7f38c Remove dead function: VG_(do_pthread_sigmask_SCSS_upd).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3291
2005-03-12 05:35:01 +00:00
Nicholas Nethercote
56bce432c3 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
2005-03-12 05:32:28 +00:00
Nicholas Nethercote
3aee14f1a3 These files are no longer used, thank heavens.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3289
2005-03-12 05:10:40 +00:00
Nicholas Nethercote
d9d1e37683 Remove dead declarations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3288
2005-03-12 05:04:30 +00:00
Nicholas Nethercote
e8e7ff1972 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
2005-03-12 04:59:51 +00:00
Nicholas Nethercote
ab06228044 Fix AUTHORS to match the info on the new website.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3286
2005-03-12 02:39:36 +00:00
Julian Seward
b801ce616c 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
2005-03-11 14:51:24 +00:00
Julian Seward
6ddcb7dc7d 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
2005-03-11 14:12:38 +00:00
Julian Seward
46bc07d683 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
2005-03-11 13:19:47 +00:00
Julian Seward
5fee346604 Un-break --trace-children=yes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3282
2005-03-11 12:56:56 +00:00
Julian Seward
8ed2c0ca86 Coredumping is borked.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3281
2005-03-11 12:43:19 +00:00
Nicholas Nethercote
53643ee2a6 Fix a printf formatting inconsistency.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3280
2005-03-11 05:07:16 +00:00
Nicholas Nethercote
1b3b96a692 Fix false assertion in pattern matching.
MERGED FROM CVS HEAD


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3279
2005-03-11 05:05:50 +00:00
Nicholas Nethercote
0384583ee1 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
2005-03-11 04:57:30 +00:00
Nicholas Nethercote
38c5424bc9 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
2005-03-11 04:48:18 +00:00
Nicholas Nethercote
fdfc8ecaf7 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
2005-03-11 04:47:23 +00:00
Nicholas Nethercote
73933817e2 Only try matching if the pointer could be resolved to a name.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3275
2005-03-11 04:46:09 +00:00
Nicholas Nethercote
6498475675 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
2005-03-11 04:44:10 +00:00
Nicholas Nethercote
eed8fe1fb2 Remove now-unnecessary FAQ. (Was removed from the text FAQ.txt a while
ago.)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3273
2005-03-11 04:38:00 +00:00
Nicholas Nethercote
b03e168042 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
2005-03-11 04:36:46 +00:00
Nicholas Nethercote
e2c5384124 De-document now-defunct command line options.
MERGED FROM CVS HEAD


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3271
2005-03-11 04:35:00 +00:00
Nicholas Nethercote
c3187ad891 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
2005-03-11 04:33:29 +00:00