This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH/RFC] sim/d10v/d10v_sim.h
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 2 Jun 2002 20:35:51 -0400
- Subject: Re: [PATCH/RFC] sim/d10v/d10v_sim.h
- References: <15603.46175.667955.298587@localhost.redhat.com>
Elena Zannoni writes:
>
> I'd appreciate somebody checking on this, but it should be ok.
> I'll wait a day or so before checking it in.
>
> Elena
>
Committed.
Elena
>
>
> 2002-05-28 Elena Zannoni <ezannoni@redhat.com>
>
> From Jason Eckhardt <jle@redhat.com>
> * d10v_sim.h (INC_ADDR): Correctly handle the case where MOD_E is
> less than MOD_S (post-decrement).
>
>
> Index: d10v_sim.h
> ===================================================================
> RCS file: /cvs/src/src/sim/d10v/d10v_sim.h,v
> retrieving revision 1.2
> diff -u -p -r1.2 d10v_sim.h
> --- d10v_sim.h 9 Feb 2000 05:08:42 -0000 1.2
> +++ d10v_sim.h 28 May 2002 16:40:35 -0000
> @@ -435,7 +435,7 @@ do \
> { \
> int test_i = i < 0 ? i : ~((i) - 1); \
> if (PSW_MD && GPR (x) == (MOD_E & test_i)) \
> - SET_GPR (x, MOD_S); \
> + SET_GPR (x, MOD_S & test_i); \
> else \
> SET_GPR (x, GPR (x) + (i)); \
> } \