From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8848 invoked by alias); 11 Jun 2009 20:05:14 -0000 Received: (qmail 8839 invoked by uid 22791); 11 Jun 2009 20:05:13 -0000 X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 11 Jun 2009 20:05:07 +0000 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1MEqWF-0007N3-1y for gdb-patches@sources.redhat.com; Thu, 11 Jun 2009 20:05:03 +0000 Received: from entropy.qnx.com ([209.226.137.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Jun 2009 20:05:03 +0000 Received: from aristovski by entropy.qnx.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Jun 2009 20:05:03 +0000 To: gdb-patches@sources.redhat.com From: Aleksandar Ristovski Subject: [patch] nto-tdep cleanup Date: Thu, 11 Jun 2009 20:05:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070500010303000508050903" User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00319.txt.bz2 This is a multi-part message in MIME format. --------------070500010303000508050903 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 375 Hello, Yet another. This removes unused declarations/functions from nto-tdep*. Thanks, -- Aleksandar Ristovski QNX Software Systems ChangeLog: * nto-tdep.h (nto_generic_supply_gpregset) (nto_generic_supply_fpregset, nto_generic_supply_altregset): Remove. * nto-tdep.c (nto_generic_supply_gpregset) (nto_generic_supply_fpregset, nto_generic_supply_altregset): Remove. --------------070500010303000508050903 Content-Type: text/x-patch; name="nto-tdep-removeunused-20090611.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="nto-tdep-removeunused-20090611.diff" Content-length: 1843 Index: gdb/nto-tdep.h =================================================================== RCS file: /cvs/src/src/gdb/nto-tdep.h,v retrieving revision 1.15 diff -u -p -r1.15 nto-tdep.h --- gdb/nto-tdep.h 11 Jun 2009 19:29:00 -0000 1.15 +++ gdb/nto-tdep.h 11 Jun 2009 19:56:42 -0000 @@ -156,15 +156,6 @@ enum gdb_osabi nto_elf_osabi_sniffer (bf void nto_initialize_signals (void); -void nto_generic_supply_gpregset (const struct regset *, struct regcache *, - int, const void *, size_t); - -void nto_generic_supply_fpregset (const struct regset *, struct regcache *, - int, const void *, size_t); - -void nto_generic_supply_altregset (const struct regset *, struct regcache *, - int, const void *, size_t); - /* Dummy function for initializing nto_target_ops on targets which do not define a particular regset. */ void nto_dummy_supply_regset (struct regcache *regcache, char *regs); Index: gdb/nto-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/nto-tdep.c,v retrieving revision 1.33 diff -u -p -r1.33 nto-tdep.c --- gdb/nto-tdep.c 11 Jun 2009 19:29:00 -0000 1.33 +++ gdb/nto-tdep.c 11 Jun 2009 19:56:42 -0000 @@ -328,27 +328,6 @@ nto_in_dynsym_resolve_code (CORE_ADDR pc } void -nto_generic_supply_gpregset (const struct regset *regset, - struct regcache *regcache, int regnum, - const void *gregs, size_t len) -{ -} - -void -nto_generic_supply_fpregset (const struct regset *regset, - struct regcache *regcache, int regnum, - const void *fpregs, size_t len) -{ -} - -void -nto_generic_supply_altregset (const struct regset *regset, - struct regcache *regcache, int regnum, - const void *altregs, size_t len) -{ -} - -void nto_dummy_supply_regset (struct regcache *regcache, char *regs) { /* Do nothing. */ --------------070500010303000508050903--