This is the mail archive of the gdb-patches@sources.redhat.com 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]

[patch] h8/300 sim: change order of registers enum


... making things easier for gdb.

2003-06-18  Corinna Vinschen  <vinschen@redhat.com>

	* sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
	and SBR, VBR (for benefit of gdb).

Index: sim-main.h
===================================================================
RCS file: /cvs/src/src/sim/h8300/sim-main.h,v
retrieving revision 1.1
diff -p -r1.1 sim-main.h
*** sim-main.h	3 Jun 2003 21:38:26 -0000	1.1
--- sim-main.h	19 Jun 2003 01:52:50 -0000
*************** enum h8_regnum {
*** 51,60 ****
    EXR_REGNUM  = 11,
    INST_REGNUM = 12,
    TICK_REGNUM = 13,
!   SBR_REGNUM =  14, 
!   VBR_REGNUM =  15,
!   MACH_REGNUM = 16, 
!   MACL_REGNUM = 17,
  
    ZERO_REGNUM = 18
  };
--- 51,60 ----
    EXR_REGNUM  = 11,
    INST_REGNUM = 12,
    TICK_REGNUM = 13,
!   MACH_REGNUM = 14,
!   MACL_REGNUM = 15,
!   SBR_REGNUM =  16,
!   VBR_REGNUM =  17,
  
    ZERO_REGNUM = 18
  };

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