This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFA: RL78: Update MDBL and MDBH registers


Hi DJ,

  This is a companion patch to:

  http://gcc.gnu.org/ml/gcc-patches/2013-01/msg00113.html

  It updates the MDBL and MDBH register values in the RL78 simulator.

  OK to apply ?

Cheers
  Nick

sim/ChangeLog
2013-01-03  Nick Clifton  <nickc@redhat.com>

	* mem.c (MDBL): Correct value.
	(MDBH): Correct value.

Index: sim/rl78/mem.c
===================================================================
RCS file: /cvs/src/src/sim/rl78/mem.c,v
retrieving revision 1.3
diff -u -3 -p -r1.3 mem.c
--- sim/rl78/mem.c      1 Jan 2013 06:41:39 -0000       1.3
+++ sim/rl78/mem.c      3 Jan 2013 13:01:06 -0000
@@ -78,8 +78,8 @@ mem_rom_size (int rom_bytes)
 #define MDUC   0xf00e8
 #define MDAL   0xffff0
 #define MDAH   0xffff2
-#define MDBL   0xffff4
-#define MDBH   0xffff6
+#define MDBL   0xffff6
+#define MDBH   0xffff4
 #define MDCL   0xf00e0
 #define MDCH   0xf00e2
 static long long mduc_clock = 0;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]