public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4457] PR59447: --with-dwarf2 implies "(or later)"
@ 2022-12-02 6:16 Eric Gallager
0 siblings, 0 replies; only message in thread
From: Eric Gallager @ 2022-12-02 6:16 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a710f3ce7474792c098ac6fe4dc6a366cdbb4fb4
commit r13-4457-ga710f3ce7474792c098ac6fe4dc6a366cdbb4fb4
Author: Eric Gallager <egallager@gcc.gnu.org>
Date: Fri Dec 2 01:08:45 2022 -0500
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.
Diff:
---
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 a742d4406a8..74bf1c63e47 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 d4c2b75119d..7ca08726efa 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 589c64965b2..89ff6a6734b 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-02 6:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-02 6:16 [gcc r13-4457] PR59447: --with-dwarf2 implies "(or later)" Eric Gallager
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).