aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2022-01-30 18:41:16 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-11 08:53:19 +0000
commit4371d18278716311d6dbff55d3582536a19541d9 (patch)
treec48e09a15e26460d3ca81b19dc7a86d236eab1a9
parenta473646ec83e0835cf3f16e146a69445e6da7ee5 (diff)
downloadgcc-4371d18278716311d6dbff55d3582536a19541d9.zip
gcc-4371d18278716311d6dbff55d3582536a19541d9.tar.gz
gcc-4371d18278716311d6dbff55d3582536a19541d9.tar.bz2
[Ada] Fix formatting glitches in GNAT User's Guide
Only enhancement of formatting. gcc/ada/ * doc/gnat_ugn/gnat_and_program_execution.rst, doc/gnat_ugn/gnat_utility_programs.rst, doc/gnat_ugn/inline_assembler.rst: Fix typos and formatting glitches. * gnat_ugn.texi: Regenerate.
-rw-r--r--gcc/ada/doc/gnat_ugn/gnat_and_program_execution.rst4
-rw-r--r--gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst12
-rw-r--r--gcc/ada/doc/gnat_ugn/inline_assembler.rst2
-rw-r--r--gcc/ada/gnat_ugn.texi6
4 files changed, 12 insertions, 12 deletions
diff --git a/gcc/ada/doc/gnat_ugn/gnat_and_program_execution.rst b/gcc/ada/doc/gnat_ugn/gnat_and_program_execution.rst
index 24ef9d6..ce38869 100644
--- a/gcc/ada/doc/gnat_ugn/gnat_and_program_execution.rst
+++ b/gcc/ada/doc/gnat_ugn/gnat_and_program_execution.rst
@@ -433,7 +433,7 @@ Ada Tasks
.. index:: Breakpoints and tasks
-* ``break``*linespec* ``task`` *taskid*, ``break`` *linespec* ``task`` *taskid* ``if`` ...
+* ``break`` *linespec* ``task`` *taskid*, ``break`` *linespec* ``task`` *taskid* ``if`` ...
These commands are like the ``break ... thread ...``.
*linespec* specifies source lines.
@@ -1306,7 +1306,7 @@ or simply:
::
- $ gprof my_prog
+ $ gprof my_prog
The complete form of the gprof command line is the following:
diff --git a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
index def11a6..d670839 100644
--- a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
+++ b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
@@ -630,13 +630,13 @@ building specialized scripts.
.. index:: --wide-character-encoding (gnatmetric)
- :switch:`--wide-character-encoding={e}`
- Specify the wide character encoding method for the input and output
- files. ``e`` is one of the following:
+ :switch:`--wide-character-encoding={e}`
+ Specify the wide character encoding method for the input and output
+ files. ``e`` is one of the following:
- * *8* - UTF-8 encoding
+ * *8* - UTF-8 encoding
- * *b* - Brackets encoding (default value)
+ * *b* - Brackets encoding (default value)
.. index:: Disable Metrics For Local Units in gnatmetric
@@ -1161,7 +1161,7 @@ building specialized scripts.
Report maximal loop nesting level
- :switch:`-no-loop-nesting`
+ :switch:`--no-loop-nesting`
Do not report maximal loop nesting level
diff --git a/gcc/ada/doc/gnat_ugn/inline_assembler.rst b/gcc/ada/doc/gnat_ugn/inline_assembler.rst
index b539e17..4f878c2 100644
--- a/gcc/ada/doc/gnat_ugn/inline_assembler.rst
+++ b/gcc/ada/doc/gnat_ugn/inline_assembler.rst
@@ -138,7 +138,7 @@ To see this output, invoke the compiler as follows:
::
- $ gcc -c -S -fomit-frame-pointer -gnatp nothing.adb
+ $ gcc -c -S -fomit-frame-pointer -gnatp nothing.adb
where the options are:
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index f52a069..142cdde 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -18498,7 +18498,7 @@ to refer to tasks in the following commands.
@itemize *
@item
-@code{break`@w{`}*linespec* `@w{`}task} @emph{taskid}, @code{break} @emph{linespec} @code{task} @emph{taskid} @code{if} …
+@code{break} @emph{linespec} @code{task} @emph{taskid}, @code{break} @emph{linespec} @code{task} @emph{taskid} @code{if} …
@quotation
@@ -19517,7 +19517,7 @@ or simply:
@quotation
@example
-$ gprof my_prog
+$ gprof my_prog
@end example
@end quotation
@@ -28015,7 +28015,7 @@ To see this output, invoke the compiler as follows:
@quotation
@example
-$ gcc -c -S -fomit-frame-pointer -gnatp nothing.adb
+$ gcc -c -S -fomit-frame-pointer -gnatp nothing.adb
@end example
@end quotation