Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] ppc-linux-tdep.c: Delete ELF_ constants
@ 2004-04-08 16:55 Kevin Buettner
  0 siblings, 0 replies; only message in thread
From: Kevin Buettner @ 2004-04-08 16:55 UTC (permalink / raw)
  To: gdb-patches

I've just committed the patch below.  It deletes some unused
constants.  Thanks to Manoj Iyer for alerting me that these constants
were causing build problems on 64-bit ppc linux platforms.

	* ppc-linux-tdep.c (ELF_NREG, ELF_NFPREG, ELF_NVRREG)
	(ELF_FPREGSET_SIZE):  Delete constants formerly used in core
	file support.

Index: ppc-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ppc-linux-tdep.c,v
retrieving revision 1.55
diff -u -p -r1.55 ppc-linux-tdep.c
--- ppc-linux-tdep.c	26 Mar 2004 20:59:38 -0000	1.55
+++ ppc-linux-tdep.c	8 Apr 2004 16:38:13 -0000
@@ -848,17 +848,6 @@ ppc64_linux_convert_from_func_ptr_addr (
   return addr;
 }
 
-
-enum {
-  ELF_NGREG = 48,
-  ELF_NFPREG = 33,
-  ELF_NVRREG = 33
-};
-
-enum {
-  ELF_FPREGSET_SIZE = (ELF_NFPREG * 8)
-};
-
 static void
 right_supply_register (struct regcache *regcache, int wordsize, int regnum,
 		       const bfd_byte *buf)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-08 16:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-08 16:55 [PATCH] ppc-linux-tdep.c: Delete ELF_ constants Kevin Buettner

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