aboutsummaryrefslogtreecommitdiff
path: root/gdb/dfp.h
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2017-11-06 16:02:33 +0100
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2017-11-06 16:02:33 +0100
commitb07e9c466ed24af614090ac42d6730a291608f69 (patch)
treecd800a1298a4333f68ab971b516017362029fa0b /gdb/dfp.h
parent3b2ca8248cae742c00cb4e94138edf1403d43d47 (diff)
downloadgdb-b07e9c466ed24af614090ac42d6730a291608f69.zip
gdb-b07e9c466ed24af614090ac42d6730a291608f69.tar.gz
gdb-b07e9c466ed24af614090ac42d6730a291608f69.tar.bz2
Target FP: Remove unused floating-point routines
This patch removes the following routines, which now have no remaining users in GDB: - extract_typed_floating - store_typed_floating - convert_typed_floating - decimal_from_doublest - decimal_to_doublest - value_as_double - unpack_double - value_from_double - value_from_decfloat This completes removal of DOUBLEST from all files except doublest.{c,h} and target-float.c. gdb/ChangeLog: 2017-11-06 Ulrich Weigand <uweigand@de.ibm.com> * doublest.c: Do not include "gdbtypes.h". (extract_typed_floating): Remove. (store_typed_floating): Remove. (convert_typed_floating): Remove. * doublest.h (struct type): Remove. (DOUBLEST_PRINT_FORMAT): Remove. (DOUBLEST_SCAN_FORMAT): Remove. (extract_typed_floating): Remove. (store_typed_floating): Remove. (convert_typed_floating): Remove. * dfp.c (decimal_from_doublest): Remove. (decimal_to_doublest): Remove. * dfp.h: Do not include "doublest.h". (decimal_from_doublest): Remove. (decimal_to_doublest): Remove. * value.c: Do not include "doublest.h" and "dfp.h". (value_as_double): Remove. (unpack_double): Remove. (value_from_double): Remove. (value_from_decfloat): Remove. * value.h: Do not include "doublest.h". (value_as_double): Remove. (unpack_double): Remove. (value_from_double): Remove. (value_from_decfloat): Remove.
Diffstat (limited to 'gdb/dfp.h')
-rw-r--r--gdb/dfp.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/dfp.h b/gdb/dfp.h
index e17f1ce..af52fa2 100644
--- a/gdb/dfp.h
+++ b/gdb/dfp.h
@@ -25,7 +25,6 @@
#ifndef DFP_H
#define DFP_H
-#include "doublest.h" /* For DOUBLEST. */
#include "expression.h" /* For enum exp_opcode. */
extern std::string decimal_to_string (const gdb_byte *, int, enum bfd_endian,
@@ -38,10 +37,6 @@ extern void decimal_from_ulongest (ULONGEST from, gdb_byte *to,
int len, enum bfd_endian byte_order);
extern LONGEST decimal_to_longest (const gdb_byte *from, int len,
enum bfd_endian byte_order);
-extern void decimal_from_doublest (DOUBLEST from, gdb_byte *to,
- int len, enum bfd_endian byte_order);
-extern DOUBLEST decimal_to_doublest (const gdb_byte *from, int len,
- enum bfd_endian byte_order);
extern void decimal_binop (enum exp_opcode,
const gdb_byte *, int, enum bfd_endian,
const gdb_byte *, int, enum bfd_endian,