From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29087 invoked by alias); 1 Mar 2006 04:53:47 -0000 Received: (qmail 29079 invoked by uid 22791); 1 Mar 2006 04:53:46 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Mar 2006 04:53:46 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-245-83.inter.net.il [83.130.245.83]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DQT92178 (AUTH halo1); Wed, 1 Mar 2006 06:53:40 +0200 (IST) Date: Wed, 01 Mar 2006 04:53:00 -0000 Message-Id: From: Eli Zaretskii To: Wu Zhou , gdb-patches@sources.redhat.com In-reply-to: <20060301043203.GA17621@nevyn.them.org> (message from Daniel Jacobowitz on Tue, 28 Feb 2006 23:32:03 -0500) Subject: Re: [RFC]: Document patch for F90 derived type support Reply-to: Eli Zaretskii References: <20060228135310.GA25487@nevyn.them.org> <20060301043203.GA17621@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00003.txt.bz2 > Date: Tue, 28 Feb 2006 23:32:03 -0500 > From: Daniel Jacobowitz > Cc: Eli Zaretskii , gdb-patches@sources.redhat.com > > > I did some comparison between g77 and gfortran. In the aspect of the > > compiler-generated DW_TAG_base_type, g77 uses "byte", "word" and "integer" > > for "integer*1", "integer*2" and "integer*4" respectively. And gfortran > > seems to adopt a new mechanism, it uses "int1", "int2" and "int4" > > respectively. So it might also make some sense. At lease the debugger > > user can guess the meaning from these words. :-) > > I think they're close enough to display for now ``For now''? Are we in a hurry to release GDB or something? > I spoke with Paul Brook and there shouldn't be any trouble changing > them if we want to. But what about the versions that are already there? We want GDB to behave consistently, even of gfortran does not. > Eli, I agree that it would be reasonable to ignore them; but I don't > think there's any particularly easy way to do it. ??? Won't something as simple as if (strcmp ("int4", ...) == 0) printf_filtered ("integer*4"); do? What am I missing?