www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4037] New: [gdb] Invalid DWARF output for wchar

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4037

           Summary: [gdb] Invalid DWARF output for wchar
           Product: D
           Version: 1.055
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: robert octarineparrot.com


--- Comment #0 from Robert Clipsham <robert octarineparrot.com> 2010-04-01
15:38:28 BST ---
The following testcase:
----
void main() {
    wchar c;
}
----
Causes dmd to output invalid debug information.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 01 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4037



--- Comment #1 from Robert Clipsham <robert octarineparrot.com> 2010-04-01
15:43:59 BST ---
It would seem that dmd does not support writing debug info for wchar yet, as
the case for dealing with wchar is wrapped in #if 0, and has some information
on what the correct debug information should be.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 01 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4037



--- Comment #2 from Robert Clipsham <robert octarineparrot.com> 2010-04-01
19:36:11 BST ---
Created an attachment (id=595)
Patch to add support for debugging info for wchar

I'm not sure if the file/line number that are written to the file matter, I
don't think they do so I set them both to 1. This might need the patch for
#3987 applied, might not.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 01 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4037


Robert Clipsham <robert octarineparrot.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #595 is|0                           |1
           obsolete|                            |


--- Comment #3 from Robert Clipsham <robert octarineparrot.com> 2010-04-07
21:39:04 BST ---
(From update of attachment 595)
This patch has been included with the new patch in bug #3987.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 07 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4037


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug yahoo.com.au
         Resolution|                            |FIXED


--- Comment #4 from Don <clugdbug yahoo.com.au> 2010-05-10 14:47:58 PDT ---
Fixed DMD2.044 and DMD1.059.

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