diff options
author | Stan Shebs <shebs@codesourcery.com> | 1996-01-24 02:59:06 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1996-01-24 02:59:06 +0000 |
commit | 5a8d8b8db7f824edb04c5ca2692dd644bc943da8 (patch) | |
tree | 7351dfde3294c5835ab35b04c694d25010228981 /gdb/remote-vxsparc.c | |
parent | c5baf5d9af055654ad8b7587b5f2da0b519918c1 (diff) | |
download | gdb-5a8d8b8db7f824edb04c5ca2692dd644bc943da8.zip gdb-5a8d8b8db7f824edb04c5ca2692dd644bc943da8.tar.gz gdb-5a8d8b8db7f824edb04c5ca2692dd644bc943da8.tar.bz2 |
* 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
Diffstat (limited to 'gdb/remote-vxsparc.c')
-rw-r--r-- | gdb/remote-vxsparc.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/gdb/remote-vxsparc.c b/gdb/remote-vxsparc.c index fc1467d..0682542 100644 --- a/gdb/remote-vxsparc.c +++ b/gdb/remote-vxsparc.c @@ -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)); -} |