<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><a class="moz-txt-link-freetext"
href="https://bugzilla.nasm.us/show_bug.cgi?id=3392765">https://bugzilla.nasm.us/show_bug.cgi?id=3392765</a></p>
<p><a href="https://bugzilla.nasm.us/show_bug.cgi?id=3392765"><b>Bug 3392765</b></a>
<span id="summary_container"> - <span
id="short_desc_nonedit_display">Line numbers with
error/warning occurrences are reported incorrectly for
included files</span> <br>
</span></p>
<p><span id="summary_container">- I can confirm the same bug. The
line number reporting for errors was displaying the running line
count for included files and NOT the line number of the main
file or included file.</span></p>
<p><span id="summary_container">I was using a principle file and
then including multiple other files as developed-needed. The
maximum %include depth was only 1.<br>
</span></p>
<p><span id="summary_container">(The main file worked correctly
until after %include "equates". Then any error in main thread
or subsequent %include files will show a cumulative line number.</span></p>
<p><span id="summary_container">The impact is when using source
level debug (gdb tui), the display goes wonky after the first
include.</span></p>
<p><span id="summary_container">The workaround is to generate a
"makefile" and then link individual files. The debug tags work
correctly with this approach. (I don't think they should since I
do include a constants file (%include "equates") and .bss file
(%include variables) and the issue does not recur.</span></p>
<p><span id="summary_container"><br>
</span></p>
<p><span id="summary_container">Tom Saunders<br>
</span></p>
<p><span id="summary_container"><br>
</span></p>
</body>
</html>