2011-01-05 Michael Snyder <msnyder@vmware.com>
[deliverable/binutils-gdb.git] / gdb / i387-tdep.c
index eac321611816b00198074451455523435292d085..c0dd349b9a9f1ed46c32ef14e440f219dafa01ae 100644 (file)
@@ -1,7 +1,7 @@
 /* Intel 387 floating point stuff.
 
    Copyright (C) 1988, 1989, 1991, 1992, 1993, 1994, 1998, 1999, 2000, 2001,
-   2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010
+   2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -205,7 +205,6 @@ i387_print_float_info (struct gdbarch *gdbarch, struct ui_file *file,
                       struct frame_info *frame, const char *args)
 {
   struct gdbarch_tdep *tdep = gdbarch_tdep (get_frame_arch (frame));
-  gdb_byte buf[4];
   ULONGEST fctrl;
   ULONGEST fstat;
   ULONGEST ftag;
@@ -1033,7 +1032,8 @@ i387_collect_xsave (const struct regcache *regcache, int regnum,
          switch (regclass)
            {
            default:
-             abort ();
+             internal_error (__FILE__, __LINE__,
+                             _("invalid i387 regclass"));
 
            case avxh:
              /* This is an upper YMM register.  */
@@ -1077,7 +1077,8 @@ i387_collect_xsave (const struct regcache *regcache, int regnum,
          switch (regclass)
            {
            default:
-             abort ();
+             internal_error (__FILE__, __LINE__,
+                             _("invalid i387 regclass"));
 
            case all:
              break;
This page took 0.024274 seconds and 4 git commands to generate.