As you wrote your mail, I also looked through the sources of GDB and identified the bug, sending my finding to the list after yours. Currently I am not able to build mspgcc from sources, but i will try to setup a MinGW based build environment the next days.
Sergey A. Borshch schrieb: > Matthias Hartmann wrote: > >> A workaround could be, to run >> - the compiler with -mmcu=msp430x449 >> - the linker with -mmcu=msp430xG439 >> >> The 2 devices have same size of ram and flash. >> >> Does anybody know, if above workaround will bring any trouble? >> > Thank you for reporting this bug. I think I found where it comes from. > It's not a linker but gdb bug. There is mistyping in gdb-6.8/bfd/cpu-msp430.c: > /* msp430x44x. */ > N (16, bfd_mach_msp43, "msp:44", FALSE, & arch_info_struct[21]), > must be > /* msp430x44x. */ > N (16, bfd_mach_msp44, "msp:44", FALSE, & arch_info_struct[21]), > gdb simply can't find machine description for msp430x44x. > > Can you rebuild and test gdb with this fix? > >
