Commit Graph

161 Commits

Author SHA1 Message Date
Mark Wielaard
defd29702f Bug 321738 Add manpages for vgdb and valgrind-listener.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13443
2013-07-03 10:00:19 +00:00
Julian Seward
e3116970fd Minimal changes needed to make this suitable for trunk:
* add a new flag --allow-mismatched-debuginfo to override the
  CRC32/build-id checks, if needed

* tidy up logic for finding files on the --extra-debuginfo-path
  and at the --debuginfo-server

* don't assert if connection to the debuginfo server is lost;
  instead print a reasonable message and quit.



git-svn-id: svn://svn.valgrind.org/valgrind/branches/DISRV@13431
2013-06-27 17:39:15 +00:00
Julian Seward
68c9403938 Initial code for remote debuginfo server. Handles all ELF/Dwarf{2,3,4}
on Linux.  No Dwarf1, no Stabs, and MacOSX probably won't build.


git-svn-id: svn://svn.valgrind.org/valgrind/branches/DISRV@13423
2013-06-07 16:15:48 +00:00
Florian Krohm
24b5658c60 Tweak script; ignore some more opcodes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13264
2013-01-24 03:21:12 +00:00
Florian Krohm
0641c1dded Identify opcodes that are not handled by the decoder in
guest_s390_toIR.c
Identify a few more duplicate mnemonics to avoid false messages
from the checker.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13168
2012-12-07 04:37:53 +00:00
Florian Krohm
976cdf3374 Accept blank lines in <binutils>/opcodes/s390-opc.txt.
Bug fix: avoid reading something uninitialised


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13157
2012-12-06 05:03:08 +00:00
Florian Krohm
aa4402ac0c The listener does not use VEX types anywhere else. So this
change fixes the copy-and-pasted panic functions to use
native C types.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13061
2012-10-20 19:28:13 +00:00
Florian Krohm
5fd9d2ae08 Change script to also handle IBM's copyright notice.
Update copyright notices.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12853
2012-08-06 18:34:24 +00:00
Julian Seward
4a3633e266 Update copyright dates to include 2012.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12843
2012-08-05 15:46:46 +00:00
Philippe Waroquiers
ab7b338320 301265 - add x86 support to Android build
Patch by Dragos Tatulea.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12835
2012-08-05 00:08:25 +00:00
Florian Krohm
bf20eec2a1 When parsing guest_s390_toIR.c also recognize opcodes with digits
in their name.
Also add more alternate opcode spellings.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12805
2012-07-30 16:16:24 +00:00
Julian Seward
19940978a4 Use multiple processors to build these tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12679
2012-06-28 09:12:58 +00:00
Julian Seward
a783a5c0f4 Change the V output file name from out-V to out-VAL.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12634
2012-06-13 11:12:06 +00:00
Florian Krohm
afdb2d63bc Add script that assists with updating s390-opcodes.csv.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12450
2012-03-18 01:52:07 +00:00
Florian Krohm
a70a467080 Fix a typo.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12283
2011-12-10 16:06:57 +00:00
Florian Krohm
8dbb84b825 Add script to assist in updating the C++ demangler from GCC trunk.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12282
2011-12-10 16:03:57 +00:00
Florian Krohm
271c9ad7e9 Document test results.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12267
2011-11-11 04:04:12 +00:00
Florian Krohm
7938607bae Don't get the date of the build from the mail header. It is
often off-by one. Instead extract it from the message body,
namely, when the build was kicked off.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12247
2011-10-28 02:45:15 +00:00
Florian Krohm
0092c719c3 Add script to summarize the outcome of nightly builds.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12231
2011-10-25 20:01:41 +00:00
Florian Krohm
42e26d9cc6 Add more missing files for the tarball.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12221
2011-10-24 00:03:52 +00:00
Julian Seward
c96096ab24 Update all copyright dates, from 20xy-2010 to 20xy-2011.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12206
2011-10-23 07:32:08 +00:00
Julian Seward
50e64251cc Update, so as to be able to handle the 200x vs 201x change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12205
2011-10-23 07:31:08 +00:00
Julian Seward
ad7de5b336 Delete the AIX5 port. The last release this worked for is 3.4.1,
and then only on AIX 5.2 and 5.3.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11842
2011-06-28 07:25:29 +00:00
Nicholas Nethercote
6fd0eb7b07 Merged the MACOSX106 branch to the trunk. Merge command:
svn merge -r11143:HEAD svn://svn.valgrind.org/valgrind/branches/MACOSX106

There were some easy-to-resolve conflicts.

Then I had to fix up coregrind/link_tool_exe*.in -- those files had been
added independently on both the trunk and the branch, AFAICT.  I just
overwrote the trunk versions with the branch versions.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11194
2010-07-01 00:20:20 +00:00
Julian Seward
9b0574dff8 Update copyright dates to 2010.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11121
2010-05-03 21:37:12 +00:00
Tom Hughes
ee1b05c562 Include valgrind headers before system headers to avoid problems
with the system headers #defining things which are used as names
of structure members in vki headers.

This is needed to allow valgrind to build on Fedora 13 and Rawhide.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11113
2010-04-29 09:01:21 +00:00
Julian Seward
975007683d Make this usable on Ubuntu by explicitly specifying bash rather than dash.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11044
2010-02-15 10:04:46 +00:00
Julian Seward
e9de458500 Merge from branches/ARM, all parts of the ARM-Linux port except for
the changes to do with reading and using ELF and DWARF3 info.
This breaks all targets except amd64-linux and x86-linux.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10982
2010-01-01 11:59:33 +00:00
Nicholas Nethercote
b05a2a18d7 This commit merges the BUILD_TWEAKS branch onto the trunk. It has the
following improvements:

- Arch/OS/platform-specific files are now included/excluded via the
  preprocessor, rather than via the build system.  This is more consistent
  (we use the pre-processor for small arch/OS/platform-specific chunks
  within files) and makes the build system much simpler, as the sources for
  all programs are the same on all platforms.

- Vast amounts of cut+paste Makefile.am code has been factored out.  If a
  new platform is implemented, you need to add 11 extra Makefile.am lines.
  Previously it was over 100 lines.

- Vex has been autotoolised.  Dependency checking now works in Vex (no more
  incomplete builds).  Parallel builds now also work.  --with-vex no longer
  works;  it's little use and a pain to support.  VEX/Makefile is still in
  the Vex repository and gets overwritten at configure-time;  it should
  probably be renamed Makefile-gcc to avoid possible problems, such as
  accidentally committing a generated Makefile.  There's a bunch of hacky
  copying to deal with the fact that autotools don't handle same-named files
  in different directories.  Julian plans to rename the files to avoid this
  problem.

- Various small Makefile.am things have been made more standard automake
  style, eg. the use of pkginclude/pkglib prefixes instead of rolling our
  own.

- The existing five top-level Makefile.am include files have been
  consolidated into three.

- Most Makefile.am files now are structured more clearly, with comment
  headers separating sections, declarations relating to the same things next
  to each other, better spacing and layout, etc.

- Removed the unused exp-ptrcheck/tests/x86 directory.

- Renamed some XML files.

- Factored out some duplicated dSYM handling code.

- Split auxprogs/ into auxprogs/ and mpi/, which allowed the resulting
  Makefile.am files to be much more standard.

- Cleaned up m_coredump by merging a bunch of files that had been
  overzealously separated.

The net result is 630 fewer lines of Makefile.am code, or 897 if you exclude
the added Makefile.vex.am, or 997 once the hacky file copying for Vex is
removed.  And the build system is much simpler.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10364
2009-06-24 00:37:09 +00:00
Nicholas Nethercote
5d5dd0e06f Rename a conf variable.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10194
2009-06-01 23:59:20 +00:00
Nicholas Nethercote
c35861f4ab Update a comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10172
2009-05-31 07:03:05 +00:00
Nicholas Nethercote
265b63f49e Partly de-hackify auxprogs/Makefile.am. libmpiwrap.*.*.dSYM is now
installed on Darwin.  Installation and cleaning are more in line with the
other Makefile.am files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10167
2009-05-29 05:40:33 +00:00
Nicholas Nethercote
07045477ca Merge the DARWIN branch onto the trunk.
I tried using 'svn merge' to do the merge but it did a terrible job and
there were bazillions of conflicts.  So instead I just took the diff between
the branch and trunk  at r10155, applied the diff to the trunk, 'svn add'ed
the added files (no files needed to be 'svn remove'd) and committed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10156
2009-05-28 01:53:07 +00:00
Nicholas Nethercote
91e075d345 DARWIN sync: whitespace.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9965
2009-05-19 06:07:21 +00:00
Nicholas Nethercote
2001629c3f Updated copyright years.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9344
2009-03-10 22:02:09 +00:00
Nicholas Nethercote
3dfc8932ae Changed the way files are installed. Instead of going into
$INSTALL/<platform>/<filename>, they go to $INSTALL/<filename>-<platform>.
These filenames match those built in the build tree, and so simplifies the
build system signficantly and avoids the horrible sed renamings that were
previously required.  This will also help greatly with the treatment of
.dSYM debug directories in the DARWIN branch.

Files affected include:
- preload libraries such as vgpreload_core-<platform>.so and
  libmpiwrap-<platform>.so
- libraries such as libcoregrind_<platform>.a
- executables such as memcheck-<platform>

I updated the manual and added a note to the NEWS file about the change,
because it will affect a small number of users.

I did my best to update the AIX launcher/initimg correctly, but it hasn't
been tested.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9135
2009-02-11 00:35:45 +00:00
Nicholas Nethercote
7e242995e4 Fix a typo.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9127
2009-02-09 03:52:35 +00:00
Nicholas Nethercote
1690244664 Merged r9120 (Merge Makefile.{inplace,install}.am, and simplify installation
of libmpiwrap.so) from trunk.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9121
2009-02-06 23:27:16 +00:00
Nicholas Nethercote
009cd24326 Removed Makefile.core.am with some judicious refactoring.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9114
2009-02-06 04:49:14 +00:00
Nicholas Nethercote
ed322feb84 Rename all the arch/OS/platform-related variables in configure.in to make it
clearer what they mean:
- They all have VGCONF_ prefixes now, to indicate they come out of
  configure.in (and are clearly distinguished from the VGA_/VGO_/VGP_
  #defines passed in to C files).
- The ones that refer to the primary *or* secondary platform have _INCLUDES_
  in them.
- The ones that are in all-caps have a _CAPS suffix.

So, for example, what was VGP_X86_LINUX is now
VGCONF_PLATFORMS_INCLUDE_X86_LINUX, which is more verbose but also a lot
clearer.  The names of the #defines used in the C files (VGA_x86, VGO_linux,
etc) are unchanged.

cputest.c: changed to reflect the Valgrind installation's capabilities,
rather than the machine's capabilities.  In particular, if
--enable-only32bit is used on a 64-bit machine, then this program will claim
to only support 32-bits.  Also use the VGA/VGO/VGP macros which are clearer
than the __i386__ ones.  (This is partially merged from the DARWIN branch.)

configure.in: clean up the comments, distinguish different sections more
clearly, and generally make it more readable.

valgrind.pc.in: try to make this more accurate.  I doubt anyone's using it.
It doesn't appear to be set up to handle dual-architecture builds.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9031
2009-01-22 21:56:32 +00:00
Julian Seward
0707edc9a5 Unbreak the build on aix5.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8867
2008-12-23 02:09:17 +00:00
Julian Seward
e352772610 Don't segfault the guest during a call MPI_Init(NULL,NULL), since
those are valid parameters to MPI_Init.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8812
2008-12-08 10:27:31 +00:00
Julian Seward
b9a0667306 Fixes for compilation warnings from the apparently very strict
gcc-4.3.2 shipped with Ubuntu 8.10.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8723
2008-11-01 23:55:32 +00:00
Julian Seward
30d5a4a135 Stop mpxlc complaining about GNU-isms when compiling libmpiwrap.c.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8443
2008-07-18 18:21:32 +00:00
Julian Seward
15bc099f92 Add a wrapper for MPI_Waitany.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8092
2008-05-15 05:48:16 +00:00
Julian Seward
5679a22410 Update copyright dates ("200X-2007" --> "200X-2008").
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7398
2008-02-11 11:34:59 +00:00
Julian Seward
4113460bd5 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7397
2008-02-11 11:32:40 +00:00
Julian Seward
652c5531b1 AIX5 counterpart to r7302: Improve handling of programs which require
very large main thread stacks.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7306
2007-12-22 14:12:42 +00:00
Julian Seward
397511f653 Handle a whole bunch of obscure types.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6758
2007-06-05 19:51:35 +00:00
Julian Seward
65cb8fdd6a Test a whole bunch of obscure types.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6757
2007-06-05 19:51:02 +00:00