* remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):

Remove, never used.
	* config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
Make Sparc VxWorks GDB compile
This commit is contained in:
Stan Shebs 1996-01-24 02:59:06 +00:00
parent c5baf5d9af
commit 5a8d8b8db7
3 changed files with 12 additions and 47 deletions

View File

@ -1,3 +1,9 @@
Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com>
* remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
Remove, never used.
* config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com>
* ch-exp.c (parse_tuple): Error if invalid mode.
@ -45,9 +51,11 @@ Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
* gdbtk.c (gdb_disassemble): Rework disassemble_info initialization.
Pass fprintf_unfiltered to INIT_DISASSEMBLE_INFO.
* printcmd.c (print_insn): Likewise.
* printcmd.c (print_insn): Pass fprintf_unfiltered to
INIT_DISASSEMBLE_INFO.
start-sanitize-gdbtk
* gdbtk.c (gdb_disassemble): Likewise.
end-sanitize-gdbtk
Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>

View File

@ -1,3 +1,3 @@
# Target: SPARC running VxWorks
TDEPFILES= sparc-tdep.o remote-vx.o xdr_ld.o xdr_ptrace.o xdr_rdb.o
TDEPFILES= sparc-tdep.o remote-vx.o remote-vxsparc.o xdr_ld.o xdr_ptrace.o xdr_rdb.o
TM_FILE= tm-vxsparc.h

View File

@ -194,46 +194,3 @@ vx_write_register (regno)
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. */
void
vx_convert_to_virtual (regno, from, to)
int regno;
char *from;
char *to;
{
if (REGISTER_CONVERTIBLE (regno))
{
if (target_has_fp)
ieee_extended_to_double (&ext_format_sparc, from, to);
else
bzero (to, sizeof (double));
}
else
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;
{
if (REGISTER_CONVERTIBLE (regno))
{
if (target_has_fp)
double_to_ieee_extended (&ext_format_sparc, from, to);
else
bzero (to, REGISTER_RAW_SIZE (FP0_REGNUM));
}
else
bcopy (from, to, REGISTER_VIRTUAL_SIZE (regno));
}