SDCC command: sdcc --debug lst_problem_example.c
SDCC version 2.8.0, under Windows XP.
The problem is inside the listing (.lst and .rst) files generated.
When compiling the included example (lst_problem_example.c), the C lines comment inside the listing file seems incorrect.
Inside the listing file, we see the same C line comment twice, like this:
159 ; lst_problem_example.c:22: l_uiCounter = 0;
171 ; lst_problem_example.c:22: l_uiCounter = 0;
In my opinion, line 171 is correct. But the line 159 should have had the next comment:
159 ; lst_problem_example.c:14: if (P1_4 == 0)
Also, note that the .cdb has no reference to the C line number #14. This might be related to the same problem.
Log in to post a comment.