Commit Graph

121 Commits

Author SHA1 Message Date
Tom Hughes
0e1bae0879 Update the tool writing documentation.
Based on patch from Yao Qi <qiyaoltc@cn.ibm.com>.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5246
2005-11-29 09:59:32 +00:00
Donna Robinson
9718e2344e mc-tech-docs.xml
- removed ref to cachegrind.org

vg-html-website.xsl
vg-html-chunk.xsl
- common stuff stripped out, and placed in
  vg-html-common.xsl

vg-entities.xml
- added 2 more website url entities to replace hard-coded urls
  in FAQ.xml



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5240
2005-11-27 18:19:40 +00:00
Donna Robinson
c2aa0a5eea Post-release changes:
- removed a reference to cachegrind dot org from mc-tech-docs.xml
- in an effort to simplify future borked links, replaced all valgrind 
  website urls with entities so now we just have to change one string.
- new stylesheet to create the docs to 'fit' into the website
- added build rules 'make website-docs' + make download-docs
  to /docs/Makefile.am




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5239
2005-11-27 04:10:00 +00:00
Donna Robinson
2022dbf52c Due to package upgrades (docbook, passivetex), removed some
bug-patches and created some new ones in the stylesheets.
Also tweaked some files to structure the xml properly.
The FAQ and the Quick-Start are now 'articles' inside a book-wrapper,
which is as it should be.

FAQ.xml
- due to various passivetex bug fixes, the faq is now a properly 
  structured xml qandaset document

quick-start-guide.xml:
manual.xml
- Fixed some passivetex-workaround kludges:
  legalnotice -> author

manual-core.xml:
For readability, added '<command>' to varlistentry items 
since passivetex (sigh) will no longer indent the para text.

index.xml:
- loads of white-space readability tweaks here and there.

tech-docs.xml
dist-docs.xml
manual.xml
- additional entries to <bookinfo> for compatability with
  the rest of the docs.

/docs/Makefile.am
- added stuff to use the new vg-faq2txt.xsl stylesheet

/docs/lib/Makefile.am
- updated to reflect current contents of /docs/lib/
- removed refs to vg-html-single as is never ever used

/docs/lib/vg-fo.xsl
- massively updated to reflect losing old bugs and gaining new ones

/docs/lib/vg-common.xsl
- deleted as only contained two lines common to html and fo,
  so not worth the bother of hauling around

/docs/lib/vg-html-chunk.xsl
- added what was in vg-common.xsl

/docs/lib/line-wrap.xsl
/docs/lib/faq2text.xsl
- two new stylesheet files for transforming FAQ.xml to FAQ.txt



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5234
2005-11-25 05:36:48 +00:00
Julian Seward
1204c7450a Hopefully final 3.1.0RC1 changes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5224
2005-11-20 19:45:30 +00:00
Donna Robinson
569b58b383 Few more doc tweaks for consistency's sake
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5205
2005-11-19 03:28:10 +00:00
Nicholas Nethercote
cc64c8dda4 Minor QSG tweaks.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5200
2005-11-18 22:09:47 +00:00
Julian Seward
c0bd9bb622 Document PPC32 FP limitations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5198
2005-11-18 21:19:46 +00:00
Nicholas Nethercote
aba486d880 Stuff about core-dump reinstate-ment in the manual and release notes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5193
2005-11-18 17:36:01 +00:00
Nicholas Nethercote
7cd6f521cc Update documentation about --show-below-main.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5189
2005-11-18 14:59:00 +00:00
Julian Seward
d07dbe4a52 Complete documentation trawl for 3.1.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5137
2005-11-15 20:56:23 +00:00
Nicholas Nethercote
c3ffb5e7a4 wibble
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5136
2005-11-15 20:16:45 +00:00
Julian Seward
86c998a8de Update manual for 3.1.0, sections <= manual-core.html.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5135
2005-11-15 19:51:04 +00:00
Nicholas Nethercote
0947378009 Don't imply that the --tool option is mandatory.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5100
2005-11-12 18:53:50 +00:00
Nicholas Nethercote
9d374f4530 Rename --simulation-hints as --sim-hints for brevity.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5099
2005-11-12 18:21:40 +00:00
Julian Seward
63bfdbc99f Reinstate timestamping, sort-of, having trashed VG_(ctime) as part of
the glibc-removal process.  Timestamps are now printed in terms of
elapsed wallclock time since startup, shown as days, hours, minutes,
seconds and milliseconds.  The arithmetic is done with 32-bit unsigned
ints, so people doing Valgrind runs that last longer than 49.71 days
are going to see some funny results :-)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5042
2005-11-08 19:01:44 +00:00
Julian Seward
31f1119c9d Document the --kernel-variant= option.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5040
2005-11-08 15:52:36 +00:00
Tom Hughes
42c89442ee Remove "pid" to make docs align with reality.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5006
2005-11-04 17:13:24 +00:00
Tom Hughes
1ba3ab4f25 Add missing tag.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5000
2005-11-04 14:25:09 +00:00
Tom Hughes
8c0b48e4b9 Make the tool writing documentation align a bit more closely
with reality.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4999
2005-11-04 14:11:05 +00:00
Tom Hughes
4b7fc0d416 Remove remaining references to the old tool.h header.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4998
2005-11-04 12:27:58 +00:00
Tom Hughes
d827bf0409 Tool writing documentation updates from Yao Qi <qiyaoltc@cn.ibm.com>.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4997
2005-11-04 12:17:20 +00:00
Julian Seward
7ee131a3e3 Increase the threshold above which new errors are not shown from 300
unique / 30000 total to 1000 unique / 100000 total.  Programs are
generally bigger now than 3 years ago.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4957
2005-10-20 01:57:29 +00:00
Julian Seward
2aa34e2afe Remove all remaining references to pointercheck. It's sad to see it
go, but realistically we can't implement it portably, at least without
considerable performance overhead and some additional complexity.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4956
2005-10-20 01:37:15 +00:00
Julian Seward
4e2059f06a The Spin-Doctor arrives in Valgrind-Land: rename --weird-hacks= to
--simulation-hints=.  Bwaha.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4955
2005-10-20 01:09:57 +00:00
Nicholas Nethercote
6c502dc6b3 Clarify FAQ and Java and JITs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4884
2005-10-06 19:30:40 +00:00
Nicholas Nethercote
97e0595797 Added an FAQ about Java.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4883
2005-10-06 18:58:33 +00:00
Nicholas Nethercote
e41c7abfe2 Commit Jeroen Witmond's xml-to-text translator, and use it for the FAQ.
Less double maintenance, hoorah!



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4830
2005-09-30 01:43:32 +00:00
Julian Seward
38b71df161 Get rid of the "ioctl-mmap" weird-hack flag.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4800
2005-09-28 01:14:32 +00:00
Nicholas Nethercote
737ff99047 wibbles
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4788
2005-09-27 18:52:39 +00:00
Nicholas Nethercote
3499945a8b Fix broken links in the manual. Bug #113190.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4778
2005-09-26 01:11:40 +00:00
Nicholas Nethercote
89561b4eed Note that SSE3 isn't supported.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4646
2005-09-13 21:03:46 +00:00
Nicholas Nethercote
cd5e4b47db Fix "make distcheck".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4633
2005-09-13 04:10:45 +00:00
Nicholas Nethercote
d713ed9cc9 Fix XML bugs in the FAQ.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4528
2005-08-26 21:01:32 +00:00
Nicholas Nethercote
cd2e9fbe4b blah
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4423
2005-08-15 04:44:26 +00:00
Nicholas Nethercote
a754ffbee4 fix line numbers
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4422
2005-08-15 04:40:57 +00:00
Nicholas Nethercote
50898b4c82 foo
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4421
2005-08-15 04:37:34 +00:00
Nicholas Nethercote
5492bb9c86 some more info in the QSG
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4420
2005-08-15 04:34:20 +00:00
Donna Robinson
ec68ded51c Minor tweaks to get the FAQ on one page, per nick's request
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4315
2005-08-03 20:28:33 +00:00
Donna Robinson
24f3eebe04 Added some anchors for core flags
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4264
2005-07-26 01:16:59 +00:00
Nicholas Nethercote
a269d9cb78 Clean up command-line args info in the manual and man page for 3.0.0
release.  



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4259
2005-07-25 23:18:44 +00:00
Donna Robinson
522687e27b updated j's email address
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4247
2005-07-25 12:35:02 +00:00
Nicholas Nethercote
1f14543221 Update docs for 3.0.0 release. Still to do: update command line options.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4246
2005-07-25 00:12:19 +00:00
Nicholas Nethercote
f866282919 Remove very old info about the CVS repo at Sourceforge.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4144
2005-07-10 15:10:29 +00:00
Nicholas Nethercote
19b510f7d2 Removed Corecheck, as it no longer serves a useful purpose.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4077
2005-07-01 22:20:34 +00:00
Donna Robinson
a9b1a6cc57 Added some targets for massif & core options
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4005
2005-06-23 15:30:31 +00:00
Nicholas Nethercote
f174930b23 Final commit for the initial modularisation pass:
- Broke part of m_scheduler off into a new module m_threadstate.  It
  contains ThreadState, VG_(threads)[] and some basic operations on the
  thread table.  All simple stuff, the complex stuff stays in m_scheduler.
  This avoids lots of circular dependencies between m_scheduler and other
  modules.

- Managed to finally remove core.h and tool.h, double hurrah!

- Introduced pub_tool_basics.h and pub_core_basics.h, one of which is
  include by every single C file.

- Lots of little cleanups and changes related to the above.

- I even did a small amount of documentation updating.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3944
2005-06-19 01:24:32 +00:00
Nicholas Nethercote
3ae4d1a0ab A cleanup of the redirection stuff.
- Renamed VG_INTERCEPT as VG_REPLACE_FUNCTION to make its purpose
  clearer.

- Renamed VG_WRAPPER as VG_NOTIFY_ON_LOAD to make its purpose cleare.
  Started calling that stuff "load notification".

- Moved various things into m_redir.c, a much more sensible place for
  them.  This reduced the number of exported functions overall.  Renamed
  intercept_demangle() as Z_decode() as part of this.

- Improved the documentation of this stuff, especially in
  pub_core_redir.c.

- Got --run-libc-freeres=yes working again.  It was doing nothing.

- Renamed vg_inject.so as vg_preload_core.so to match
  vg_preload_<tool>.so

- Renamed vg_intercept.c as vg_preloaded.c.  (I kept the "vg_" prefix
  because this filename can appear in stack traces, so the "vg_" is a
  useful hint for users that it belongs to Valgrind.)

- Removed all the Memcheck-specific calls to add_redirect_sym_to_sym()
  from VG_(setup_redirect_table)(), instead using VG_REPLACE_FUNCTION in
  mac_replace_strmem.c, just like vg_replace_malloc.c.  This is the
  right way to do it.  This required moving some of
  coregrind/pub_core_redir.h into the newly added
  include/pub_tool_redir.h.  add_redirect_sym_to_sym() is no longer
  used...

- Now only handing off symbols to m_redir for inspection/decoding after
  they have been deemed to be interesting by the symbol table reader.

- Factored out commonality between the add_redirect_*_to_* functions
  into add_redirect_X_to_X().

- Added "Zh", meaning '-' ('h' for "hyphen"), to the Z-decoding scheme,
  to handle sonames like "ld-linux-x86-64.so.2".

- Added a FAQ explaining the newly found issue of glibc aliasing 
  sometimes causing the wrong function name to appear in stack traces.

- Added a new regtest strchr.c.  It's possible this will fail on some
  platforms.  If so, an alternative output file can be provided, but
  I'd like to see it in practice first.

It's possible that there will be minor breakage on other
platforms/setups, but it should be minimal and easily fixable.

Plus some ordinary cleanups in symtab.c:

- Removed the old optimisation from VG_(addStr)() whereby it kept track
  of the previous 5 added strings and avoiding duplicating any of them.
  Turns out it was barely having any effect any more, and just
  complicated things.

- Made read_symtab() more readable, by introducing a new variable
  "sym_name" and introducing the auxiliary function
  is_symbol_interesting().

- renamed the module variable 'segInfo' as 'segInfo_list' to make it
  more obvious it's a module variable and not just some ordinary local
  variable (which was an easy mistake to make).

-----------------------------------------------------------------------------

XXX: [later] remove add_redirect_sym_to_sym, and everything related to
     X_to_sym?  (ie. only need X_to_addr)

XXX: better function names?  all those 'resolved' names...
     [later...]




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3916
2005-06-16 03:56:58 +00:00
Julian Seward
ced9276574 Updated date :-)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3907
2005-06-13 16:50:29 +00:00
Donna Robinson
ff4eb2863e mc-tech-docs.xml:
- fixed link to comply with house-style
mc-manual.xml:
- rm'd unhelpful sentence + it's footnote
quick-start-guide.xml:
- fixed up some section ids + xreflabels 
  so we don't get cool filenames like 'bk01s02.html'.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3898
2005-06-12 10:23:23 +00:00