[Bug 12895] New: Winedbg can't return the value of a double

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 30 15:40:13 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=12895

           Summary: Winedbg can't return the value of a double
           Product: Wine
           Version: 0.9.60
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: winedbg
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: m.b.lankhorst at gmail.com


struct test
{
    int a;
    double b;
    int c;
};

int main()
{
    struct test data;
    data.a = 1;
    data.b = 2;
    data.c = 3;

    *(char *)0 = 0;
}

If you compile this code with winegcc and then run this code with winedbg, it
won't print the structure correctly:

Wine-dbg>print data
{a=1, b=
Needing an integral value

c is never printed in this case, but an individual 'print data.c' will work.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list