Hi everyone!

I managed to fix some of the problems with msp430-gdb.
After my patch the following should work as expected: backtrace, next, step,
finish, register info.

The patch should be good both for msp430 and msp430x. The only thing that
you should modify in the patch is the following line:
+#define RETADDR_SIZE_STACK 2              -------->  for msp430
+#define RETADDR_SIZE_STACK 4              -------->  for msp430x
The default value is 2.
Unfortunately I didn't have time to compute this based on the architecture.

Your feedback would be appreciated.

Regards,
Alpar

P.S. In case you don't get the attachment, for some time it should also be
available here : http://www.c7obs.net/~perinia/mspgcc/gdb-alp.patch

Attachment: gdb-alp.patch
Description: Binary data

Reply via email to