Bill Gunshannon bill.gunshannon at hotmail.com
Tue Mar 15 12:38:05 CDT 2022

On 3/15/22 13:31, Paul Koning wrote:
>> 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?

Good point.  Might have to check it out just out of curiosity.
Last time I used any debugger was adb on System V 30 some years
ago to patch some M68K kernels.  The closest I have come to
that level of debugging in a long time is to use -S option and
read thru the assembler generated by the compiler.


More information about the cctech mailing list