* Makefile.in (LIBCOMMON): Define.
[deliverable/binutils-gdb.git] / gdb / mipsm3-nat.c
index 34434a6de2d8cdc9ac63c0f70084a71f67cdbce7..b7359ba84c16eec946505fc6efad6ae95b3bd85a 100644 (file)
@@ -15,7 +15,7 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 /* Mach specific routines for little endian mips (e.g. pmax)
  * running Mach 3.0
@@ -122,13 +122,13 @@ static int reg_offset[] =
 #define FETCH_REGS(state, regnum, count) \
   memcpy (&registers[REGISTER_BYTE (regnum)], \
          (char *)state+reg_offset[ regnum ], \
-         count*sizeof (REGISTER_TYPE))
+         count*REGISTER_SIZE)
 
 /* Store COUNT contiguous registers to thread STATE starting from REGNUM */
 #define STORE_REGS(state, regnum, count) \
   memcpy ((char *)state+reg_offset[ regnum ], \
          &registers[REGISTER_BYTE (regnum)], \
-         count*sizeof (REGISTER_TYPE))
+         count*REGISTER_SIZE)
 
 #define REGS_ALL    -1
 #define REGS_NORMAL  1
This page took 0.0238 seconds and 4 git commands to generate.