From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31211 invoked by alias); 15 May 2014 15:49:45 -0000 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 Received: (qmail 30921 invoked by uid 89); 15 May 2014 15:49:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp16.uk.ibm.com Received: from e06smtp16.uk.ibm.com (HELO e06smtp16.uk.ibm.com) (195.75.94.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 15 May 2014 15:49:41 +0000 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 15 May 2014 16:49:38 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp16.uk.ibm.com (192.168.101.146) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 15 May 2014 16:49:36 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 6BE7417D8047 for ; Thu, 15 May 2014 16:50:45 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps3075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s4FFnaHD1311140 for ; Thu, 15 May 2014 15:49:36 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s4FFnZ68017463 for ; Thu, 15 May 2014 09:49:36 -0600 Received: from br87z6lw.boeblingen.de.ibm.com (dyn-9-152-212-188.boeblingen.de.ibm.com [9.152.212.188]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s4FFnZVN017450 for ; Thu, 15 May 2014 09:49:35 -0600 From: Andreas Arnez To: gdb-patches@sourceware.org Subject: [PATCH 00/11] Regset rework preparations part 1 Date: Thu, 15 May 2014 15:49:00 -0000 Message-Id: <1400168975-3145-1-git-send-email-arnez@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14051515-3548-0000-0000-000009137E28 X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00239.txt.bz2 This is the first half of the "regset rework preparations" series I've posted as RFC: https://sourceware.org/ml/gdb-patches/2014-04/msg00560.html Changes since original post: * Split initializers of the form "tdep = gdbarch_tdep (get_regcache_arch (...))" in two lines. (https://sourceware.org/ml/gdb-patches/2014-05/msg00042.html) * Keep i386_supply_gregset as a global function. (https://sourceware.org/ml/gdb-patches/2014-04/msg00607.html) * Added ChangeLog to SPARC renaming patch. * Clipped off the second half of the series. I will ping that later again, when we're done with the first half. Andreas Arnez (11): Constify regset structures. Remove 'arch' field from regset structure. AARCH64: Replace regset_alloc() invocations by static regset structures. ARM: Replace regset_alloc() invocations by static regset structures. X86: Replace regset_alloc() invocations by static regset structures. MIPS: Replace regset_alloc() invocations by static regset structures. MN10300: Replace regset_alloc() invocations by static regset structures. SCORE: Replace regset_alloc() invocation by a static regset structure. SPARC: Rename register maps from "*regset" to "*regmap" SPARC: Replace regset_alloc() invocations by static regset structures. Drop regset_alloc(). gdb/Makefile.in | 4 +-- gdb/aarch64-linux-tdep.c | 29 ++++++++--------- gdb/aarch64-tdep.h | 4 --- gdb/alpha-linux-tdep.c | 4 +-- gdb/alphanbsd-tdep.c | 6 ++-- gdb/amd64-tdep.c | 33 ++++++++++--------- gdb/amd64obsd-tdep.c | 14 +++++---- gdb/arm-linux-tdep.c | 38 +++++++++++----------- gdb/arm-tdep.h | 3 -- gdb/armbsd-tdep.c | 4 +-- gdb/frv-linux-tdep.c | 4 +-- gdb/hppa-hpux-tdep.c | 2 +- gdb/hppa-linux-tdep.c | 4 +-- gdb/hppanbsd-tdep.c | 2 +- gdb/hppaobsd-tdep.c | 4 +-- gdb/i386-cygwin-tdep.c | 9 +----- gdb/i386-nto-tdep.c | 8 ++--- gdb/i386-tdep.c | 58 +++++++++++++++++----------------- gdb/i386-tdep.h | 14 ++------- gdb/i386obsd-tdep.c | 15 ++++----- gdb/m32r-linux-tdep.c | 2 +- gdb/m68kbsd-tdep.c | 4 +-- gdb/m88k-tdep.c | 2 +- gdb/mips-linux-tdep.c | 53 ++++++++++++++----------------- gdb/mips-tdep.c | 4 --- gdb/mips-tdep.h | 8 ----- gdb/mips64obsd-tdep.c | 2 +- gdb/mipsnbsd-tdep.c | 4 +-- gdb/mn10300-linux-tdep.c | 21 +++++++------ gdb/nios2-linux-tdep.c | 3 +- gdb/ppc-linux-tdep.c | 15 +++------ gdb/ppcfbsd-tdep.c | 8 ++--- gdb/ppcnbsd-tdep.c | 4 +-- gdb/ppcnbsd-tdep.h | 4 +-- gdb/ppcobsd-tdep.c | 4 +-- gdb/ppcobsd-tdep.h | 4 +-- gdb/regset.c | 44 -------------------------- gdb/regset.h | 14 --------- gdb/rs6000-aix-tdep.c | 4 +-- gdb/score-tdep.c | 21 +++++-------- gdb/score-tdep.h | 7 ----- gdb/sh-tdep.c | 4 +-- gdb/sh-tdep.h | 2 +- gdb/sparc-linux-nat.c | 10 +++--- gdb/sparc-linux-tdep.c | 30 ++++++++++++------ gdb/sparc-nat.c | 28 ++++++++--------- gdb/sparc-nat.h | 16 +++++----- gdb/sparc-sol2-nat.c | 16 +++++----- gdb/sparc-sol2-tdep.c | 4 +-- gdb/sparc-tdep.c | 50 ++++++++++++++--------------- gdb/sparc-tdep.h | 28 ++++++++--------- gdb/sparc64-linux-nat.c | 14 ++++----- gdb/sparc64-linux-tdep.c | 30 ++++++++++++------ gdb/sparc64-sol2-tdep.c | 4 +-- gdb/sparc64-tdep.c | 82 ++++++++++++++++++++++++------------------------ gdb/sparc64-tdep.h | 20 ++++++------ gdb/sparc64fbsd-nat.c | 2 +- gdb/sparc64fbsd-tdep.c | 26 +++++++++------ gdb/sparc64nbsd-nat.c | 24 +++++++------- gdb/sparc64nbsd-tdep.c | 20 +++++++++--- gdb/sparc64obsd-nat.c | 4 +-- gdb/sparc64obsd-tdep.c | 27 ++++++++++------ gdb/sparcnbsd-nat.c | 4 +-- gdb/sparcnbsd-tdep.c | 22 +++++++++---- gdb/tilegx-linux-tdep.c | 2 +- gdb/vax-tdep.c | 2 +- 66 files changed, 452 insertions(+), 510 deletions(-) delete mode 100644 gdb/regset.c -- 1.8.4.2