Hello all:

  Based on the work done by Mathias Kuester, I've updated his insight(gdb)
patch and I have fixed some issues to make it work on gdb-6.8 which is the
latest gdb release.

  I'm publishing the following patches:
  [1] http://avantegps.vservers.es/msp430/01_msp430-gdb-6.8-20080521.patch
  [2] http://avantegps.vservers.es/msp430/02_msp430-gdb-6.8-fix.patch

  First one is the direct Mathias patch fixing some breakage to make it
apply to gdb-6.8. Second one is the port of the msp430 for gdb-6.8 which
deals with some gdb api changes.

  I'm splitting into 2 to easy review. If you think they are all right, I
think they could be merged and hopefully added into the CVS. Comments and
opinions are welcome.

  Notes:
  ·You need to apply [1] and then [2] to the pristine gdb-6.8 released
source.
  · When configuring you need to add
the "--enable-targets=msp430-unknown-none" configure switch to be able to
use the msp430 architecture. See my attached configure-line example.
  · Built successfully on Debian testing 64bits.
  · You may need to specify then architecture you will debug on, e.g.: "set
architecture msp:10"
  · Connected successfully to msp430-gdbproxy with the TI msp430 closed
backend. Not tested thoroughfully, but got to see registers, stepi, but
unable to get a dissasemble.

  Regards,
-- 
Raúl Sánchez Siles
CC="cc" CXX="g++" CFLAGS="-g -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" 
LDFLAGS="" 
/home/rasasi/msp430/debian/wyper/svn/gdb/branches/gdb-6.8/./configure 
--build=x86_64-linux-gnu --prefix=/usr --includedir="\${prefix}/include" 
--mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" 
--sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/gdb" 
--disable-maintainer-mode --disable-dependency-tracking   
--host=x86_64-linux-gnu --disable-gdbtk --disable-shared --enable-tui 
--srcdir=/home/rasasi/msp430/debian/wyper/svn/gdb/branches/gdb-6.8 
--with-system-readline --program-prefix=msp430- --target=msp430-unknown-none 
--with-sysroot=/usr/msp430-unknown-none --build=x86_64-linux-gnu --with-expat

Reply via email to