From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21812 invoked by alias); 29 Sep 2005 05:14:34 -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 21799 invoked by uid 22791); 29 Sep 2005 05:14:28 -0000 Received: from e33.co.us.ibm.com (HELO e33.co.us.ibm.com) (32.97.110.151) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 29 Sep 2005 05:14:28 +0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e33.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id j8T5D3RQ029948 for ; Thu, 29 Sep 2005 01:13:03 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j8T5F4ct404782 for ; Wed, 28 Sep 2005 23:15:04 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id j8T5EQT6018333 for ; Wed, 28 Sep 2005 23:14:26 -0600 Received: from imap.linux.ibm.com (imap.rtp.raleigh.ibm.com [9.42.107.100]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j8T5EENN018200; Wed, 28 Sep 2005 23:14:26 -0600 Received: by imap.linux.ibm.com (Postfix, from userid 48) id 4D3D77C012; Thu, 29 Sep 2005 01:14:14 -0400 (EDT) Received: from Bug-Engine.cn.ibm.com (Bug-Engine.cn.ibm.com [9.181.133.208]) by imap.rtp.raleigh.ibm.com (IMP) with HTTP for ; Thu, 29 Sep 2005 01:14:14 -0400 Message-ID: <1127970854.433b782619db1@imap.linux.ibm.com> Date: Thu, 29 Sep 2005 05:14:00 -0000 From: Wu Zhou To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] Decimal Floating Point support for GDB (Part 1: patch) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.7 X-SW-Source: 2005-09/txt/msg00288.txt.bz2 Hi Eli, Thanks for your reply. Quoting Eli Zaretskii : > I'm not sure; the similar "1234.565f" feature is not documented > anywhere. I guess the idea is that a programmer in the C language > should know about this C feature, and GDB just supports the C language > by accepting its syntax for numbers. Isn't the same true for your > additions, i.e., isn't "1234.56df" going to be a valid C number > syntax? Yes. "1234.56df" will be valid number in incoming c99 revison. This is documented in http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1107.htm > > What about gdb internal? Do we need to update that too? > > gdbint.texinfo should have a description of language-specific files, > what they do and how to build one for a new language. One minor issue > that should be part of that description is the number syntax. I'd be > thrilled to see such a description added to gdbint, but since there's > no such description now, I don't feel I can ask you to write a tiny > addition to a non-existent chapter. But if you can find time to write > a full description of the C expression syntax support, I'd gratefully > review it. OK. Got it. I will try to see whether I can find any time to work on that. But I am not sure. So I can't promise anything at this time. :-) > > 2. As you might know, dfp for gcc is also under development. And my patch > > depends on the availablity of that? How did gdb handle this kind of > > situation before? Did we need to wait until dfp is ready for gcc? > > There's no need to wait, IMHO, since this feature in GDB will not > cause any harm unless and until GDB sees some program whose DWARF info > includes these special tags. That is good. I wish it is like this too. Regards - Wu Zhou