Issue 49 in teyjus: tjsim displays debugging for reals

2 views
Skip to first unread message

tey...@googlecode.com

unread,
Jul 28, 2010, 4:16:09 AM7/28/10
to teyjus...@googlegroups.com
Status: Accepted
Owner: andrew.gacek
Labels: Priority-Low

New issue 49 by andrew.gacek: tjsim displays debugging for reals
http://code.google.com/p/teyjus/issues/detail?id=49

What steps will reproduce the problem?
1. Create a mod file which uses a literal real (e.g. 42.0)
2. Compile, link, load the file

For each literal real, tjsim displays a debug line, e.g.

float 42.000000


tey...@googlecode.com

unread,
Jan 31, 2013, 6:05:56 AM1/31/13
to teyjus...@googlegroups.com

Comment #1 on issue 49 by fafou...@gmail.com: tjsim displays debugging for
reals
http://code.google.com/p/teyjus/issues/detail?id=49

Change line 138 file source/loader/code.c from:
fprintf(stderr, "float %f\n", *(INSTR_Float*)(code+j));
to:
LD_debug("float %f\n", *(INSTR_Float*)(code+j));

Fabien

tey...@googlecode.com

unread,
Jan 31, 2013, 8:49:52 AM1/31/13
to teyjus...@googlegroups.com
Updates:
Status: Fixed

Comment #2 on issue 49 by andrew.g...@gmail.com: tjsim displays debugging
for reals
http://code.google.com/p/teyjus/issues/detail?id=49

This issue was closed by revision r1032.

tey...@googlecode.com

unread,
Jan 31, 2013, 8:50:52 AM1/31/13
to teyjus...@googlegroups.com

Comment #3 on issue 49 by andrew.g...@gmail.com: tjsim displays debugging
for reals
http://code.google.com/p/teyjus/issues/detail?id=49

@fafounet Thanks

Reply all
Reply to author
Forward
0 new messages