Re: and/or missbehaviour in embedded lua 5.1
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: and/or missbehaviour in embedded lua 5.1
- From: Kein-Hong Man <mkh@...>
- Date: 2006年3月17日 19:11:11 +0800
Andreas Stenius wrote:
Kein-Hong Man skrev:
It should be like x86 except for int... hmmm... yeah, the debugging
nightmare would be if it's a problem with the C compiler. So it could
be any one of the following:
(a) some place in the code generator doesn't like an int of 2 and it
borks
(b) C compiler miscompiles the code generator due to the way it
interprets C, some lack of information, some kind of shortcut taken or
an internal bug
(c) double type problem due to math library or conversion
(d) ???
Without a debugger, peppering lcode.c with printfs should be fine.
Said and done :)
After a few hours of peppering, I got this log file:
http://kaos.explosive.se/files/Lua_5.1_060317.TXT
Not inlined, due to it's quite long..
Thanks, I'll take a look. Curiosity kills the kitty...
--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia