From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15925 invoked by alias); 10 Jun 2013 14:45:25 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 15916 invoked by uid 89); 10 Jun 2013 14:45:25 -0000 X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO autolearn=ham version=3.3.1 Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 10 Jun 2013 14:45:24 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 3FA422EA3E; Mon, 10 Jun 2013 10:45:23 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xqri3VJEIS9m; Mon, 10 Jun 2013 10:45:23 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id D84C82E8B5; Mon, 10 Jun 2013 10:45:22 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 031A5C2B31; Mon, 10 Jun 2013 18:45:20 +0400 (RET) Date: Mon, 10 Jun 2013 14:45:00 -0000 From: Joel Brobecker To: Luis Machado Cc: Mark Kettenis , gdb@sourceware.org Subject: Re: Assuming types for PC Message-ID: <20130610144520.GF3941@adacore.com> References: <51B5E06A.8020807@codesourcery.com> <201306101431.r5AEVAfb007850@glazunov.sibelius.xs4all.nl> <51B5E3D4.9010105@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51B5E3D4.9010105@codesourcery.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-06/txt/msg00023.txt.bz2 > Architectures are free to deal with the types of their PC's as they > please. Some keep the standard while others don't. I don't have a > strong opinion here, but i wouldn't call this a bug immediately. > > > > >>If PC should not have a fixed type, i think it would be best to remove > >>this check. > > > >Please don't. > > Is there a more elaborate reasoning for not removing this check? Here is a URL to the original discussion. DanielJ mention that we might want to loosen up the check, but then added something that confirms Mark's preference: http://www.sourceware.org/ml/gdb-patches/2008-01/msg00699.html | Might want to loosen the expected type; I don't think every platform | returns a function type for PC. | | Then again, might not want to - everyone should do so :-) So, I'm guessing that without a compelling reason to change it, it should stay that way... -- Joel