Commit Graph

147 Commits

Author SHA1 Message Date
Julian Seward
76cfc4175d Add regtest for x86 cmpxchg8b.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4390
2005-08-12 23:40:55 +00:00
Julian Seward
7bfa28e29c Oops, recover from race condition in updating this file :-)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4389
2005-08-12 19:41:06 +00:00
Julian Seward
dd664d30ed Track recently-arrived bugs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4388
2005-08-12 19:27:21 +00:00
Tom Hughes
3567cb76b9 Update some bug statuses.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4387
2005-08-12 19:26:00 +00:00
Julian Seward
d718ce817c Track recent merging.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4376
2005-08-10 18:25:00 +00:00
Tom Hughes
d88aae8a82 Fill in some revision numbers.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4375
2005-08-10 18:21:42 +00:00
Julian Seward
e2f781fd27 Reformat and update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4373
2005-08-10 17:21:30 +00:00
Tom Hughes
71c161c322 Update details of slow startup on gentoo amd64 systems.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4369
2005-08-10 13:42:50 +00:00
Julian Seward
96670a46d1 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4368
2005-08-10 12:54:53 +00:00
Julian Seward
b537ffb195 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4361
2005-08-10 11:20:44 +00:00
Nicholas Nethercote
d37c5cc58d Move file to a more appropriate place.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4350
2005-08-09 00:13:48 +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
e27f11d02b minor tweaks
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4314
2005-08-03 18:58:45 +00:00
Julian Seward
fda7939b19 Hopefully this is the final commit for 3.0.0.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4313
2005-08-03 17:01:51 +00:00
Julian Seward
2dbebc4af2 Do per-chapter chunking for the html output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4310
2005-08-03 16:39:08 +00:00
Nicholas Nethercote
28205a87e3 One more thing to remember.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4302
2005-08-01 15:18:16 +00:00
Nicholas Nethercote
e13a1dd9b8 More release-HOWTO notes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4268
2005-07-26 22:17:14 +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
Julian Seward
1047c67491 wibble++
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4263
2005-07-25 23:50:22 +00:00
Julian Seward
d9135e872b In the final install, copy the documentation .pdf/.ps to files with a
bit of a more sensible name.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4262
2005-07-25 23:36:58 +00:00
Nicholas Nethercote
0578f24974 wibble
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4260
2005-07-25 23:30:06 +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
Julian Seward
104ccad880 Build the .ps/.pdf documentation by default when doing 'make dist'.
Because this means installing lots of XML processing tools and
supporting gunk, there is a hack at the top of docs/Makefile.am for
disabling the .pdf/.ps build.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4257
2005-07-25 23:01:43 +00:00
Nicholas Nethercote
d0aac31dac Make it more obvious if something fails when making HTML or PS/PDF docs.
Also put the output of all pfdxmltex runs in the logfile, not just the
last run's output.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4255
2005-07-25 21:12:40 +00:00
Julian Seward
281f0f1732 I'm still a moron (just in case anybody wondered whether things had
improved since last time I was a moron.  No, they haven't).

Move text that's supposed to be at the top of the file to the top of
the file.  I need to learn about these scroll-bar things some time.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4254
2005-07-25 17:58:48 +00:00
Julian Seward
aafc278acd Record my adventures in 'make print-docs' land.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4253
2005-07-25 17:54:06 +00:00
Julian Seward
00c4434760 I think && might be a better statement-joiner than ; -- the pdfxmltex
runs can easily die silently.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4252
2005-07-25 17:53:46 +00:00
Nicholas Nethercote
bff86f04bf Added a point for Josef W.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4248
2005-07-25 12:49:39 +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
9601c3c3fb Added a checklist of things to do when doing a release. Please add to this
if you think of anything that is missing.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4245
2005-07-24 23:47:01 +00:00
Julian Seward
a421699ed2 Rename tags in XML <status> block.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4240
2005-07-24 07:33:15 +00:00
Julian Seward
9a8e532e91 The devil's in the details ..
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4203
2005-07-19 23:12:11 +00:00
Tom Hughes
85423557b7 Add a makefile for the new documentation directory to avoid errors
when make tries to recurse into it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4198
2005-07-19 22:39:41 +00:00
Nicholas Nethercote
61448c507d We have a nice little collection of text files describing various high
level things.  But they're all over the place.  This commits moves
them all to the new docs/internals/ directory, and gives them 
a consistent naming scheme.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4196
2005-07-19 21:46:19 +00:00
Dirk Mueller
7e74189e60 allow to be build in a buildroot
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4171
2005-07-18 23:56:46 +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
Julian Seward
fbaa77af8c Remove trailing slash (some part of the autoswamp didn't like it)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4093
2005-07-03 00:50:48 +00:00
Nicholas Nethercote
fbf8653c8b Removed the remnants of the attempt at an ARM port, because it had
bit-rotted badly and was clogging up the code.

I put the useful remnants in docs/porting-to-ARM in case anyone ever
wants to try porting to ARM again.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4092
2005-07-02 23:13:59 +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
Donna Robinson
b655e45a8e argh! there were loads of the little beggars ....
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3999
2005-06-23 00:17:51 +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
Robert Walsh
5d35d711ba Implement stack registration client requests. See the documentation
in the user manual for usage information.  The stack_changes.c file in
corecheck/tests contains a short example.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3846
2005-06-04 20:42:33 +00:00
Nicholas Nethercote
f9923039ae Eliminated VGP_DO_MMAP. Replaced it with VG_(mmap_native)(), which was
derived from mmap_inner().

As a consequence, $PLATFORM/core_platform.h files are no longer necessary,
hooray!





git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3813
2005-05-29 18:46:38 +00:00
Nicholas Nethercote
df94111968 Removed the core_arch_asm.h files. The OYNK macros now live in tool_asm.h,
at least for the moment.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3748
2005-05-16 21:30:24 +00:00
Nicholas Nethercote
09cb7d57d1 Add note to FAQ about unloaded shared objects and leak errors.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3719
2005-05-15 14:49:24 +00:00