[rfa] Add a name field to ``struct floatformat''

Kevin Buettner kevinb@cygnus.com
Tue May 30 08:37:00 GMT 2000


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


More information about the Gdb-patches mailing list