From: Glen C. <gco...@US...> - 1999-12-11 16:17:44
|
I'm starting to believe that Rildo is a programming GOD! Glen > -----Original Message----- > From: tin...@so... > [mailto:tin...@so...]On Behalf Of Rildo > Pragana > Sent: Friday, December 10, 1999 12:36 PM > To: tin...@ma... > Subject: [Tiny-cobol-users] Debugging cobol source with gdb. > > > Hi, > > I have implemented the first steps for debugging Tiny Cobol source with > gdb. I have some docs about "stabs", just if you are curious how this > works. > > There is not yet variable inspection, only single-stepping with source > lines being listed, but I'm planning to make it available soon. > > To debug, don't forget to assemble the .s file with the -g switch, or the > stabs information will be removed. The start gdb and put a breakpoint at > "main" and use "n" to single step by the cobol source lines. Don't change > the directory, because there is no path information in the file saved. In > other words, make sure the source file is at the same directory as the > object being debugged. You will see the source listed as the execution > progress. > > Enjoy! > > regards, > ---------------------------------------------------------------- > Rildo Pragana FPGA/uControllers * Linux * tcl/tk > P.O. Box 721 Camaragibe PE http://members.xoom.com/rpragana > Brazil 54792-990 +55-81-459-1776 > > > _______________________________________________ > Tiny-cobol-users mailing list > Tin...@li... > http://lists.sourceforge.net/mailman/listinfo/tiny-cobol-users > |