Hi!

There is a "typo" in BFD code of gdb-6.0, which prevents GDB from recognizing msp430x44x binaries. It can be fixed by this simple patch:

diff -ru gdb-6.0.orig/bfd/cpu-msp430.c gdb-6.0/bfd/cpu-msp430.c
--- gdb-6.0.orig/bfd/cpu-msp430.c    2002-12-30 21:25:10.000000000 +0200
+++ gdb-6.0/bfd/cpu-msp430.c    2007-02-01 16:26:50.203125000 +0200
@@ -71,7 +71,7 @@
  N (16, bfd_mach_msp43, "msp:43", FALSE, & arch_info_struct[9]),

  /* msp430x44x.  */
-  N (16, bfd_mach_msp43, "msp:44", FALSE, & arch_info_struct[10]),
+  N (16, bfd_mach_msp44, "msp:44", FALSE, & arch_info_struct[10]),
/* msp430x15x. */
  N (16, bfd_mach_msp15, "msp:15", FALSE, & arch_info_struct[11]),

I'm sorry if I'm writing to a wrong list or something. This is my first try.

Regards,
Andrius

Reply via email to