From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8450 invoked by alias); 24 Aug 2008 20:35:12 -0000 Received: (qmail 8356 invoked by uid 22791); 24 Aug 2008 20:34:59 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 24 Aug 2008 20:34:19 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m7OKWu0f016818; Sun, 24 Aug 2008 16:33:16 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m7OKWiYQ002389; Sun, 24 Aug 2008 16:32:45 -0400 Received: from opsy.redhat.com (vpn-10-23.bos.redhat.com [10.16.10.23]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m7OKWc6E011542; Sun, 24 Aug 2008 16:32:39 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 1DE6F37831C; Sun, 24 Aug 2008 14:32:48 -0600 (MDT) To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: RFA: shrink main_type References: <20080818130009.GM16894@adacore.com> <20080818132001.GA9434@caradoc.them.org> <20080819051306.GQ16894@adacore.com> <20080824101221.GA3738@adacore.com> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Sun, 24 Aug 2008 20:35:00 -0000 In-Reply-To: (Tom Tromey's message of "Sun\, 24 Aug 2008 12\:01\:03 -0600") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-08/txt/msg00602.txt.bz2 Tom> It turns out I missed a couple other problems. My apologies -- I Tom> messed up. Sigh. One more problem. While looking at the --enable-targets=all failure I found a rename I missed in s390-tdep.c. Fix appended. Hopefully there aren't any more. I'm hardly confident in that at all right now... anyway, if you find something, let me know and I will fix it ASAP. Tom ChangeLog: 2008-08-24 Tom Tromey * s390-tdep.c (s390_address_class_type_flags): Use TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1. (s390_address_class_type_flags_to_name): Likewise. (s390_address_class_name_to_type_flags): Likewise. Index: s390-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/s390-tdep.c,v retrieving revision 1.175 diff -u -r1.175 s390-tdep.c --- s390-tdep.c 16 May 2008 00:27:23 -0000 1.175 +++ s390-tdep.c 24 Aug 2008 20:31:22 -0000 @@ -2278,7 +2278,7 @@ s390_address_class_type_flags (int byte_size, int dwarf2_addr_class) { if (byte_size == 4) - return TYPE_FLAG_ADDRESS_CLASS_1; + return TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1; else return 0; } @@ -2286,7 +2286,7 @@ static const char * s390_address_class_type_flags_to_name (struct gdbarch *gdbarch, int type_flags) { - if (type_flags & TYPE_FLAG_ADDRESS_CLASS_1) + if (type_flags & TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1) return "mode32"; else return NULL; @@ -2298,7 +2298,7 @@ { if (strcmp (name, "mode32") == 0) { - *type_flags_ptr = TYPE_FLAG_ADDRESS_CLASS_1; + *type_flags_ptr = TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1; return 1; } else