Part Number: MSP430-GCC-OPENSOURCE
Other Parts Discussed in Thread: MSP430G2231, MSP430G2553
Tool/software: Linux
Hi,
I've just built the somnium maintained open-source compiler toolchain on Slackware 64 linux, using these two files:
| msp430-gcc-6.2.1.16_source-full.tar.bz2 |
msp430-gcc-support-files-1.198.zip
Everything compiles without errors, and installs, and runs. I am trying to set up msp430-gdb, to do debugging.
I can successfully set breakpoints, execute code, run the tui mode interface, etc.
But whenever I allow the program to run, and then try to interrupt it with a control signal, gdb crashes:
(gdb) c Continuing. ^C Remote connection closed ../../../gdb/gdb/value.c:1607: internal-error: value_free: Assertion `val->reference_count > 0' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n)
So, this is clearly a bug inside gdb itself, and likely has something to do with the somnium changes as gcc upgraded to version 6.6.1
Older tool-chains didn't crash on me.
I tried seeing if a bugfix already exists in the patches file:
msp430-gcc-6.2.1.16_source-patches.tar.bz2
However, the diffs are in "git diff" format; which I am unfamiliar with. If I attempt to run standard linux "patch" on the files, patch complaints that at least some chunks are already applied and asks if I want to revert them.
So, I'm unsure if the source code already includes all the patches in the source patches file, or not. And I don't see an actual git repository address that I can clone, to get the most up to date source code and automate the patching process.
How are the open source compiler tools supported within TI / how do I report a bug and get help ?