* ldlang.c (dprint_statement): Stop printing at end of list.
[deliverable/binutils-gdb.git] / gdb / i387-tdep.c
index 6c2b6f98325fe407b11dedfd5d78c6fdbc8a4048..6b69405a7dff9772e11cd902c14f08e18b67fcf0 100644 (file)
@@ -15,19 +15,14 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #include "defs.h"
 #include "frame.h"
 #include "inferior.h"
 #include "language.h"
 #include "gdbcore.h"
-#include "ieee-float.h"
-
-struct ext_format ext_format_i387 = {
-/* tot sbyte smask expbyte     manbyte */
-   10, 9,    0x80, 9,8,                4,0             /* i387 */
-};
+#include "floatformat.h"
 
 /* FIXME:  Eliminate these routines when we have the time to change all
    the callers.  */
@@ -37,7 +32,7 @@ i387_to_double (from, to)
      char *from;
      char *to;
 {
-  ieee_extended_to_double (&ext_format_i387, from, (double *)to);
+  floatformat_to_double (&floatformat_i387_ext, from, (double *)to);
 }
 
 void
@@ -45,7 +40,7 @@ double_to_i387 (from, to)
      char *from;
      char *to;
 {
-  double_to_ieee_extended (&ext_format_i387, (double *)from, to);
+  floatformat_from_double (&floatformat_i387_ext, (double *)from, to);
 }
 
 void
@@ -108,8 +103,5 @@ print_387_status_word (status)
          (status & 0x0200) != 0,
          (status & 0x0100) != 0);
 
-  /* FIXME: Someone claims this should be 7 - (status >> 11) & 7 for AIX.
-     What's the story?  Is the following just wrong or are differing
-     notations in use?  */
   printf_unfiltered ("top %d\n", (status >> 11) & 7);
 }
This page took 0.025534 seconds and 4 git commands to generate.