Vereecke Jan wrote:
> * the line indicated by the debugger seems to be one-off from where the
> debugger stops.
> * for some reason only the last part of the line where the debugger stops is
> not displayed.
> * the line numbering known by the debugger does not correspond with the
> actual line numbering of the source (I have 469 LOC's, but the debugger
> tells me that I have 486 (see below)).

gdb gets confused if the source file has carriage-return / line-feed
line terminators rather than just plain line-feed (newline).  If there
are any carriage returns in your source, remove them and gdb should act
better.
--Mark

Reply via email to