[Ada] Adjustment of behavior of new -gnatRj switch
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 29 May 2018 09:39:44 +0000 (09:39 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 29 May 2018 09:39:44 +0000 (09:39 +0000)
commitde9b2a969ebc6ebce82331c67c895a0f99b0cc78
treec90bd22413cd1052b8920b6617ad5eb786a55764
parentce09c3c07f3bae669c0152ba4d72a708cfe27d0f
[Ada] Adjustment of behavior of new -gnatRj switch

This decouples -gnatRj from the destination, either standard output or file,
so that it only toggles the format of the representation information.

2018-05-29  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* doc/gnat_ugn/building_executable_programs_with_gnat.rst (Debugging
Control): Adjust description of -gnatRj.
* gnat_ugn.texi: Regenerate.
* opt.ads (List_Representation_Info_To_JSON): Likewise.
* repinfo.adb (List_Rep_Info): Do not automatically create a file
if List_Representation_Info_To_JSON is true.
* switch-c.adb (Scan_Front_End_Switches) <R>: Remove incompatibility
check between -gnatRj and -gnatRs.
* usage.adb (Usage): Adjust description of -gnatRj.

From-SVN: r260873
gcc/ada/ChangeLog
gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
gcc/ada/gnat_ugn.texi
gcc/ada/opt.ads
gcc/ada/repinfo.adb
gcc/ada/switch-c.adb
gcc/ada/usage.adb