Hi Alpar,

thank you for your help.
I tried it the way you said (and applied only the first two patches before I 
tried your one).
But this brings exactly the same error.

I use the following patch command:
patch -p1 < gdb-alp.patch

Best regards,
Norbert



-------- Original-Nachricht --------
> Datum: Sun, 28 Sep 2008 01:26:56 +0300
> Von: Alpar NI <[email protected]>
> An: [email protected]
> Betreff: Re: [Mspgcc-users] Useful new GDB fixes

> Hi Norbert,
> 
> When I created the patch I only used patches 1. and 2.
> What you should do is skip patch 3 and apply my patches.
> If still doesn't work, write me.
> Thanks for your interest.
> 
> Regards,
> Alpar
> 
> [email protected] wrote:
> > 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 Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196

Reply via email to