]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix _GLIBCXX_DEBUG_BACKTRACE macro documentation
authorFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 29 Jan 2024 18:20:25 +0000 (19:20 +0100)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 29 Jan 2024 20:00:58 +0000 (21:00 +0100)
libstdc++-v3/ChangeLog:

* doc/xml/manual/debug_mode.xml: Link against libstdc++exp.a to use
_GLIBCXX_DEBUG_BACKTRACE macro.

libstdc++-v3/doc/xml/manual/debug_mode.xml

index dadc0cd1bb4a578679fda2aba2f60f1d061144cb..ac15ef6f6d07a36d53343ba96d553fbfe6056779 100644 (file)
@@ -165,8 +165,8 @@ which always works correctly.
   It requires that you configure libstdc++ build with
   <option>--enable-libstdcxx-backtrace=yes</option>.
   Use <code>-D_GLIBCXX_DEBUG_BACKTRACE</code> to activate it.
-  You'll then have to link with libstdc++_libbacktrace static library
-  (<option>-lstdc++_libbacktrace</option>) to build your application.</para>
+  You'll then have to link against libstdc++exp static library
+  (<option>-lstdc++exp</option>) to build your application.</para>
 </section>
 
 <section xml:id="debug_mode.using.specific" xreflabel="Using Specific"><info><title>Using a Specific Debug Container</title></info>