Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Markus Deuling <deuling@de.ibm.com>
To: GDB Patches <gdb-patches@sourceware.org>
Cc: Ulrich Weigand <uweigand@de.ibm.com>
Subject: [rfc] Remove unused macros from mipsnbsd-tdep.h
Date: Thu, 15 Nov 2007 09:42:00 -0000	[thread overview]
Message-ID: <473C141B.7030905@de.ibm.com> (raw)

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

             reply	other threads:[~2007-11-15  9:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15  9:42 Markus Deuling [this message]
2007-11-15 13:41 ` Daniel Jacobowitz
2007-11-15 13:56   ` Markus Deuling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=473C141B.7030905@de.ibm.com \
    --to=deuling@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=uweigand@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox