merge from gcc
This commit is contained in:
parent
0d339267ec
commit
9c14f30d8b
|
@ -1,3 +1,14 @@
|
||||||
|
2005-08-17 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* floatformat.h (struct floatformat): Change type of large
|
||||||
|
argument for is_valid member to `const void *'.
|
||||||
|
(floatformat_to_double): Change type of second argument to `const
|
||||||
|
void *'.
|
||||||
|
(floatformat_from_double): Change type of last argument to `void
|
||||||
|
*'.
|
||||||
|
(floatformat_is_valid): Change type of last argument to `const
|
||||||
|
void *'.
|
||||||
|
|
||||||
2005-07-14 Jim Blandy <jimb@redhat.com>
|
2005-07-14 Jim Blandy <jimb@redhat.com>
|
||||||
|
|
||||||
* dis-asm.h (print_insn_m32c): New declaration.
|
* dis-asm.h (print_insn_m32c): New declaration.
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* IEEE floating point support declarations, for GDB, the GNU Debugger.
|
/* IEEE floating point support declarations, for GDB, the GNU Debugger.
|
||||||
Copyright 1991, 1994, 1995, 1997, 2000, 2003 Free Software Foundation, Inc.
|
Copyright 1991, 1994, 1995, 1997, 2000, 2003, 2005
|
||||||
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -82,7 +83,7 @@ struct floatformat
|
||||||
const char *name;
|
const char *name;
|
||||||
|
|
||||||
/* Validator method. */
|
/* Validator method. */
|
||||||
int (*is_valid) (const struct floatformat *fmt, const char *from);
|
int (*is_valid) (const struct floatformat *fmt, const void *from);
|
||||||
};
|
};
|
||||||
|
|
||||||
/* floatformats for IEEE single and double, big and little endian. */
|
/* floatformats for IEEE single and double, big and little endian. */
|
||||||
|
@ -116,17 +117,17 @@ extern const struct floatformat floatformat_ia64_quad_little;
|
||||||
Store the double in *TO. */
|
Store the double in *TO. */
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
floatformat_to_double (const struct floatformat *, const char *, double *);
|
floatformat_to_double (const struct floatformat *, const void *, double *);
|
||||||
|
|
||||||
/* The converse: convert the double *FROM to FMT
|
/* The converse: convert the double *FROM to FMT
|
||||||
and store where TO points. */
|
and store where TO points. */
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
floatformat_from_double (const struct floatformat *, const double *, char *);
|
floatformat_from_double (const struct floatformat *, const double *, void *);
|
||||||
|
|
||||||
/* Return non-zero iff the data at FROM is a valid number in format FMT. */
|
/* Return non-zero iff the data at FROM is a valid number in format FMT. */
|
||||||
|
|
||||||
extern int
|
extern int
|
||||||
floatformat_is_valid (const struct floatformat *fmt, const char *from);
|
floatformat_is_valid (const struct floatformat *fmt, const void *from);
|
||||||
|
|
||||||
#endif /* defined (FLOATFORMAT_H) */
|
#endif /* defined (FLOATFORMAT_H) */
|
||||||
|
|
Loading…
Reference in New Issue