This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: [rfa] Add a name field to ``struct floatformat''
- To: Andrew Cagney <ac131313 at cygnus dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Subject: Re: [rfa] Add a name field to ``struct floatformat''
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Tue, 30 May 2000 08:37:06 -0700
- Cc: GDB Patches <gdb-patches at sourceware dot cygnus dot com>, BINUTILS Patches <binutils at sourceware dot cygnus dot com>
- References: <3933676F.676D861C@cygnus.com>
On May 30, 5:02pm, Andrew Cagney wrote:
> The attached adds a name field to ``struct floatformat''. It would be
> going into both the binutils+gdb and gcc repositories. Since GDB likes
> to change its floatingpoint format on the fly, being about to print the
> format's name out (for debugging) is very helpful.
>
> Any problems? (This code was once GDB's anyway :-).
In doing the IA-64 gdb port, I added floatformat_ia64_ext to
ia64-tdep.c (in the gdb sources). We'll need to add a name to this
struct and it probably should be moved from ia64-tdep.c to the
appropriate files in libiberty.
Kevin