This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] ppc-linux-tdep.c: Delete ELF_ constants
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 8 Apr 2004 09:55:21 -0700
- Subject: [PATCH] ppc-linux-tdep.c: Delete ELF_ constants
- Organization: Red Hat
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)