]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR59447: --with-dwarf2 implies "(or later)"
authorEric Gallager <egallager@gcc.gnu.org>
Fri, 2 Dec 2022 06:08:45 +0000 (01:08 -0500)
committerEric Gallager <egallager@gcc.gnu.org>
Fri, 2 Dec 2022 06:08:45 +0000 (01:08 -0500)
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
gcc/configure.ac
gcc/doc/install.texi

index a742d4406a82c4989273e636912ef8a00bafe7b5..74bf1c63e47f42029a3e603935e00585b7f30b33 100755 (executable)
@@ -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
index d4c2b75119da416e84f305b604c95fbe02c2cbbb..7ca08726efa494b170b98f0b1883d5a9de8ef002 100644 (file)
@@ -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)
 
index 589c64965b2ac0f1a5b071a1b7f37098e1245a74..89ff6a6734b4e63c9464a058bd60ea991fbb54ff 100644 (file)
@@ -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