From: Stan Shebs Date: Wed, 24 Jan 1996 02:59:06 +0000 (+0000) Subject: * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual): X-Git-Tag: gdb-4_18~9555 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a8d8b8db7f824edb04c5ca2692dd644bc943da8;p=external%2Fbinutils.git * 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 --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7f771ce..1441d3c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Tue Jan 23 18:54:09 1996 Stan Shebs + + * 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 * 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 - * 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 diff --git a/gdb/config/sparc/vxsparc.mt b/gdb/config/sparc/vxsparc.mt index 3ae896a..9eadd17 100644 --- a/gdb/config/sparc/vxsparc.mt +++ b/gdb/config/sparc/vxsparc.mt @@ -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 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)); -}