aboutsummaryrefslogtreecommitdiff
path: root/gdb/dfp.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-03 17:47:54 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-03 17:47:54 +0000
commit289bd67a5d1337355072d94f2552389066c2a9db (patch)
tree31cd135bdad3152b185ee0ce381a2d8653c849c1 /gdb/dfp.h
parenta951221dcc4e433c832e328a7de4c4bc218a6ccd (diff)
downloadgdb-289bd67a5d1337355072d94f2552389066c2a9db.zip
gdb-289bd67a5d1337355072d94f2552389066c2a9db.tar.gz
gdb-289bd67a5d1337355072d94f2552389066c2a9db.tar.bz2
* 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dfp.h b/gdb/dfp.h
index 737e905..b8df9e8 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,