From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17408 invoked by alias); 31 Oct 2007 21:54:56 -0000 Received: (qmail 17399 invoked by uid 22791); 31 Oct 2007 21:54:56 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate6.de.ibm.com (HELO mtagate6.de.ibm.com) (195.212.29.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 31 Oct 2007 21:54:51 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate6.de.ibm.com (8.13.8/8.13.8) with ESMTP id l9VLslq1163006 for ; Wed, 31 Oct 2007 21:54:47 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l9VLslve2339054 for ; Wed, 31 Oct 2007 22:54:47 +0100 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l9VLslSF023518 for ; Wed, 31 Oct 2007 22:54:47 +0100 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id l9VLsldG023515; Wed, 31 Oct 2007 22:54:47 +0100 Message-Id: <200710312154.l9VLsldG023515@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 31 Oct 2007 22:54:47 +0100 Subject: Re: [rfc] [01/15] Add gdbarch to register_name callback (prep) To: deuling@de.ibm.com (Markus Deuling) Date: Wed, 31 Oct 2007 22:11:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org (GDB Patches) In-Reply-To: <47285CC8.80902@de.ibm.com> from "Markus Deuling" at Oct 31, 2007 11:45:28 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2007-10/txt/msg00878.txt.bz2 Markus Deuling wrote: > -f:const char *:register_name:int regnr:regnr > +M:const char *:register_name:int regnr:regnr You should be using "m" instead of "M". The latter will allow targets to not provide a gdbarch_register_name callback, which doesn't make much sense -- this routine should remain required. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com