From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/installation/debug_compile.html | 75 +++++++++++++++++++++--------------- 1 file changed, 44 insertions(+), 31 deletions(-) (limited to 'docs/installation/debug_compile.html') diff --git a/docs/installation/debug_compile.html b/docs/installation/debug_compile.html index 52482f37..dd44f29d 100644 --- a/docs/installation/debug_compile.html +++ b/docs/installation/debug_compile.html @@ -14,7 +14,7 @@ -

There are three compile-time configuration options that assist in -debugging Berkeley DB and Berkeley DB applications:

+

+ There are three compile-time configuration options that + assist in debugging Berkeley DB and Berkeley DB + applications: +

- --enable-debug + --enable-debug
-
If you want to build Berkeley DB with -g as the C and C++ compiler -flag, enter --enable-debug as an argument to configure. This will create -Berkeley DB with debugging symbols, as well as load various Berkeley DB routines -that can be called directly from a debugger to display database page -content, cursor queues, and so forth. (Note that the -O -optimization flag will still be specified. To compile with only the --g, explicitly set the CFLAGS environment variable -before configuring.)
+
+ If you want to build Berkeley DB with -g as the C and C++ + compiler flag, enter --enable-debug as an argument to + configure. This will create Berkeley DB with debugging + symbols, as well as load various Berkeley DB routines + that can be called directly from a debugger to display + database page content, cursor queues, and so forth. + (Note that the -O + optimization flag will still be specified. To compile + with only the -g, + explicitly set the CFLAGS + environment variable before configuring.) +
- --enable-diagnostic + --enable-diagnostic
-
If you want to build Berkeley DB with debugging run-time sanity checks and with -DIAGNOSTIC #defined during compilation, enter --enable-diagnostic as an -argument to configure. This will cause a number of special checks to be -performed when Berkeley DB is running. This flag should not be defined when -configuring to build production binaries because it degrades performance.
+
+ If you want to build Berkeley DB with debugging + run-time sanity checks and with DIAGNOSTIC #defined + during compilation, enter --enable-diagnostic as an + argument to configure. This will cause a number of + special checks to be performed when Berkeley DB is + running. This flag should not be defined when + configuring to build production binaries because it + degrades performance. +
- --enable-umrw + --enable-umrw
-
When compiling Berkeley DB for use in run-time memory consistency checkers -(in particular, programs that look for reads and writes of uninitialized -memory), use --enable-umrw as an argument to configure. This -guarantees, among other things, that Berkeley DB will completely initialize -allocated pages rather than initializing only the minimum necessary -amount.
+
+ When compiling Berkeley DB for use in run-time + memory consistency checkers (in particular, programs + that look for reads and writes of uninitialized + memory), use --enable-umrw as an argument to + configure. This guarantees, among other things, that + Berkeley DB will completely initialize allocated pages + rather than initializing only the minimum necessary + amount. +
@@ -90,9 +105,7 @@ amount.  Next - Chapter 3.  - Debugging Applications -   + Chapter 3.  Debugging Applications   Home -- cgit v1.2.1