Greetings. I'm not sure this is the appropriate forum for this query but I haven't been able to find a forum dedicated to the MSP430 port of GDB. I am using msp430-gdb GNU gdb 5.1.1 Code is compiled with msp430-gcc version 3.3 debugging options are enabled. msp430-gdb works fine except that arguments to functions can't be examined. Ie when I put a breakpoint inside a function the values in the arguments display garbage - often zero. Local variables declared inside the function can be examined. The only way I can examine the arguments is by delcaring a pointer inside the function and setting it to the argument address, but this is obviously clumsy. Should I expect to be able to view the values of arguments when inside the function? Is there a setting to enable it? Am I overlooking something? Any help appreciated.
- posted
18 years ago