`--with-system-readline'
Use the readline library installed on the host, rather than the
- library supplied as part of GDB tarball.
+ library supplied as part of GDB. Readline 7 or newer is required;
+ this is enforced by the build system.
`--with-system-zlib
Use the zlib library installed on the host, rather than the
- library supplied as part of GDB tarball.
+ library supplied as part of GDB.
`--with-expat'
Build GDB with Expat, a library for XML parsing. (Done by
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.