This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Ari fixes
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 20 Jun 2003 00:04:44 -0400
- Subject: [ob] Ari fixes
Just FYI,
Andrew
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/.
Index: linux-nat.h
===================================================================
RCS file: /cvs/src/src/gdb/linux-nat.h,v
retrieving revision 1.1
diff -u -r1.1 linux-nat.h
--- linux-nat.h 19 Jun 2003 22:52:03 -0000 1.1
+++ linux-nat.h 20 Jun 2003 03:50:56 -0000
@@ -56,8 +56,11 @@
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);
Index: config/mips/tm-mips.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-mips.h,v
retrieving revision 1.50
diff -u -r1.50 tm-mips.h
--- config/mips/tm-mips.h 1 Jun 2003 15:45:57 -0000 1.50
+++ config/mips/tm-mips.h 20 Jun 2003 03:50:56 -0000
@@ -111,25 +111,6 @@
: 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))
-
-
/* Special symbol found in blocks associated with routines. We can hang
mips_extra_func_info_t's off of this. */