From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30683 invoked by alias); 8 Apr 2004 16:55:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30664 invoked from network); 8 Apr 2004 16:55:28 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 8 Apr 2004 16:55:28 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i38GtRMC026412 for ; Thu, 8 Apr 2004 12:55:27 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i38GtRj19271 for ; Thu, 8 Apr 2004 12:55:27 -0400 Received: from localhost.localdomain (vpn50-60.rdu.redhat.com [172.16.50.60]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i38GtRnM007302 for ; Thu, 8 Apr 2004 12:55:27 -0400 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.10/8.12.10) with SMTP id i38GtLOR009680 for ; Thu, 8 Apr 2004 09:55:21 -0700 Date: Thu, 08 Apr 2004 16:55:00 -0000 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: [PATCH] ppc-linux-tdep.c: Delete ELF_ constants Message-Id: <20040408095521.7948804e@saguaro> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00189.txt.bz2 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)