From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8799 invoked by alias); 17 Jul 2004 14:01:52 -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 8792 invoked from network); 17 Jul 2004 14:01:51 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 17 Jul 2004 14:01:51 -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 i6HE1pe3010472 for ; Sat, 17 Jul 2004 10:01:51 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6HE1pa05000; Sat, 17 Jul 2004 10:01:51 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id DC8672B9D; Sat, 17 Jul 2004 10:01:49 -0400 (EDT) Message-ID: <40F9314D.2050803@gnu.org> Date: Sat, 17 Jul 2004 14:01:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com, Randolph Chung Subject: [ob/6.2] Drop "register", don't include Content-Type: multipart/mixed; boundary="------------060100010207080104050401" X-SW-Source: 2004-07/txt/msg00220.txt.bz2 This is a multi-part message in MIME format. --------------060100010207080104050401 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 97 Just FYI, "register" - let the compiler do this. - use gdb_string.h instead. Andrew --------------060100010207080104050401 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 813 2004-07-17 Andrew Cagney * hppa-linux-nat.c: Do not include . (supply_fpregset): Remove "register" attribute. Index: hppa-linux-nat.c =================================================================== RCS file: /cvs/src/src/gdb/hppa-linux-nat.c,v retrieving revision 1.4 diff -p -u -r1.4 hppa-linux-nat.c --- hppa-linux-nat.c 7 Jun 2004 15:19:08 -0000 1.4 +++ hppa-linux-nat.c 17 Jul 2004 13:57:51 -0000 @@ -26,7 +26,6 @@ #include #include -#include #include #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,43) @@ -342,7 +341,7 @@ fill_gregset (gdb_gregset_t *gregsetp, i void supply_fpregset (gdb_fpregset_t *fpregsetp) { - register int regi; + int regi; char *from; for (regi = 0; regi <= 31; regi++) --------------060100010207080104050401--