[RFA] patch to remove language-dependent language support
Eli Zaretskii
eliz@gnu.org
Sat Sep 11 11:27:00 GMT 2004
> 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.
More information about the Gdb-patches
mailing list