[Issue 4839] CodeView: Segment end address is wrong

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 19 11:48:06 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4839



--- Comment #1 from Aldo Nunez <aldonunez1 at gmail.com> 2011-04-19 11:44:29 PDT ---
When debugging in source code view, you reach the return statement of a
function. Then you step over to try to return to the caller. Instead, we're put
into disassembly to step thru the epilogue of the function.

This seems to be a problem in the linker. I couldn't find where in the compiler
this wrong information is set. I suspect that when the linker makes the
sstSrcModule record, it uses the offset of the last line, instead of the offset
of the last byte of the function it's in.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list