Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [rfc] Remove unused macros from mipsnbsd-tdep.h
@ 2007-11-15  9:42 Markus Deuling
  2007-11-15 13:41 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Deuling @ 2007-11-15  9:42 UTC (permalink / raw)
  To: GDB Patches; +Cc: Ulrich Weigand

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

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


[-- Attachment #2: diff-mipsnbsd --]
[-- Type: text/plain, Size: 554 bytes --]

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 */

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [rfc] Remove unused macros from mipsnbsd-tdep.h
  2007-11-15  9:42 [rfc] Remove unused macros from mipsnbsd-tdep.h Markus Deuling
@ 2007-11-15 13:41 ` Daniel Jacobowitz
  2007-11-15 13:56   ` Markus Deuling
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2007-11-15 13:41 UTC (permalink / raw)
  To: Markus Deuling; +Cc: GDB Patches, Ulrich Weigand

On Thu, Nov 15, 2007 at 10:40:43AM +0100, Markus Deuling wrote:
> 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.

OK.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [rfc] Remove unused macros from mipsnbsd-tdep.h
  2007-11-15 13:41 ` Daniel Jacobowitz
@ 2007-11-15 13:56   ` Markus Deuling
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Deuling @ 2007-11-15 13:56 UTC (permalink / raw)
  To: GDB Patches; +Cc: Daniel Jacobowitz, Ulrich Weigand

Daniel Jacobowitz schrieb:
> On Thu, Nov 15, 2007 at 10:40:43AM +0100, Markus Deuling wrote:
>> 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.
> 
> OK.
> 

Thank you. I've committed this one as well.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-15 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-15  9:42 [rfc] Remove unused macros from mipsnbsd-tdep.h Markus Deuling
2007-11-15 13:41 ` Daniel Jacobowitz
2007-11-15 13:56   ` Markus Deuling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox