On 12/1/22 20:29, Eric Gallager via Gcc-patches wrote:
A pretty simple patch; borrowed from Andrew Pinski on bugzilla:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59447
Tested by doing `./configure --help` in the gcc subdirectory and
noting that the "(or later)" made it into the output. OK for trunk?

gcc/ChangeLog:

     PR bootstrap/59447
     * configure: Regenerate.
     * configure.ac: Document --with-dwarf2 flag as also applying to
later DWARF standards.
     * doc/install.texi: Likewise.

Hmmm.  In this hunk

diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 589c64965b2..1d7c73eb914 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -1914,7 +1914,7 @@ should not be built.
@item --with-dwarf2
 Specify that the compiler should
-use DWARF 2 debugging information as the default.
+use DWARF 2 (or later) debugging information as the default.
@item --with-advance-toolchain=@var{at}
 On 64-bit PowerPC Linux systems, configure the compiler to use the

I think it would be better to say

use DWARF format for debugging information as the default; the exact DWARF version that is the default is target-specific.

OK with that change.

-Sandra

Reply via email to