|
From: Nicholas N. <nj...@cs...> - 2008-03-10 21:04:50
|
On Mon, 10 Mar 2008, Julian Seward wrote: >> I've copied a small example here to explain further what I mean. From >> the following report, it can be seen that lines 1823 and 1833 are indeed >> conditionals, but line 1851 is actually a printf statement containing >> only a string literal. However, the next line (1852) is a conditional. > > There can sometimes be a small degree of error in the line numbers. > Reading it exactly accurately is not always easy and gcc has been > known to emit bogus line number info, especially at high optimisation > levels. Yes -- Valgrind's line number reports are entirely dependent on the debug info added by GCC. N |