Debugging wrong debug location info for a CALL in my silly language.
Screenshot Here’s a program in my silly language: PRINT "hi"; // line 1 FUNCTION bar0 ( ) // line 3 { PRINT "bar0"; // line 5 RETURN; // line 6 }; CALL bar0(); // line 9 I noticed that line stepping for this program has a “line number glitch”: xpg:/home/pjoot/toycalculator/samples> gdb out/f Reading symbols from out/f... (gdb) b main Breakpoint 1 at 0x400491: file f.silly, line 1. (gdb)…
View On WordPress












