diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-03 17:47:54 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-03 17:47:54 +0000 |
commit | 77a91124678352c6cd265a189d9e4e9d9323ed8c (patch) | |
tree | 6ea7b47b04eda02333a5b21baeea51dfed87f1df /gdb/dfp.h | |
parent | bc5284cc19ee108242a81b378fcdec6a7691170a (diff) | |
download | gdb-77a91124678352c6cd265a189d9e4e9d9323ed8c.tar.gz |
* dfp.h (decimal_binop): Convert LEN_RESULT to input parameter.
* dfp.c (promote_decimal): Remove.
(decimal_binop): Convert LEN_RESULT to input parameter.
Remove call to decimal_binop.
(decimal_compare): Remove call to decimal_binop.
* valarith.c (value_binop): Pass desired result type length
to decimal_binop.
Diffstat (limited to 'gdb/dfp.h')
-rw-r--r-- | gdb/dfp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dfp.h b/gdb/dfp.h index 737e905e31f..b8df9e89e0d 100644 --- a/gdb/dfp.h +++ b/gdb/dfp.h @@ -35,7 +35,7 @@ extern void decimal_from_integral (struct value *from, gdb_byte *to, int len); extern void decimal_from_floating (struct value *from, gdb_byte *to, int len); extern DOUBLEST decimal_to_doublest (const gdb_byte *from, int len); extern void decimal_binop (enum exp_opcode, const gdb_byte *, int, - const gdb_byte *, int, gdb_byte *, int *); + const gdb_byte *, int, gdb_byte *, int); extern int decimal_is_zero (const gdb_byte *x, int len); extern int decimal_compare (const gdb_byte *x, int len_x, const gdb_byte *y, int len_y); extern void decimal_convert (const gdb_byte *from, int len_from, gdb_byte *to, |