From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23110 invoked by alias); 3 Feb 2002 23:18:42 -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 22967 invoked from network); 3 Feb 2002 23:18:36 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 3 Feb 2002 23:18:36 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16XVuP-0007N5-00 for ; Sun, 03 Feb 2002 18:18:53 -0500 Date: Sun, 03 Feb 2002 15:18:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Use TYPE_TAG_NAME everywhere Message-ID: <20020203181853.A28319@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20020203181542.A27182@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020203181542.A27182@nevyn.them.org> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-02/txt/msg00047.txt.bz2 On Sun, Feb 03, 2002 at 06:15:42PM -0500, Daniel Jacobowitz wrote: > One file accessed the tag_name member directly. Just for consistency, I > fixed it to use the macro. Committed as obvious. Of course I missed one. Fixed so. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer Index: ChangeLog =================================================================== RCS file: /cvs/src/src/gdb/ChangeLog,v retrieving revision 1.2122 diff -u -p -r1.2122 ChangeLog --- ChangeLog 2002/02/03 23:11:33 1.2122 +++ ChangeLog 2002/02/03 23:17:49 @@ -1,5 +1,10 @@ 2002-02-03 Daniel Jacobowitz + * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of + accessing tag_name directly. + +2002-02-03 Daniel Jacobowitz + * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead of accessing tag_name directly. Index: gdbtypes.c =================================================================== RCS file: /cvs/src/src/gdb/gdbtypes.c,v retrieving revision 1.39 diff -u -p -r1.39 gdbtypes.c --- gdbtypes.c 2002/02/03 22:57:56 1.39 +++ gdbtypes.c 2002/02/03 23:17:49 @@ -809,7 +809,7 @@ init_simd_type (char *name, t = init_type (TYPE_CODE_STRUCT, n * TYPE_LENGTH (elt_type), 0, 0, 0); t->nfields = 1; t->fields = f; - t->tag_name = name; + TYPE_TAG_NAME (t) = name; return t; }