Replace abort with internal_error.

2010-04-08  H.J. Lu  <hongjiu.lu@intel.com>

	* i387-tdep.c (i387_collect_xsave): Replace abort with
	internal_error.
This commit is contained in:
H.J. Lu 2010-04-09 00:18:52 +00:00
parent 6bf924b0ab
commit 4e4d83747c
2 changed files with 9 additions and 2 deletions

View 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.

View 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;