2003-06-19 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 20 Jun 2003 04:04:44 +0000 (04:04 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 20 Jun 2003 04:04:44 +0000 (04:04 +0000)
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete.
(REGISTER_CONVERT_FROM_TYPE): Delete.
(mips_register_convert_to_type): Delete declaration.
(mips_register_convert_from_type): Delete declaration.
* linux-nat.h (struct target_ops): Declare opaque.  s/Linux/Linux
kernel/.

gdb/ChangeLog
gdb/config/mips/tm-mips.h
gdb/linux-nat.h

index c43feaa96385c11aaf98472c70120947794f3264..61bfa32c64c9666583605ad0e2c5c26e828329ae 100644 (file)
@@ -1,3 +1,12 @@
+2003-06-19  Andrew Cagney  <cagney@redhat.com>
+
+       * config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete.
+       (REGISTER_CONVERT_FROM_TYPE): Delete.
+       (mips_register_convert_to_type): Delete declaration.
+       (mips_register_convert_from_type): Delete declaration.
+       * linux-nat.h (struct target_ops): Declare opaque.  s/Linux/Linux
+       kernel/.
+
 2003-06-19  Michael Snyder  <msnyder@redhat.com>
 
        * linux-nat.h: New file.
index 7ae05a4b20379f90b7047c5afea802b0a47de708..39421fd3a6f3952a8ac371399104cc9436f2f408 100644 (file)
@@ -111,25 +111,6 @@ extern int mips_step_skips_delay (CORE_ADDR);
         : builtin_type_int)
 #endif
 
-/* All mips targets store doubles in a register pair with the least
-   significant register in the lower numbered register.
-   If the target is big endian, double register values need conversion
-   between memory and register formats.  */
-
-extern void mips_register_convert_to_type (int regnum, 
-                                          struct type *type,
-                                          char *buffer);
-extern void mips_register_convert_from_type (int regnum, 
-                                            struct type *type,
-                                            char *buffer);
-
-#define REGISTER_CONVERT_TO_TYPE(n, type, buffer)      \
-  mips_register_convert_to_type ((n), (type), (buffer))
-
-#define REGISTER_CONVERT_FROM_TYPE(n, type, buffer)    \
-  mips_register_convert_from_type ((n), (type), (buffer))
-
-\f
 /* Special symbol found in blocks associated with routines.  We can hang
    mips_extra_func_info_t's off of this.  */
 
index 78312d71b31ebeec988af395ccf233c0664f0fda..b0d96002b5514de276cc1cec119798c64bff3218 100644 (file)
@@ -56,8 +56,11 @@ struct lwp_info
   struct lwp_info *next;
 };
 
-/* Read/write to target memory via Linux's "proc file system".  */
+/* Read/write to target memory via the Linux kernel's "proc file
+   system".  */
 struct mem_attrib;
+struct target_ops;
+
 extern int linux_proc_xfer_memory (CORE_ADDR addr, char *myaddr, int len,
                                   int write, struct mem_attrib *attrib,
                                   struct target_ops *target);