Replace abort with internal_error.
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 9 Apr 2010 00:18:52 +0000 (00:18 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 9 Apr 2010 00:18:52 +0000 (00:18 +0000)
2010-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* i387-tdep.c (i387_collect_xsave): Replace abort with
internal_error.

gdb/ChangeLog
gdb/i387-tdep.c

index 5113ecafcd643b3567252582728bf7b62c55d6e4..217295e38bb0aff94100e531d69ad276a3f877bf 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i387-tdep.c (i387_collect_xsave): Replace abort with
+       internal_error.
+
 2010-04-08  Stan Shebs  <stan@codesourcery.com>
 
        * breakpoint.c (default_collect_info): New function.
index eac321611816b00198074451455523435292d085..6dc9c2c5f605b271a53b4843cea2b6ae8c6eea86 100644 (file)
@@ -1033,7 +1033,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 +1078,8 @@ i387_collect_xsave (const struct regcache *regcache, int regnum,
          switch (regclass)
            {
            default:
-             abort ();
+             internal_error (__FILE__, __LINE__,
+                             _("invalid i387 regclass"));
 
            case all:
              break;