From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12115 invoked by alias); 29 Sep 2011 13:43:10 -0000 Received: (qmail 11999 invoked by uid 22791); 29 Sep 2011 13:43:08 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-yi0-f41.google.com (HELO mail-yi0-f41.google.com) (209.85.218.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Sep 2011 13:42:43 +0000 Received: by yia25 with SMTP id 25so662148yia.0 for ; Thu, 29 Sep 2011 06:42:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.184.70 with SMTP id r46mr40721454yhm.100.1317303762119; Thu, 29 Sep 2011 06:42:42 -0700 (PDT) Received: by 10.236.203.135 with HTTP; Thu, 29 Sep 2011 06:42:42 -0700 (PDT) In-Reply-To: <201109291428.16541.pedro@codesourcery.com> References: <20110921190419.542512461A9@ruffy.mtv.corp.google.com> <201109291426.19579.pedro@codesourcery.com> <201109291428.16541.pedro@codesourcery.com> Date: Thu, 29 Sep 2011 13:56:00 -0000 Message-ID: Subject: Re: Rename "info definitions"? From: Matt Rice To: Pedro Alves Cc: gdb-patches@sourceware.org, Doug Evans Content-Type: text/plain; charset=ISO-8859-1 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: 2011-09/txt/msg00535.txt.bz2 On Thu, Sep 29, 2011 at 6:28 AM, Pedro Alves wrote: > On Thursday 29 September 2011 14:26:19, Pedro Alves wrote: >> We could just add it back if we ever find a need though. >> If a language needing it for macros would require adding more >> such switches to other commands. > > Err, I meant, "I suspect a language needing it for macros would > require adding more such switches to other commands." None of the other macro commands accept options, they just interpret the entire string as a name currently, so this is a new form of c-ism I think all that would be required is just turning the macro printing formatters into language based callbacks, and the macro expansion parser into language based callbacks. but who knows what you would run into if you actually tried.