diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2018-05-29 09:39:44 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-05-29 09:39:44 +0000 |
commit | de9b2a969ebc6ebce82331c67c895a0f99b0cc78 (patch) | |
tree | c90bd22413cd1052b8920b6617ad5eb786a55764 /gcc/ada/usage.adb | |
parent | ce09c3c07f3bae669c0152ba4d72a708cfe27d0f (diff) | |
download | gcc-de9b2a969ebc6ebce82331c67c895a0f99b0cc78.zip gcc-de9b2a969ebc6ebce82331c67c895a0f99b0cc78.tar.gz gcc-de9b2a969ebc6ebce82331c67c895a0f99b0cc78.tar.bz2 |
[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
Diffstat (limited to 'gcc/ada/usage.adb')
-rw-r--r-- | gcc/ada/usage.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb index a07629e..a065244 100644 --- a/gcc/ada/usage.adb +++ b/gcc/ada/usage.adb @@ -403,10 +403,10 @@ begin Write_Switch_Char ("R?"); Write_Line ("List rep info (?=0/1/2/3/e/m for none/types/all/symbolic/ext/mech)"); + Write_Switch_Char ("R?j"); + Write_Line ("List rep info in the JSON data interchange format"); Write_Switch_Char ("R?s"); Write_Line ("List rep info to file.rep instead of standard output"); - Write_Switch_Char ("R?j"); - Write_Line ("List rep info to file.json instead of standard output"); -- Line for -gnats switch |