summaryrefslogtreecommitdiff
path: root/dbug/user.r
diff options
context:
space:
mode:
Diffstat (limited to 'dbug/user.r')
-rw-r--r--dbug/user.r22
1 files changed, 3 insertions, 19 deletions
diff --git a/dbug/user.r b/dbug/user.r
index 1ccd46bd21e..8d8a9ce6910 100644
--- a/dbug/user.r
+++ b/dbug/user.r
@@ -881,20 +881,6 @@ Modifying
.I initial
value does not affect threads that are already running. Obviously,
these macros are only useful in the multi-threaded environment.
-.SP 1
-.LI DBUG_MALLOC\
-.LI DBUG_REALLOC\
-.LI DBUG_FREE\
-When these macros are used instead of system malloc(), realloc(), and free(),
-.I dbug
-built-in memory debugger performs checks for memory overwrites, underwrites,
-memory leaks, and accesses to uninitialized or freed memory. Memory leaks are
-found as memory not deallocated at shutdown. Memory overwrites and underwrites
-are detected when this memory is about to be freed (by
-.B DBUG_FREE
-macro), unless
-.B S
-flag is present in the debug control string (see below).
.LE
.SK
@@ -1003,11 +989,9 @@ Most useful with
macros used to temporarily alter the
debugger state.
.LI S
-Check the memory allocated with
-.B DBUG_MALLOC
-and
-.B DBUG_REALLOC
-for overwrites/underwrites
+When compiled with
+.I safemalloc
+this flag invokes "sanity" memory checks (for overwrites/underwrites)
on each
.B DBUG_ENTER
and