aboutsummaryrefslogtreecommitdiff
path: root/gdb/doublest.h
diff options
context:
space:
mode:
authornobody <>2003-04-19 14:43:51 +0000
committernobody <>2003-04-19 14:43:51 +0000
commit291862d73dc6b445dae7638c7490d74473dea27c (patch)
tree9263a76bef13f0ba98af84e9496af9524e617d83 /gdb/doublest.h
parentbad7deeefd1fa35f148ce755f6ee1e00c3c0d05e (diff)
downloadfsf-binutils-gdb-291862d73dc6b445dae7638c7490d74473dea27c.zip
fsf-binutils-gdb-291862d73dc6b445dae7638c7490d74473dea27c.tar.gz
fsf-binutils-gdb-291862d73dc6b445dae7638c7490d74473dea27c.tar.bz2
This commit was manufactured by cvs2svn to create branchkettenis_i386newframe-20030419-branchpoint
'kettenis_i386newframe-20030419-branch'. Sprout from kettenis_i386newframe-20030406-branch 2003-04-06 14:50:16 UTC nobody 'This commit was manufactured by cvs2svn to create branch' Cherrypick from master 2003-04-19 14:43:50 UTC Mark Kettenis <kettenis@gnu.org> '* i386-tdep.c (i386_num_register_names): New variable.': ChangeLog Makefile.in Makefile.tpl bfd/ChangeLog bfd/archures.c bfd/bfd-in2.h bfd/coff-h8300.c bfd/coff-h8500.c bfd/coff-sh.c bfd/cpu-h8300.c bfd/cpu-sh.c bfd/dwarf2.c bfd/elf32-h8300.c bfd/elf32-mips.c bfd/elf32-sh.c bfd/elf32-sh64-com.c bfd/elf32-sh64.c bfd/elf32-xtensa.c bfd/elf64-alpha.c bfd/elf64-sh64.c bfd/elflink.h bfd/elfn32-mips.c bfd/elfxx-ia64.c bfd/elfxx-mips.c bfd/format.c bfd/peicode.h bfd/reloc.c bfd/version.h configure configure.in gdb/ChangeLog gdb/Makefile.in gdb/NEWS gdb/ada-lang.h gdb/alpha-tdep.c gdb/arch-utils.c gdb/arch-utils.h gdb/arm-linux-tdep.c gdb/arm-tdep.c gdb/avr-tdep.c gdb/ax-gdb.h gdb/block.c gdb/block.h gdb/blockframe.c gdb/breakpoint.c gdb/buildsym.c gdb/buildsym.h gdb/builtin-regs.h gdb/c-lang.h gdb/cli-out.h gdb/cli/cli-cmds.c gdb/cli/cli-cmds.h gdb/cli/cli-script.h gdb/cli/cli-setshow.h gdb/config/i386/nm-ptx4.h gdb/config/i386/nm-symmetry.h gdb/config/i386/ptx.mh gdb/config/i386/ptx.mt gdb/config/i386/ptx4.mh gdb/config/i386/ptx4.mt gdb/config/i386/symmetry.mh gdb/config/i386/symmetry.mt gdb/config/i386/tm-ptx.h gdb/config/i386/tm-ptx4.h gdb/config/i386/tm-symmetry.h gdb/config/i386/xm-ptx.h gdb/config/i386/xm-ptx4.h gdb/config/i386/xm-symmetry.h gdb/config/m68k/tm-delta68.h gdb/config/mips/mipsm3.mh gdb/config/mips/mipsm3.mt gdb/config/mips/tm-mipsm3.h gdb/config/mips/xm-mipsm3.h gdb/config/nm-linux.h gdb/config/nm-lynx.h gdb/config/nm-m3.h gdb/config/pa/tm-hppa.h gdb/config/pa/tm-hppah.h gdb/config/rs6000/tm-rs6000.h gdb/config/sparc/sparclet.mt gdb/config/sparc/sparclite.mt gdb/config/sparc/tm-sp64.h gdb/config/sparc/tm-sparc.h gdb/config/sparc/tm-sparclet.h gdb/config/sparc/tm-sparclite.h gdb/configure.host gdb/configure.tgt gdb/core-regset.c gdb/cp-abi.h gdb/cp-namespace.c gdb/cp-support.c gdb/cp-support.h gdb/cp-valprint.c gdb/cris-tdep.c gdb/d10v-tdep.c gdb/defs.h gdb/disasm.c gdb/disasm.h gdb/doc/ChangeLog gdb/doc/gdb.texinfo gdb/doc/gdbint.texinfo gdb/doublest.c gdb/doublest.h gdb/dummy-frame.c gdb/dwarf2cfi.h gdb/dwarf2expr.c gdb/dwarf2expr.h gdb/dwarf2loc.c gdb/dwarf2loc.h gdb/dwarf2read.c gdb/event-top.h gdb/fork-child.c gdb/frame.c gdb/frame.h gdb/frv-tdep.c gdb/gdb.h gdb/gdb_gcore.sh gdb/gdb_indent.sh gdb/gdbarch.c gdb/gdbarch.h gdb/gdbarch.sh gdb/gdbcmd.h gdb/gdbcore.h gdb/gdbthread.h gdb/gdbtypes.h gdb/h8300-tdep.c gdb/hppa-hpux-tdep.c gdb/hppa-tdep.c gdb/i386-cygwin-tdep.c gdb/i386-interix-tdep.c gdb/i386-linux-nat.c gdb/i386-linux-tdep.c gdb/i386-tdep.c gdb/i386-tdep.h gdb/i386ly-tdep.c gdb/i387-tdep.c gdb/i387-tdep.h gdb/ia64-tdep.c gdb/infcmd.c gdb/inferior.h gdb/infrun.c gdb/jv-lang.c gdb/language.h gdb/linespec.h gdb/m3-nat.c gdb/m68hc11-tdep.c gdb/m68k-tdep.c gdb/maint.c gdb/mcore-tdep.c gdb/minsyms.c gdb/mips-tdep.c gdb/mips-tdep.h gdb/mipsm3-nat.c gdb/mn10300-tdep.c gdb/monitor.h gdb/ns32k-tdep.c gdb/ns32knbsd-nat.c gdb/objc-lang.c gdb/ocd.h gdb/ppc-linux-tdep.c gdb/ppc-tdep.h gdb/reggroups.c gdb/remote-utils.h gdb/remote-vx.c gdb/remote.c gdb/rs6000-tdep.c gdb/s390-nat.c gdb/s390-tdep.c gdb/ser-unix.h gdb/serial.h gdb/sh-tdep.c gdb/solib-irix.c gdb/solib-osf.c gdb/solib-sunos.c gdb/solib-svr4.c gdb/solib-svr4.h gdb/source.h gdb/sparc-tdep.c gdb/sparcl-stub.c gdb/sparcl-tdep.c gdb/sparclet-rom.c gdb/sparclet-stub.c gdb/srec.h gdb/stabsread.h gdb/symfile.h gdb/symm-nat.c gdb/symm-tdep.c gdb/symmisc.c gdb/symtab.c gdb/symtab.h gdb/target.h gdb/testsuite/ChangeLog gdb/testsuite/gdb.base/args.exp gdb/testsuite/gdb.base/attach.exp gdb/testsuite/gdb.base/completion.exp gdb/testsuite/gdb.c++/derivation.cc gdb/testsuite/gdb.c++/derivation.exp gdb/testsuite/gdb.c++/maint.exp gdb/testsuite/gdb.c++/overload.cc gdb/testsuite/gdb.c++/overload.exp gdb/testsuite/gdb.c++/userdef.cc gdb/testsuite/gdb.c++/userdef.exp gdb/testsuite/gdb.mi/ChangeLog gdb/testsuite/gdb.mi/gdb792.exp gdb/testsuite/gdb.threads/pthreads.exp gdb/testsuite/gdb.threads/schedlock.c gdb/thread-db.c gdb/thread.c gdb/typeprint.h gdb/utils.c gdb/v850-tdep.c gdb/valprint.h gdb/value.h gdb/values.c gdb/vax-tdep.c gdb/version.in gdb/x86-64-tdep.c gdb/x86-64-tdep.h gdb/xmodem.h gdb/xstormy16-tdep.c include/coff/ChangeLog include/coff/h8300.h include/coff/h8500.h include/coff/sh.h include/elf/ChangeLog include/elf/common.h include/opcode/ChangeLog include/opcode/h8300.h include/opcode/mips.h libiberty/ChangeLog libiberty/Makefile.in libiberty/argv.c libiberty/calloc.c libiberty/config.in libiberty/configure libiberty/configure.in libiberty/copysign.c libiberty/floatformat.c libiberty/functions.texi libiberty/getcwd.c libiberty/getopt.c libiberty/hashtab.c libiberty/maint-tool libiberty/memchr.c libiberty/memcmp.c libiberty/memcpy.c libiberty/memmove.c libiberty/mempcpy.c libiberty/memset.c libiberty/regex.c libiberty/rename.c libiberty/sigsetmask.c libiberty/snprintf.c libiberty/stpcpy.c libiberty/stpncpy.c libiberty/strcasecmp.c libiberty/strdup.c libiberty/strncasecmp.c libiberty/strncmp.c libiberty/strsignal.c libiberty/strstr.c libiberty/vfprintf.c libiberty/vprintf.c libiberty/vsnprintf.c libiberty/vsprintf.c libiberty/xatexit.c libiberty/xmalloc.c libtool.m4 opcodes/ChangeLog opcodes/h8500-opc.h opcodes/ia64-asmtab.c opcodes/ia64-ic.tbl opcodes/mips-dis.c sim/arm/ChangeLog sim/arm/armvirt.c sim/common/ChangeLog sim/common/Make-common.in sim/configure sim/configure.in sim/h8300/ChangeLog sim/h8300/compile.c sim/mips/ChangeLog sim/mips/vr.igen sim/testsuite/sim/h8300/ChangeLog sim/testsuite/sim/h8300/add.b.s sim/testsuite/sim/h8300/add.l.s sim/testsuite/sim/h8300/add.w.s sim/testsuite/sim/h8300/adds.s sim/testsuite/sim/h8300/addx.s sim/testsuite/sim/h8300/allinsn.exp sim/testsuite/sim/h8300/and.b.s sim/testsuite/sim/h8300/and.l.s sim/testsuite/sim/h8300/and.w.s sim/testsuite/sim/h8300/bfld.s sim/testsuite/sim/h8300/bra.s sim/testsuite/sim/h8300/brabc.s sim/testsuite/sim/h8300/bset.s sim/testsuite/sim/h8300/cmp.b.s sim/testsuite/sim/h8300/cmp.l.s sim/testsuite/sim/h8300/cmp.w.s sim/testsuite/sim/h8300/daa.s sim/testsuite/sim/h8300/das.s sim/testsuite/sim/h8300/dec.s sim/testsuite/sim/h8300/ext.l.s sim/testsuite/sim/h8300/ext.w.s sim/testsuite/sim/h8300/inc.s sim/testsuite/sim/h8300/jmp.s sim/testsuite/sim/h8300/ldc.s sim/testsuite/sim/h8300/mac.s sim/testsuite/sim/h8300/mov.b.s sim/testsuite/sim/h8300/mov.l.s sim/testsuite/sim/h8300/mov.w.s sim/testsuite/sim/h8300/movmd.s sim/testsuite/sim/h8300/movsd.s sim/testsuite/sim/h8300/neg.s sim/testsuite/sim/h8300/nop.s sim/testsuite/sim/h8300/not.s sim/testsuite/sim/h8300/or.b.s sim/testsuite/sim/h8300/or.l.s sim/testsuite/sim/h8300/or.w.s sim/testsuite/sim/h8300/rotl.s sim/testsuite/sim/h8300/rotr.s sim/testsuite/sim/h8300/rotxl.s sim/testsuite/sim/h8300/rotxr.s sim/testsuite/sim/h8300/shal.s sim/testsuite/sim/h8300/shar.s sim/testsuite/sim/h8300/shll.s sim/testsuite/sim/h8300/shlr.s sim/testsuite/sim/h8300/stc.s sim/testsuite/sim/h8300/sub.b.s sim/testsuite/sim/h8300/sub.l.s sim/testsuite/sim/h8300/sub.w.s sim/testsuite/sim/h8300/testutils.inc sim/testsuite/sim/h8300/xor.b.s sim/testsuite/sim/h8300/xor.l.s sim/testsuite/sim/h8300/xor.w.s sim/v850/ChangeLog
Diffstat (limited to 'gdb/doublest.h')
-rw-r--r--gdb/doublest.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/gdb/doublest.h b/gdb/doublest.h
index 920d702..668efa7 100644
--- a/gdb/doublest.h
+++ b/gdb/doublest.h
@@ -1,7 +1,8 @@
/* Floating point definitions for GDB.
- Copyright 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
- 1997, 1998, 1999, 2000, 2001
- Free Software Foundation, Inc.
+
+ Copyright 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
+ 1996, 1997, 1998, 1999, 2000, 2001, 2003 Free Software Foundation,
+ Inc.
This file is part of GDB.
@@ -23,6 +24,8 @@
#ifndef DOUBLEST_H
#define DOUBLEST_H
+struct type;
+
/* Setup definitions for host and target floating point formats. We need to
consider the format for `float', `double', and `long double' for both target
and host. We need to do this so that we know what kind of conversions need
@@ -59,12 +62,16 @@ extern int floatformat_is_negative (const struct floatformat *, char *);
extern int floatformat_is_nan (const struct floatformat *, char *);
extern char *floatformat_mantissa (const struct floatformat *, char *);
-/* These two functions are deprecated in favour of
- extract_typed_floating and store_typed_floating. See comments in
- 'doublest.c' for details. */
+/* These functions have been replaced by extract_typed_floating and
+ store_typed_floating.
+
+ Most calls are passing in TYPE_LENGTH (TYPE) so can be changed to
+ just pass the TYPE. The remainder pass in the length of a
+ register, those calls should instead pass in the floating point
+ type that corresponds to that length. */
-extern DOUBLEST extract_floating (const void *addr, int len);
-extern void store_floating (void *addr, int len, DOUBLEST val);
+extern DOUBLEST deprecated_extract_floating (const void *addr, int len);
+extern void deprecated_store_floating (void *addr, int len, DOUBLEST val);
/* Given TYPE, return its floatformat. TYPE_FLOATFORMAT() may return
NULL. type_floatformat() detects that and returns a floatformat