Commit cc1ad408 authored by rdubner's avatar rdubner

COBST now appends to .C, instead of creating .sym.c

parent afab6ad8
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerCommandArguments>-m 2 C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>-m 1 C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerEnvironment>COBST_NOISYx=1</LocalDebuggerEnvironment>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerCommandArguments>-m 2 C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>-m 1 C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerEnvironment>COBST_NOISYx=1</LocalDebuggerEnvironment>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LocalDebuggerCommandArguments>-m 2 C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>-m 1 C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerEnvironment>COBST_NOISYx=1</LocalDebuggerEnvironment>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LocalDebuggerCommandArguments>-m 2 C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>-m 1 C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerEnvironment>COBST_NOISYx=1</LocalDebuggerEnvironment>
</PropertyGroup>
......
......@@ -297,13 +297,9 @@ PARAMETERS::GetParameters(int argc, char *argv[])
sourcename = argv[optind++];
c_filename.Decode(basename + ".c");
symc_filename.Decode(basename + ".sym.c");
cbl_filename.Decode(sourcename);
OpenOrFail(c_file,c_filename.WholePath());
OpenOrFail(symc,symc_filename.WholePath());
}
vector<string>
......
......@@ -122,12 +122,9 @@ public:
FILENAME c_filename; // intermediate C source code file
// // generated by GnuCOBOL
FILENAME symc_filename; // The source file for the .debug_gdb_scrips
// //
FILENAME cbl_filename; // The purported name of the COBOL source file,
// // used for the VARIABLE_STRING_whatever name
std::ifstream c_file;
std::ofstream symc;
bool quiet;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment