mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-09 01:26:29 +08:00
Johns release
This commit is contained in:
gdb
.gdbinitConvex.notesMakefile.distMakefile.srcdirProjectsTODOWHATS.NEWalldeps.makalloca.caltos-xdep.cam29k-opcode.ham29k-pinsn.cam29k-tdep.cansidecl.harm-convert.sarm-pinsn.carm-xdep.ccommand.cconfig.gdbconfig.status
config
3b1.mh3b1.mtaltos.mhaltos.mtaltosgas.mhaltosgas.mtam29karm.mharm.mtbigmips.mhbigmips.mtconvex.mhconvex.mthp300bsd.mhhp300bsd.mthp300hpux.mhhp300hpux.mti386v-g.mhi386v-g.mti386v.mhi386v.mti386v32-g.mhi386v32-g.mti386v32.mhi386v32.mti960.mtisi.mhisi.mtlittlemips.mhlittlemips.mtm88k.mhm88k.mtmerlin.mhmerlin.mtmh-vaxnews.mhnews.mtnews1000.mhnews1000.mtnindy960.mtnone.mhnone.mtnp1.mhnp1.mtpn.mhpn.mtpyramid.mhpyramid.mtsun2os3.mhsun2os3.mtsun2os4.mhsun2os4.mtsun3.mhsun3.mtsun386.mhsun386.mtsun3os3.mhsun3os3.mtsun3os4.mhsun3os4.mtsun4.mhsun4.mtsun4os3.mhsun4os3.mtsun4os4.mhsun4os4.mtsymmetry.mhsymmetry.mtumax.mhumax.mtvax.mtvxworks68.mtvxworks960.mt
convex-opcode.hconvex-pinsn.cconvex-tdep.cconvex-xdep.ccore.ccoredep.ccplus-dem.ccreatetagsdependexpread.tab.cexpread.ygetpagesize.hgmalloc.cgmalloc.hgould-pinsn.cgould-xdep.chp300hpux-xdep.ci386-pinsn.ci386-xdep.ci960-pinsn.ci960-tdep.cieee-float.cieee-float.hkdb-start.cm68k-opcode.hm68k-pinsn.cmcheck.cmips-opcode.hmips-pinsn.cmips-xdep.cmunchnews-xdep.cnindy-tdep.cnp1-opcode.hns32k-opcode.hns32k-pinsn.cobstack.cobstack.hparam-no-tm.hparam.hpn-opcode.hpyr-opcode.hpyr-pinsn.cpyr-tdep.cpyr-xdep.cregex.cregex.hremote-eb.cremote-multi.sharremote-nindy.cremote-vx.csaber.suppresssignals.hsigname.csigname.hsparc-opcode.hsparc-pinsn.csparc-xdep.cstab.defstandalone.cstddef.hstdlib.hstuff.csun3-xdep.csun386-xdep.csymmetry-tdep.csymmetry-xdep.ctdesc.ctdesc.htm-29k.htm-3b1.htm-68k.htm-altos.htm-altosgas.htm-arm.htm-bigmips.htm-convex.htm-hp300bsd.htm-hp300hpux.htm-i386v-g.htm-i386v.htm-i960.htm-isi.htm-m88k.htm-merlin.htm-mips.htm-news.htm-nindy960.htm-np1.htm-pn.htm-pyr.htm-sparc.htm-sun2.htm-sun2os4.htm-sun3.htm-sun386.htm-sun3os4.htm-sun4os4.htm-sunos.htm-symmetry.htm-umax.htm-vax.htm-vxworks68.htm-vxworks960.humax-xdep.cvalues.cvax-opcode.hvax-pinsn.cvx-share
dbgRpcLib.hptrace.hreg.hvxTypes.hvxWorks.hwait.hxdr_ld.cxdr_ld.hxdr_ptrace.cxdr_ptrace.hxdr_rdb.cxdr_rdb.hxdr_regs.cxdr_regs.h
xm-3b1.hxm-altos.hxm-arm.hxm-bigmips.hxm-convex.hxm-hp300bsd.hxm-hp300hpux.hxm-i386v.hxm-i386v32.hxm-isi.hxm-m88k.hxm-merlin.hxm-mips.hxm-news.hxm-news1000.hxm-np1.hxm-pn.hxm-pyr.hxm-sparc.hxm-sun2.hxm-sun3.hxm-sun386.hxm-sun3os4.hxm-sun4os4.hxm-symmetry.hxm-umax.hxm-vax.hinclude
readline
66
gdb/ieee-float.h
Normal file
66
gdb/ieee-float.h
Normal file
@ -0,0 +1,66 @@
|
||||
/* IEEE floating point support declarations, for GDB, the GNU Debugger.
|
||||
Copyright (C) 1991 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
GDB is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 1, or (at your option)
|
||||
any later version.
|
||||
|
||||
GDB is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GDB; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
/* Parameters for extended float format: */
|
||||
|
||||
struct ext_format {
|
||||
unsigned totalsize; /* Total size of extended number */
|
||||
unsigned signbyte; /* Byte number of sign bit */
|
||||
unsigned char signmask; /* Mask for sign bit */
|
||||
unsigned expbyte_h; /* High byte of exponent */
|
||||
unsigned expbyte_l; /* Low byte of exponent */
|
||||
unsigned manbyte_h; /* High byte of mantissa */
|
||||
unsigned manbyte_l; /* Low byte of mantissa */
|
||||
};
|
||||
|
||||
#define TOTALSIZE ext_format->totalsize
|
||||
#define SIGNBYTE ext_format->signbyte
|
||||
#define SIGNMASK ext_format->signmask
|
||||
#define EXPBYTE_H ext_format->expbyte_h
|
||||
#define EXPBYTE_L ext_format->expbyte_l
|
||||
#define MANBYTE_H ext_format->manbyte_h
|
||||
#define MANBYTE_L ext_format->manbyte_l
|
||||
|
||||
/* Actual ext_format structs for various machines are in the *-tdep.c file
|
||||
for each machine. */
|
||||
|
||||
#define EXT_EXP_NAN 0x7FFF /* Exponent value that indicates NaN */
|
||||
#define EXT_EXP_BIAS 0x3FFF /* Amount added to "true" exponent for ext */
|
||||
#define DBL_EXP_BIAS 0x3FF /* Ditto, for doubles */
|
||||
|
||||
/* Convert an IEEE extended float to a double.
|
||||
FROM is the address of the extended float.
|
||||
Store the double in *TO. */
|
||||
|
||||
extern void
|
||||
ieee_extended_to_double (
|
||||
#ifdef __STDC__
|
||||
struct ext_format *ext_format, char *from, double *to
|
||||
#endif
|
||||
);
|
||||
|
||||
/* The converse: convert the double *FROM to an extended float
|
||||
and store where TO points. */
|
||||
|
||||
void
|
||||
double_to_ieee_extended (
|
||||
#ifdef __STDC__
|
||||
struct ext_format *ext_format, double *from, char *to
|
||||
#endif
|
||||
);
|
Reference in New Issue
Block a user