Module Name: src Committed By: christos Date: Thu Mar 24 03:49:06 UTC 2016
Modified Files: src/external/gpl3/gdb/dist/gdb: vaxbsd-nat.c Log Message: adapt to new api To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c diff -u src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c:1.9 src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c:1.10 --- src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c:1.9 Wed Mar 23 20:38:40 2016 +++ src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c Wed Mar 23 23:49:06 2016 @@ -17,7 +17,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef _KERNTYPES #define _KERNTYPES +#endif #include "defs.h" #include "inferior.h" #include "regcache.h" @@ -34,6 +36,11 @@ #ifndef HAVE_GREGSET_T typedef struct reg gregset_t; #endif +#ifndef HAVE_FPREGSET_T +typedef struct fpreg fpregset_t; +#endif + +#include "gregset.h" /* Supply the general-purpose registers stored in GREGS to REGCACHE. */ @@ -64,7 +71,7 @@ vaxbsd_collect_gregset (const struct reg } } -static void +void supply_gregset (struct regcache *regcache, const gregset_t *gregs) { if (ptrace (PT_SETREGS, ptid_get_pid (inferior_ptid), @@ -72,7 +79,7 @@ supply_gregset (struct regcache *regcach perror_with_name (_("Couldn't write registers")); } -static void +void fill_gregset (const struct regcache *regcache, gregset_t *gregs, int regnum) { if (ptrace (PT_GETREGS, ptid_get_pid (inferior_ptid),