diff options
Diffstat (limited to 'lib/compilers/ada.js')
-rw-r--r-- | lib/compilers/ada.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/compilers/ada.js b/lib/compilers/ada.js index d35adc1ce..7d61d70c4 100644 --- a/lib/compilers/ada.js +++ b/lib/compilers/ada.js @@ -34,6 +34,7 @@ export class AdaCompiler extends BaseCompiler { super(info, env); this.compiler.supportsGccDump = true; this.compiler.supportsIntel = true; + this.compiler.supportsGnatDebugView = true; } getExecutableFilename(dirPath) { @@ -53,7 +54,7 @@ export class AdaCompiler extends BaseCompiler { '-g', // enable debugging '-S', // Generate ASM '-fdiagnostics-color=always', - '-fverbose-asm', // Geneate verbose ASM showing variables + '-fverbose-asm', // Generate verbose ASM showing variables '-c', // Compile only '-eS', // commands are not errors '-cargs', // Compiler Switches for gcc. @@ -84,8 +85,8 @@ export class AdaCompiler extends BaseCompiler { // Set the working directory to be the temp directory that has been created execOptions.customCwd = path.dirname(inputFilename); - // As the file name is always appended to the end of the options array we need to - // find where the '-cargs' flag is in options. This is to allow us to set the + // As the file name is always appended to the end of the options array we need to + // find where the '-cargs' flag is in options. This is to allow us to set the // output as 'output.s' and not end up with 'example.s'. If the output is left // as 'example.s' CE can't find it and thus you get no output. const inputFileName = options.pop(); |