as GDB expects 4-byte values, and mspdebug 0.22 sends on 2-byte values
It seems this issue is due to a hack to distinguish msp430-gdb from msp430-elf-gdb that seems to work anymore, ui/gdb.c:
/* This is a hack to distinguish msp430-elf-gdb
* from msp430-gdb. The former expects 32-bit
* register fields.
*/
if (strstr(buf, "multiprocess+"))
register_bytes = 4;
while register_bytes default value is 2.
Forcing register_bytes to 4 instead of 2 does work.
Obvisouly, this would break support for msp430-gdb, so I guess another hack/kludge is required to distinguish one release from another.
msp430-elf-gdb (7.12.1) fails with
The issue comes from the following line:
as GDB expects 4-byte values, and mspdebug 0.22 sends on 2-byte values
It seems this issue is due to a hack to distinguish
msp430-gdb
frommsp430-elf-gdb
that seems to work anymore,ui/gdb.c
:while
register_bytes
default value is2
.Forcing
register_bytes
to4
instead of2
does work.Obvisouly, this would break support for
msp430-gdb
, so I guess another hack/kludge is required to distinguish one release from another.