X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FREADME;h=8a91aab2a4c644690782d34f7b33835cc8d65440;hb=5c1e6d53a518442741f05175dbded0d1880f4759;hp=5881be23af804da6a4807288fdcfacee330f11d4;hpb=a95746f91769c0f65e9393ff83aad0871d1a666b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/README b/gdb/README index 5881be23af..8a91aab2a4 100644 --- a/gdb/README +++ b/gdb/README @@ -538,6 +538,19 @@ more obscure GDB `configure' options are not listed here. the compiler, which will fail the compilation if the compiler outputs any warning messages. +`--enable-ubsan' + Enable the GCC undefined behavior sanitizer. By default this is + disabled in GDB releases, but enabled when building from git. + The undefined behavior sanitizer checks for C++ undefined + behavior. It has a performance cost, so if you are looking at + GDB's performance, you should disable it. + +`--enable-unit-tests[=yes|no]' + Enable (i.e., include) support for unit tests when compiling GDB + and GDBServer. Note that if this option is not passed, GDB will + have selftests if it is a development build, and will *not* have + selftests if it is a non-development build. + `configure' accepts other options, for compatibility with configuring other GNU tools recursively.