First, a question for the rest of the list. Does the msp430-gdb have support for the msp430 simulator?
On Wed, 4 Jun 2003 at 16:17 +1200, Bernard Mentink <[email protected]>...: > Well like I said -- please read original post --- I don't have gdb to > locate the bug, I was hoping someone else > could run the code through gdb ..... There are 2 non-ifdef'ed functions in the file you posted. Could you split the .c file into 2 parts, one for each function, and compile on function with -O and the other with -O2, and visa versa? That would narrow the problem down a little. You said "it doesn't work", but perhaps you could describe the input to the function that is failing, the expected results, and what you got. (Are your test cases in the #ifdef TEST code, that is not currently compiled? Which cases fail?) There are 2 switch statements, perhaps based on the failing input, you could remove the other cases, again, reducing the problem. David
