Hi Alpar, I tried to apply your patch. I downloaded gdb-6.8 from http://ftp.gnu.org/gnu/gdb/. Then I applied the following patches: 1. msp430-gdb-6.8.patch 2. msp430-gdb-6.8-fix.patch 3. gdb-6.8-430X.patch from the mspgcc cvs.
Afterwards I tried to apply your patch, but I get the following error: "patching file gdb/msp430-tdep.c" "Hunk #2 succeeded at 142 with fuzz 2" "Hunk #9 FAILED at 754" "1 out of 14 hunks FAILED -- saving rejects to the file gdb/msp430-tdep.c.rej" What am I doing wrong? Thanks and best regards, Norbert -------- Original-Nachricht -------- > Datum: Thu, 18 Sep 2008 18:00:38 +0300 > Von: palpar <[email protected]> > An: [email protected] > Betreff: [Mspgcc-users] Useful new GDB fixes > Hi everyone! > > I managed to fix some of the problems with msp430-gdb. > After my patch the following should work as expected: backtrace, next, > step, > finish, register info. > > The patch should be good both for msp430 and msp430x. The only thing that > you should modify in the patch is the following line: > +#define RETADDR_SIZE_STACK 2 --------> for msp430 > +#define RETADDR_SIZE_STACK 4 --------> for msp430x > The default value is 2. > Unfortunately I didn't have time to compute this based on the > architecture. > > Your feedback would be appreciated. > > Regards, > Alpar > > P.S. In case you don't get the attachment, for some time it should also be > available here : http://www.c7obs.net/~perinia/mspgcc/gdb-alp.patch -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext...@gmx
