This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] patch to remove language-dependent language support
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: Paul Hilfinger <hilfingr at gnat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 11 Sep 2004 14:25:35 +0300
- Subject: Re: [RFA] patch to remove language-dependent language support
- References: <20040910101125.BC0E4F2C98@nile.gnat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Paul Hilfinger <hilfingr@gnat.com>
> 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.