gcobol

Paul Koning paulkoning at comcast.net
Tue Mar 15 12:31:18 CDT 2022



> On Mar 15, 2022, at 1:18 PM, Bill Gunshannon via cctalk <cctalk at classiccmp.org> wrote:
> 
> On 3/15/22 12:57, Paul Koning wrote:
>>> ...
> 
>>>> One difference is that GDB will be able to do COBOL mode debugging.
>>> 
>>> Never had a reason to try it but I thought GnuCOBOL allowed the use
>>> of GDB.  FAQ seems to say it can be used.
>> Yes, but presumably in C language mode.
> 
> But I thought there was a comment that because of the liberal use
> of comments it was easy tracing a problem back to the COBOL source.
> 
> I'll probably never find out.  :-)

Same here since I'm not a COBOL programmer.

What I meant: COBOL has data types like decimal numbers, which C doesn't seem to have.  So how would GDB view such a variable? How would you enter a value if you want to change it?

	paul



More information about the cctech mailing list