From cb1bf9dc6767da76cfb9f5d45c777fd56eeb444c Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 3 Jan 2004 12:09:48 +0000 Subject: * configure.tgt: Add back sparc-*-vxworks*. * remote-vxsparc.c: Remove all includes except for "defs.h", "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h". Include "sparc-tdep.h". (SPARC_R_G1): New define. (vxsparc_gregset): New variable. (ext_format_sparc): Remove extern declaration. (vx_read_register): Rewrite to use sparc32_supply_gregset and sparc32_supply_fpregset. (vx_write_register): Rewrite to use sparc32_collect_gregset, sparc_collect_rwindow and sparc32_collect_fpregset. * config/sparc/tm-vxworks.h: New file, based on recently removed tm-vxsparc.h. * config/sparc/vxworks.mt: New file, based on recently removed vxworks.mt. --- gdb/config/sparc/tm-vxworks.h | 31 +++++++++++++++++++++++++++++++ gdb/config/sparc/vxworks.mt | 4 ++++ 2 files changed, 35 insertions(+) create mode 100644 gdb/config/sparc/tm-vxworks.h create mode 100644 gdb/config/sparc/vxworks.mt (limited to 'gdb/config/sparc') diff --git a/gdb/config/sparc/tm-vxworks.h b/gdb/config/sparc/tm-vxworks.h new file mode 100644 index 0000000..7b04748 --- /dev/null +++ b/gdb/config/sparc/tm-vxworks.h @@ -0,0 +1,31 @@ +/* Target-dependent defenitions for VxWorks SPARC. + + Copyright 1993, 1999, 2004 Free Software Foundation, Inc. + Contributed by Cygnus Support. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + 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., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#ifndef TM_VXWORKS_H +#define TM_VXWORKS_H + +#define GDB_MULTI_ARCH GDB_MULTI_ARCH_TM + +/* Get generic VxWorks definitions. */ +#include "config/tm-vxworks.h" + +#endif /* tm-vxworks.h */ diff --git a/gdb/config/sparc/vxworks.mt b/gdb/config/sparc/vxworks.mt new file mode 100644 index 0000000..175f92e --- /dev/null +++ b/gdb/config/sparc/vxworks.mt @@ -0,0 +1,4 @@ +# Target: VxWorks SPARC +TDEPFILES= sparc-tdep.o \ + remote-vx.o remote-vxsparc.o xdr_ld.o xdr_ptrace.o xdr_rdb.o +TM_FILE= tm-vxworks.h -- cgit v1.1