aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-01-24 02:59:06 +0000
committerStan Shebs <shebs@codesourcery.com>1996-01-24 02:59:06 +0000
commit5a8d8b8db7f824edb04c5ca2692dd644bc943da8 (patch)
tree7351dfde3294c5835ab35b04c694d25010228981
parentc5baf5d9af055654ad8b7587b5f2da0b519918c1 (diff)
downloadgdb-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
-rw-r--r--gdb/ChangeLog14
-rw-r--r--gdb/config/sparc/vxsparc.mt2
-rw-r--r--gdb/remote-vxsparc.c43
3 files changed, 12 insertions, 47 deletions
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 <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>
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));
-}