From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12123 invoked by alias); 26 Sep 2008 05:06:14 -0000 Received: (qmail 12115 invoked by uid 22791); 26 Sep 2008 05:06:14 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 26 Sep 2008 05:05:39 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m8Q4o4cf001691; Fri, 26 Sep 2008 00:50:04 -0400 Received: from pobox.stuttgart.redhat.com (pobox.stuttgart.redhat.com [172.16.2.10]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m8Q4hBnQ008309; Fri, 26 Sep 2008 00:43:11 -0400 Received: from host0.dyn.jankratochvil.net (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.stuttgart.redhat.com (8.13.1/8.13.1) with ESMTP id m8Q4hA7L023392; Fri, 26 Sep 2008 00:43:11 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.2) with ESMTP id m8Q4h9lI004150; Fri, 26 Sep 2008 06:43:09 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.2/Submit) id m8Q4h9Vv004147; Fri, 26 Sep 2008 06:43:09 +0200 Date: Fri, 26 Sep 2008 05:06:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: gdb-patches@sourceware.org, Tobias Burnus , Ulrich Weigand , Jim Blandy , jimb@codesourcery.com Subject: Accessor macro wrappers removal [Re: [patch] static_kind -> bit0, bit1] Message-ID: <20080926044309.GA3803@host0.dyn.jankratochvil.net> References: <20080818111120.GE16894@adacore.com> <200808181553.m7IFrG3w005270@d12av02.megacenter.de.ibm.com> <48A59B3C.9050801@net-b.de> <20080818111120.GE16894@adacore.com> <20080907115637.GA12939@host0.dyn.jankratochvil.net> <20080919221221.GA23372@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080919221221.GA23372@adacore.com> User-Agent: Mutt/1.5.18 (2008-05-17) 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: 2008-09/txt/msg00512.txt.bz2 On Sat, 20 Sep 2008 00:12:21 +0200, Joel Brobecker wrote: > > Also I do not understand why exist all the macros like this one at all: > > #define TYPE_MAIN_TYPE(thistype) (thistype)->main_type > > Why we cannot use it expanded? This way it is always one (or more) > > "tags"-jump (VIM ctrl-]) indirections while navigating the source files. > > Personally, I find them to be very useful to quickly find who is using > field "main_type" in struct type. How does it differ from grep -- '->main_type\>' *.[ch] ? [ other part of the mail left after update of the patch ] Regards, Jan