* 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.
This commit is contained in:
parent
5e938f9ff1
commit
cb1bf9dc67
5 changed files with 118 additions and 134 deletions
31
gdb/config/sparc/tm-vxworks.h
Normal file
31
gdb/config/sparc/tm-vxworks.h
Normal file
|
@ -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 */
|
Loading…
Add table
Add a link
Reference in a new issue