[Issue 4897] New: CodeView: No locals or parameters are shown when debugging, because of missing function info

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 19 10:54:08 PDT 2010


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

           Summary: CodeView: No locals or parameters are shown when
                    debugging, because of missing function info
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Optlink
        AssignedTo: nobody at puremagic.com
        ReportedBy: aldonunez1 at gmail.com


--- Comment #0 from Aldo Nunez <aldonunez1 at gmail.com> 2010-09-19 10:53:31 PDT ---
Created an attachment (id=761)
Compares the global symbol address sort tables of passing and failing exes.

With DMD release 2.049, no local variables or parameters are listed and no
expressions for the current stack frame can be evaluated, because the entry for
the executable section that the current function is in is missing from the
address sort table for the global symbol subsection in the debug info.

The problem seems to be that the linker is not filling in the information for
executable section 2 in the address sort table for global symbols. Using
CodeView terminology: the third entry for "SegmentTable" and the second entry
for the "OffsetCounts" part of the address sort table are both set to zero.
There is only information for sections 3 and 4.

I haven't checked to see if this problem also affects other executable
sections, the static symbol table (as opposed to the global one), or the symbol
*hash* table in each subsection (as opposed to the address sort table).

Using an older linker version (before 8.00.7), with or without the latest DMD
compiler (2.049) works well.

-- 
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