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@winehq.org ReportedBy: m.b.lankhorst@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.
http://bugs.winehq.org/show_bug.cgi?id=12895
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr
--- Comment #1 from Eric Pouech eric.pouech@orange.fr 2008-05-01 06:58:02 --- I've posted to wine-patches a fix for this one
http://bugs.winehq.org/show_bug.cgi?id=12895
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Eric Pouech eric.pouech@orange.fr 2008-05-03 01:24:19 --- fix commited to 0.9.61
http://bugs.winehq.org/show_bug.cgi?id=12895
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2008-05-09 12:55:07 --- Closing bugs fixed in 1.0-rc1.