From 4e4d83747cd746b9b8569938f0fb83625c74b8ff Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 9 Apr 2010 00:18:52 +0000 Subject: [PATCH] Replace abort with internal_error. 2010-04-08 H.J. Lu * i387-tdep.c (i387_collect_xsave): Replace abort with internal_error. --- gdb/ChangeLog | 5 +++++ gdb/i387-tdep.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5113ecafcd..217295e38b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-04-08 H.J. Lu + + * i387-tdep.c (i387_collect_xsave): Replace abort with + internal_error. + 2010-04-08 Stan Shebs * breakpoint.c (default_collect_info): New function. diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c index eac3216118..6dc9c2c5f6 100644 --- a/gdb/i387-tdep.c +++ b/gdb/i387-tdep.c @@ -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;