* configure.in (mips*-*-vxworks*): New config.
* configure: Regenerated. * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files. * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual): Remove, never used.
This commit is contained in:
parent
15f4406cf8
commit
8fa6fcf829
|
@ -1,3 +1,12 @@
|
||||||
|
Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com>
|
||||||
|
|
||||||
|
* configure.in (mips*-*-vxworks*): New config.
|
||||||
|
* configure: Regenerated.
|
||||||
|
|
||||||
|
* config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
|
||||||
|
* remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
|
||||||
|
Remove, never used.
|
||||||
|
|
||||||
Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||||
|
|
||||||
* partial-stab.h (case N_FUN): Function symbols generated
|
* partial-stab.h (case N_FUN): Function symbols generated
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
/* Target machine description for VxWorks MIPS's, for GDB, the GNU debugger.
|
||||||
|
Copyright 1996 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. */
|
||||||
|
|
||||||
|
#define GDBINIT_FILENAME ".vxgdbinit"
|
||||||
|
|
||||||
|
#define DEFAULT_PROMPT "(vxgdb) "
|
||||||
|
|
||||||
|
#include "mips/tm-mips.h"
|
||||||
|
|
||||||
|
/* FIXME: These are almost certainly wrong. */
|
||||||
|
|
||||||
|
/* Number of registers in a ptrace_getregs call. */
|
||||||
|
|
||||||
|
#define VX_NUM_REGS (NUM_REGS)
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Target: MIPS running VxWorks
|
||||||
|
TDEPFILES= mips-tdep.o remote-vx.o remote-vxmips.o xdr_ld.o xdr_ptrace.o xdr_rdb.o
|
||||||
|
TM_FILE= tm-vxmips.h
|
|
@ -3147,6 +3147,7 @@ mips*-*-mach3*) gdb_target=mach3 ;;
|
||||||
mips*-*-sysv4*) gdb_target=mipsv4 ;;
|
mips*-*-sysv4*) gdb_target=mipsv4 ;;
|
||||||
mips*-*-sysv*) gdb_target=bigmips ;;
|
mips*-*-sysv*) gdb_target=bigmips ;;
|
||||||
mips*-*-riscos*) gdb_target=bigmips ;;
|
mips*-*-riscos*) gdb_target=bigmips ;;
|
||||||
|
mips*-*-vxworks*) gdb_target=vxmips ;;
|
||||||
|
|
||||||
none-*-*) gdb_target=none ;;
|
none-*-*) gdb_target=none ;;
|
||||||
|
|
||||||
|
|
|
@ -541,6 +541,7 @@ mips*-*-mach3*) gdb_target=mach3 ;;
|
||||||
mips*-*-sysv4*) gdb_target=mipsv4 ;;
|
mips*-*-sysv4*) gdb_target=mipsv4 ;;
|
||||||
mips*-*-sysv*) gdb_target=bigmips ;;
|
mips*-*-sysv*) gdb_target=bigmips ;;
|
||||||
mips*-*-riscos*) gdb_target=bigmips ;;
|
mips*-*-riscos*) gdb_target=bigmips ;;
|
||||||
|
mips*-*-vxworks*) gdb_target=vxmips ;;
|
||||||
|
|
||||||
none-*-*) gdb_target=none ;;
|
none-*-*) gdb_target=none ;;
|
||||||
|
|
||||||
|
|
|
@ -199,31 +199,3 @@ vx_write_register (regno)
|
||||||
PTRACE_SETFPREGS);
|
PTRACE_SETFPREGS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Convert from an extended float to a double.
|
|
||||||
The extended float is stored as raw data pointed to by FROM.
|
|
||||||
Return the converted value as raw data in the double pointed to by TO.
|
|
||||||
NOTE: mips uses standard two word doubles. */
|
|
||||||
|
|
||||||
void
|
|
||||||
vx_convert_to_virtual (regno, from, to)
|
|
||||||
int regno;
|
|
||||||
char *from;
|
|
||||||
char *to;
|
|
||||||
{
|
|
||||||
bcopy (from, to, REGISTER_VIRTUAL_SIZE (regno));
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The converse: convert from a double to an extended float.
|
|
||||||
The double is stored as raw data pointed to by FROM.
|
|
||||||
Return the converted value as raw data in the extended
|
|
||||||
float pointed to by TO. */
|
|
||||||
|
|
||||||
void
|
|
||||||
vx_convert_from_virtual (regno, from, to)
|
|
||||||
int regno;
|
|
||||||
char *from;
|
|
||||||
char *to;
|
|
||||||
{
|
|
||||||
bcopy (from, to, REGISTER_VIRTUAL_SIZE (regno));
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue