This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[rfc] Remove unused macros from mipsnbsd-tdep.h


Hi,

this patch removes unused macros SIZEOF_STRUCT_REG and SIZEOF_STRUCT_FPREG from mipsnbsd-tdep.h.

Ok to commit?

ChangeLog:

* mipsnbsd-tdep.h (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove.


-- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com

diff -urpN src/gdb/mipsnbsd-tdep.h dev/gdb/mipsnbsd-tdep.h
--- src/gdb/mipsnbsd-tdep.h	2007-08-23 20:08:36.000000000 +0200
+++ dev/gdb/mipsnbsd-tdep.h	2007-11-15 10:35:43.000000000 +0100
@@ -26,7 +26,4 @@ void mipsnbsd_fill_reg (const struct reg
 void mipsnbsd_supply_fpreg (struct regcache *, const char *, int);
 void mipsnbsd_fill_fpreg (const struct regcache *, char *, int);
 
-#define SIZEOF_STRUCT_REG	(38 * mips_isa_regsize (current_gdbarch))
-#define SIZEOF_STRUCT_FPREG	(33 * mips_isa_regsize (current_gdbarch))
-
 #endif /* MIPSNBSD_TDEP_H */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]