From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25219 invoked by alias); 19 Jun 2002 15:01:30 -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 24586 invoked from network); 19 Jun 2002 15:00:38 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 19 Jun 2002 15:00:38 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 46EA93D94 for ; Wed, 19 Jun 2002 11:00:36 -0400 (EDT) Message-ID: <3D109C94.6050205@cygnus.com> Date: Wed, 19 Jun 2002 08:01:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020613 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [patch] another const char *register_name() Content-Type: multipart/mixed; boundary="------------040908070403080504030009" X-SW-Source: 2002-06/txt/msg00365.txt.bz2 This is a multi-part message in MIME format. --------------040908070403080504030009 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 29 Just FYI, committed, Andrew --------------040908070403080504030009 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 623 2002-06-19 Andrew Cagney * i386-linux-tdep.c (i386_linux_register_name): Make return type constant. Index: i386-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i386-linux-tdep.c,v retrieving revision 1.13 diff -u -r1.13 i386-linux-tdep.c --- i386-linux-tdep.c 14 Jun 2002 19:42:19 -0000 1.13 +++ i386-linux-tdep.c 19 Jun 2002 14:58:26 -0000 @@ -38,7 +38,7 @@ /* Return the name of register REG. */ -static char * +static const char * i386_linux_register_name (int reg) { /* Deal with the extra "orig_eax" pseudo register. */ --------------040908070403080504030009--