From a710f3ce7474792c098ac6fe4dc6a366cdbb4fb4 Mon Sep 17 00:00:00 2001 From: Eric Gallager Date: Fri, 2 Dec 2022 01:08:45 -0500 Subject: PR59447: --with-dwarf2 implies "(or later)" This patch includes "(or later)" in the documentation of the gcc subdirectory's --with-dwarf2 configure flag. Closes PR59447. gcc/ChangeLog: PR bootstrap/59447 * configure: Regenerate. * configure.ac: Document --with-dwarf2 flag as also applying to later DWARF standards. * doc/install.texi: Likewise. --- gcc/configure | 3 ++- gcc/configure.ac | 2 +- gcc/doc/install.texi | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/configure b/gcc/configure index a742d44..74bf1c6 100755 --- a/gcc/configure +++ b/gcc/configure @@ -1823,7 +1823,8 @@ Optional Packages: --with-stack-clash-protection-guard-size=size Set the default stack clash protection guard size for specific targets as a power of two in bytes. - --with-dwarf2 force the default debug format to be DWARF 2 + --with-dwarf2 force the default debug format to be DWARF 2 (or + later) --with-specs=SPECS add SPECS to driver command-line processing --with-pkgversion=PKG Use PKG in the version string in place of "GCC" --with-bugurl=URL Direct users to URL to report a bug diff --git a/gcc/configure.ac b/gcc/configure.ac index d4c2b75..7ca0872 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -1023,7 +1023,7 @@ fi, objc_boehm_gc='') AC_ARG_WITH(dwarf2, -[AS_HELP_STRING([--with-dwarf2], [force the default debug format to be DWARF 2])], +[AS_HELP_STRING([--with-dwarf2], [force the default debug format to be DWARF 2 (or later)])], dwarf2="$with_dwarf2", dwarf2=no) diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 589c649..89ff6a6 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -1914,7 +1914,8 @@ should not be built. @item --with-dwarf2 Specify that the compiler should -use DWARF 2 debugging information as the default. +use DWARF debugging information as the default; the exact +DWARF version that is the default is target-specific. @item --with-advance-toolchain=@var{at} On 64-bit PowerPC Linux systems, configure the compiler to use the -- cgit v1.1