Ben Ransford schrieb:
> Forgive me if I'm being naive, but is msp430-run (part of mspgcc's
> gdb, apparently) meant to do anything useful?
>
> % cat > foo.c
> int main (void) { return 0; }
> % msp430-gcc -o foo.msp foo.c
> % msp430-run foo.msp
> ``foo.msp'' has no bss section.
there was once a bug so that GDB refuses to load files with no global
variables. and this sounds like exactly this problem. try defining a
global variable like:
unsigned dummy; // no init value so that it gets into .bss
chris