Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2010 20:40:00 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214949 - head/contrib/gdb/gdb
Message-ID:  <201011072040.oA7Ke0aT078981@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Sun Nov  7 20:40:00 2010
New Revision: 214949
URL: http://svn.freebsd.org/changeset/base/214949

Log:
  Change register numbers according to current struct reg and
  struct fpreg in src/sys/mips/include/reg.h

Modified:
  head/contrib/gdb/gdb/mips-tdep.h
  head/contrib/gdb/gdb/mipsfbsd-tdep.h

Modified: head/contrib/gdb/gdb/mips-tdep.h
==============================================================================
--- head/contrib/gdb/gdb/mips-tdep.h	Sun Nov  7 20:38:14 2010	(r214948)
+++ head/contrib/gdb/gdb/mips-tdep.h	Sun Nov  7 20:40:00 2010	(r214949)
@@ -78,7 +78,7 @@ enum {
   MIPS_EMBED_BADVADDR_REGNUM = 35,
   MIPS_EMBED_CAUSE_REGNUM = 36,
   MIPS_EMBED_PC_REGNUM = 37,
-  MIPS_EMBED_FP0_REGNUM = 38
+  MIPS_EMBED_FP0_REGNUM = 40
 };
 
 /* Defined in mips-tdep.c and used in remote-mips.c */

Modified: head/contrib/gdb/gdb/mipsfbsd-tdep.h
==============================================================================
--- head/contrib/gdb/gdb/mipsfbsd-tdep.h	Sun Nov  7 20:38:14 2010	(r214948)
+++ head/contrib/gdb/gdb/mipsfbsd-tdep.h	Sun Nov  7 20:40:00 2010	(r214949)
@@ -34,7 +34,7 @@ void mipsfbsd_fill_reg (char *, int);
 void mipsfbsd_supply_fpreg (char *, int);
 void mipsfbsd_fill_fpreg (char *, int);
 
-#define SIZEOF_STRUCT_REG	(38 * mips_regsize (current_gdbarch))
-#define SIZEOF_STRUCT_FPREG	(33 * mips_regsize (current_gdbarch))
+#define SIZEOF_STRUCT_REG	(40 * mips_regsize (current_gdbarch))
+#define SIZEOF_STRUCT_FPREG	(34 * mips_regsize (current_gdbarch))
 
 #endif /* mipsfbsd_TDEP_H */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011072040.oA7Ke0aT078981>