From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19372 invoked by alias); 11 Sep 2004 11:27:09 -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 19344 invoked from network); 11 Sep 2004 11:27:07 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 11 Sep 2004 11:27:07 -0000 Received: from zaretski (pns03-205-146.inter.net.il [80.230.205.146]) by legolas.inter.net.il (MOS 3.5.3-GR) with ESMTP id CNM44625 (AUTH halo1); Sat, 11 Sep 2004 14:27:03 +0300 (IDT) Date: Sat, 11 Sep 2004 11:27:00 -0000 From: "Eli Zaretskii" To: Paul Hilfinger Message-ID: <01c497f2$Blat.v2.2.2$3a8b3d20@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: gdb-patches@sources.redhat.com In-reply-to: <20040910101125.BC0E4F2C98@nile.gnat.com> (message from Paul Hilfinger on Fri, 10 Sep 2004 06:11:25 -0400 (EDT)) Subject: Re: [RFA] patch to remove language-dependent language support Reply-to: Eli Zaretskii References: <20040910101125.BC0E4F2C98@nile.gnat.com> X-SW-Source: 2004-09/txt/msg00181.txt.bz2 > From: Paul Hilfinger > Date: Fri, 10 Sep 2004 06:11:25 -0400 (EDT) > > At Andrew's request, I've prepared a patch that removes the > (essentially unused) features in the language vector and elsewhere > that provide for language-dependent integral output formats. The > patch below causes GDB to use C-format throughout instead. This change > does indeed allow for a bit of brush removal. > > The idea is that if language-specific formatting were ever to be > re-introduced, it would be via a function in the language vector. (I'd > suggest that such a function take a raw string of digits and perhaps > their radix, and work from that. For C, it would stick 0x or 0 in > front, according to radix and value; for Ada, it would stick RADIX# in > front and # after for non-decimal radices). > > The patch would have been a lot shorter, but several name changes seemed > indicated. Comments solicited. Please grep the docs for the names of functions you are replacing/renaming/deprecating, and change any instances of those as appropriate. I found at least local_hex_string_custom is in gdbint.texinfo.