aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2021-08-03 12:37:38 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2021-09-23 13:06:16 +0000
commitead89f5f1491c13025704d036223b257e00e89d3 (patch)
treefa4aa97612e3ce56edfbdbd4c7edc5640ce0e9e9
parentf7d1b4a7e0328f8482145c5b3d6333b27e38a919 (diff)
downloadgcc-ead89f5f1491c13025704d036223b257e00e89d3.zip
gcc-ead89f5f1491c13025704d036223b257e00e89d3.tar.gz
gcc-ead89f5f1491c13025704d036223b257e00e89d3.tar.bz2
[Ada] Adjust documentation of gnatsymbolize
gcc/ada/ * doc/gnat_ugn/gnat_utility_programs.rst (gnatsymbolize): Document new --load option and -g1 as minimal compilation requirement.
-rw-r--r--gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst18
1 files changed, 8 insertions, 10 deletions
diff --git a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
index f152ce3..d030cd4 100644
--- a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
+++ b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
@@ -4294,10 +4294,13 @@ building specialized scripts.
Standard Output. Has no effect otherwise.
:switch:`--count={N}`
- If specified, compute the symbolic traceback ``N`` times in a row.
- This option is mostly useful for measuring the performance of
- ``gnatsymbolize``, particularly in the case where the cache is
- being used.
+ Compute the symbolic traceback ``N`` times in a row. This option
+ is mostly useful for measuring the performance of ``gnatsymbolize``,
+ particularly in the case where the cache is being used.
+
+ :switch:`--load`
+ Interpret the first address as the load address of the executable.
+ This is needed for position-independent executables on Windows.
Requirements for Correct Operation
----------------------------------
@@ -4311,12 +4314,7 @@ building specialized scripts.
This program provides a functionality similar to ``addr2line``.
It has fewer options to tailor its output, but has been designed
to require fewer of the DWARF sections to be present in the
- executable. In particular, the following sections can be
- stripped from the executable without impact to ``gnatsymbolize``'s
- functionality:
-
- * ``.debug_str``
- * ``.debug_ranges``
+ executable. In particular, it works for code compiled with ``-g1``.
.. only:: PRO or GPL