aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Gallager <egallager@gcc.gnu.org>2022-12-02 01:08:45 -0500
committerEric Gallager <egallager@gcc.gnu.org>2022-12-02 01:08:45 -0500
commita710f3ce7474792c098ac6fe4dc6a366cdbb4fb4 (patch)
tree41b0fddc81a09175c12679dc54512ae9c692fa05
parent0b737090a69624dea5318c380620283f0321a92e (diff)
downloadgcc-a710f3ce7474792c098ac6fe4dc6a366cdbb4fb4.zip
gcc-a710f3ce7474792c098ac6fe4dc6a366cdbb4fb4.tar.gz
gcc-a710f3ce7474792c098ac6fe4dc6a366cdbb4fb4.tar.bz2
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.
-rwxr-xr-xgcc/configure3
-rw-r--r--gcc/configure.ac2
-rw-r--r--gcc/doc/install.texi3
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