736 Commits

Author SHA1 Message Date
Florian Krohm
ebc9830bb1 Add testcases for cu12. Update opcode table.
Part of fixing #289839.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12820
2012-08-03 18:37:26 +00:00
Philippe Waroquiers
ff24dfeb57 Some updates in release-HOWTO.txt
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12816
2012-08-02 21:01:13 +00:00
Philippe Waroquiers
36ca11463d Remove --vex-iropt-precise-memory-exns, implement --vex-iropt-register-updates
* Option --vex-iropt-precise-memory-exns has been removed.
  It is replaced by --vex-iropt-register-updates which accepts
  3 values : 'unwindregs-at-mem-access' (replacing
  --vex-iropt-precise-memory-exns=no), 'allregs-at-mem-access'
  (replacing --vex-iropt-precise-memory-exns=yes)
  and a new value 'allregs-at-each-insn'.
  'allregs-at-each-insn' allows the Valgrind gdbserver to always
  show up to date values to GDB.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12809
2012-08-01 22:03:12 +00:00
Philippe Waroquiers
d045b4236a Implement --redzone-size and --core-redzone-size
* For tools replacing the malloc library (e.g. Memcheck, Helgrind, ...),
  the option --redzone-size=<number> allows to control the padding 
  blocks (redzones) added before and after each client allocated block.
  Smaller redzones decrease the memory needed by Valgrind. Bigger
  redzones increase the chance to detect blocks overrun or underrun.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12807
2012-07-31 22:17:28 +00:00
Florian Krohm
572800ce5a Remove entries with deprecated spellings (essentially duplicates).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12806
2012-07-30 16:18:19 +00:00
Florian Krohm
3630d97fcf Testcases for CU42. Part of fixing bugzilla #289839.
Update opcode table.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12804
2012-07-28 22:20:03 +00:00
Florian Krohm
b7b54defa7 Updates for s390x
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12803
2012-07-28 22:10:41 +00:00
Philippe Waroquiers
b30612fef7 re-re-clarify the doc about registers and flags gdbsrv up-to-date-ness
Following discussions on valdev and re-measurement, clarify the clarification.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12784
2012-07-25 21:58:40 +00:00
Philippe Waroquiers
fba5e95cd9 remove 303624 from 3_7_BUGSTATUS.txt (was fixed in rev 12758, already in NEWS)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12783
2012-07-25 19:58:37 +00:00
Julian Seward
ffcff15682 Partial update of bug fixes (I think it is still out of date though.)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12781
2012-07-25 11:02:01 +00:00
Philippe Waroquiers
668df8d006 Better document the limitation of gdbsrv for registers and flags values
During investigations of 303963, Josef found that flags are not always
up to date and that --vex-guest-max-insns=1 ensures flags values
are (more?) correct.

=> enhance the paragraph in the gdbserver limitations to reference
this option and give an idea of the performance impact of the other
options helping to increase the precision of registers and flags.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12778
2012-07-24 20:24:39 +00:00
Florian Krohm
da2bfe57dc Add testcases for CU24. Part of fixing #289839.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12771
2012-07-21 17:42:54 +00:00
Florian Krohm
21c67106a6 Add testcases for CU21. Update opcode table.
WRT the memcheck test: the good news is we get all the complaints
we want. The bad news is:
- the line numbers from within do_cu21 are off
- there are 2 complaints when attempting to convert from
  an uninitialised input buffer instead of one. One of them has a 
  completely bogus line number.

Possibly due to bad debug info?  Let's see what happens on machines
with more recent GCCs. 


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12765
2012-07-20 00:17:16 +00:00
Julian Seward
14162b7154 Track recent bug fixes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12753
2012-07-16 22:39:24 +00:00
Julian Seward
058ab42645 Update with recent fixes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12744
2012-07-14 10:08:40 +00:00
Julian Seward
c3f41bc3ed Update w/ recent bug fixes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12740
2012-07-13 14:04:03 +00:00
Tom Hughes
a3c57c513c Update bug status.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12732
2012-07-11 15:42:25 +00:00
Julian Seward
11f12ec05c Note 286917 fix.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12729
2012-07-11 14:28:13 +00:00
Julian Seward
c37b405fc3 Note 290006 fixage.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12725
2012-07-11 00:06:35 +00:00
Philippe Waroquiers
2b25e3f059 remove 302800 (bug invalid and/or covered by --soname-synonyms)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12724
2012-07-07 15:53:26 +00:00
Philippe Waroquiers
a059322c40 remove 301204 (already in NEWS fixed section)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12723
2012-07-07 15:44:06 +00:00
Philippe Waroquiers
74bc30c150 295590 Helgrind: Assertion 'cvi->nWaiters > 0' failed when cond var being waited upon destroyed
* when cond var is destroyed, in the PRE, report an error if nwaiters > 0.
* when cond_wait succeeds, get the cond var but do not create one in helgrind
  (it must exist if cond_wait was done).
  Report an error if cond not found (assuming this is caused by a destroy
  done while the thread was cond_wait-ing).
* added a test


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12721
2012-07-06 23:38:24 +00:00
Philippe Waroquiers
4160fb96ff fix 302918 Enable testing of the vmaddfp and vnsubfp instructions in the testsuite
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12718
2012-07-06 21:42:14 +00:00
Philippe Waroquiers
cb808f8353 Improve behaviour of mempool redzone checking if user does not follow the manual (297911)
User is supposed to mark the superblock(s) of a mempool as noaccess.
As Valgrind objective is to find bugs for users which are doing bugs, let's even
find (some) bugs if the user has a bug in the bug detection code.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12714
2012-07-05 21:11:12 +00:00
Julian Seward
fd343fe287 Finish initial triaging pass.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12712
2012-07-05 13:26:07 +00:00
Philippe Waroquiers
93f019ff73 fix 302709 valgrind for ARM needs extra tls support for android emulator
Allow Valgrind to run on android emulator.
+ added README.android_emulator giving some details about versions used.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12710
2012-07-04 21:59:29 +00:00
Julian Seward
8837568969 Commit results of triagery so far.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12709
2012-07-04 20:30:47 +00:00
Florian Krohm
189424e55d Final round of moving fixed bugs from 3_7_BUGSTATUS to NEWS.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12699
2012-07-02 15:03:29 +00:00
Florian Krohm
b7cd4ac062 Move more fixed bugs from 3_7_BUGSTATUS to NEWS.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12698
2012-07-02 12:14:00 +00:00
Florian Krohm
6ca1828465 Removed some bugs that were marked invalid. I did not move them to NEWS
because I don't think we want to report those.
Moved some more from 3_7_BUGSTATUS to NEWS because they are marked as FIXED
in Bugzilla.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12697
2012-07-01 21:55:13 +00:00
Florian Krohm
ba4f93d1e4 Remove some more entries from 3_7_BUGSTATUS that were already in NEWS.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12696
2012-07-01 21:24:53 +00:00
Philippe Waroquiers
4cefae5c87 move the mips port bug entry from 3_7_BUGSTATUS.txt to NEWS
Note: a paragraph in PLATFORM CHANGES section of NEWS indicating
the addition of the MIPS port (and some details) would be good
(as this is a major change).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12695
2012-07-01 20:35:26 +00:00
Philippe Waroquiers
0dd13768f3 Move one more fixed bug from 3_7_BUGSTATUS.txt to NEWS.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12694
2012-07-01 20:31:43 +00:00
Philippe Waroquiers
c8d59b78f6 Move some fixed bugs from 3_7_BUGSTATUS.txt to NEWS.
Removed some bugs from 3_7_BUGSTATUS.txt that were already in NEWS.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12693
2012-07-01 20:06:04 +00:00
Julian Seward
1c0ac5bc3a Update with header lines for all reported bugs so far.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12692
2012-06-30 20:38:44 +00:00
Julian Seward
c7dcb22a6b Add a text file giving a top-level summary of all bugs reported since
3.7.0 was released, that have not been fixed.  (Old habits die hard!)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12689
2012-06-30 16:51:00 +00:00
Florian Krohm
5dec28d4af Increase allowed size of a back-trace to 500 frames.
This limit is large enough for all practical purposes. It exists
only to sanity check the value specified with --num-callers.
Be frugal in record_ExeContext_wrk and only allocate on the stack 
as many frames as needed. 
Testcase included.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12685
2012-06-29 21:20:52 +00:00
Petar Jovanovic
8dabfc8bef Adding README.mips to distribution documents.
Small change to dist-docs.xml to include README.mips.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12680
2012-06-28 09:58:05 +00:00
Julian Seward
3ce148100f Update with recent notes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12635
2012-06-13 11:12:49 +00:00
Florian Krohm
932ea4ad94 Support "compare double ansd swap" insns: CDS, CDSY, and CDSG
valgrind bits for fixing bugzilla #291865. See also VEX r2372.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12615
2012-06-06 02:27:51 +00:00
Julian Seward
17a6f15959 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12612
2012-06-05 00:32:51 +00:00
Julian Seward
e8788cd52e Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12608
2012-06-03 23:14:23 +00:00
Philippe Waroquiers
0856074e8f Document the register(s) used for thread pointer
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12592
2012-05-28 16:55:35 +00:00
Philippe Waroquiers
4d7d9506ab Improve cross referencing of gdbserver monitor commands
Based on a suggestion and patch from Marc Bessieres 
(marc.bessieres@gmail.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12590
2012-05-28 08:56:24 +00:00
Philippe Waroquiers
e4a8d5e273 as vgdb not activated by default on android, need to fix the example
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12584
2012-05-25 22:36:01 +00:00
Philippe Waroquiers
2478728636 gdbserver: introduce support to show the AVX registers.
This implies to change the interface between the
arch independent gdbserver files and the arch dependent files
as AVX implies a choice of xml files at run time.

In valgrind-low-amd64.c, the xml files and the nr of registers
are different depending on AVX support or not.

Other platforms still have a fully static nr of registers.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12581
2012-05-24 21:33:17 +00:00
Julian Seward
8ebb8c30e5 Add initial support for Intel AVX instructions (Valgrind side).
Tracker bug is #273475.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12569
2012-05-21 10:18:10 +00:00
Philippe Waroquiers
0ea6d36f1d fix 219156 support static malloc or alternate malloc lib (e.g. tcmalloc) with new option --soname-synonyms
* pub_tool_redir.h : define the prefix to be used for "soname synonym"
  place holder
* vg_replace_malloc.c : define synonym place holder for malloc related
  functions
* m_redir.c : when detecting a soname synonym place holder redir spec, search
  in clo_soname_synonyms if there is a synonym pattern.
  If yes, replace the soname pattern. If not, ignore the redir spec.
* various files: implement or document the new clo --soname-synonyms
* new test memcheck/tests/static_malloc.vgtest



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12559
2012-05-11 19:33:46 +00:00
Florian Krohm
33eb733e4e Updated for s390.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12551
2012-05-03 01:39:45 +00:00
Philippe Waroquiers
f53053e7c9 add optional arg [aspacemgr] to v.info memory to show aspacemgr segments.
When investigating Valgrind out of memory situation,
it is useful to be able to output the list of segments of the
aspacemgr at any moment.
The GDB monitor command "v.info memory" has now an optional
argument allowing to output this list of segments



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12544
2012-04-27 22:59:43 +00:00