aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-20 04:04:44 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-20 04:04:44 +0000
commit5861a190a8d850e42d29f2077b32f8501a8722f6 (patch)
tree05255e1d32d4c3ae3848aad77ec8670beb99079d /gdb
parentd81bb16ac041a24abb0d108dfd6491d6b097aa03 (diff)
downloadgdb-5861a190a8d850e42d29f2077b32f8501a8722f6.zip
gdb-5861a190a8d850e42d29f2077b32f8501a8722f6.tar.gz
gdb-5861a190a8d850e42d29f2077b32f8501a8722f6.tar.bz2
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/.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/config/mips/tm-mips.h19
-rw-r--r--gdb/linux-nat.h5
3 files changed, 13 insertions, 20 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c43feaa..61bfa32 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index 7ae05a4..39421fd 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -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))
-
-
/* Special symbol found in blocks associated with routines. We can hang
mips_extra_func_info_t's off of this. */
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h
index 78312d7..b0d9600 100644
--- a/gdb/linux-nat.h
+++ b/gdb/linux-nat.h
@@ -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);