This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[rfc] Remove unused macros from mipsnbsd-tdep.h
- From: Markus Deuling <deuling at de dot ibm dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Cc: Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Thu, 15 Nov 2007 10:40:43 +0100
- Subject: [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 */