From 5861a190a8d850e42d29f2077b32f8501a8722f6 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 20 Jun 2003 04:04:44 +0000 Subject: [PATCH] 2003-06-19 Andrew Cagney * 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 | 9 +++++++++ gdb/config/mips/tm-mips.h | 19 ------------------- gdb/linux-nat.h | 5 ++++- 3 files changed, 13 insertions(+), 20 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c43feaa963..61bfa32c64 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2003-06-19 Andrew Cagney + + * 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 * linux-nat.h: New file. diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 7ae05a4b20..39421fd3a6 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 78312d71b3..b0d96002b5 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); -- 2.34.1