2010-05-24 Michael Snyder <msnyder@vmware.com>
[binutils-gdb.git] / gdb / i387-tdep.c
index eac321611816b00198074451455523435292d085..1af66c5a84ee633bcb8a2ef84f8d0a20cfd3c9f8 100644 (file)
@@ -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;