From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26508 invoked by alias); 28 Mar 2002 04:22:59 -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 26500 invoked from network); 28 Mar 2002 04:22:57 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 28 Mar 2002 04:22:57 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 385FF3DCE; Wed, 27 Mar 2002 23:21:09 -0500 (EST) Message-ID: <3CA29A35.9060702@cygnus.com> Date: Wed, 27 Mar 2002 20:22:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.8) Gecko/20020210 X-Accept-Language: en-us MIME-Version: 1.0 To: Christopher Faylor Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: strip stdcall suffixes under cygwin References: <20020327233525.1164E5EA11@zwingli.cygnus.com> <3CA25A74.6050807@cygnus.com> <3CA27888.2070407@cygnus.com> <20020328034207.GI1617@redhat.com> <3CA29627.5040900@cygnus.com> <20020328040905.GA5852@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-03/txt/msg00573.txt.bz2 > Would the executable file's format (MS PE?) identify the executable as >>belonging to windows? > > > Yes, certainly. Are you saying the macro could be a global which is > set by detecting if the executable type was PE? I suspect that the debug reader could identify and retain this information locally (in a variable/flag). It must already do this for symbol tables and the like. I don't think the macro is needed. enjoy, Andrew PS: See http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&database=gdb&pr=169