aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-02 20:46:41 +0000
committerRichard Henderson <rth@redhat.com>2003-06-02 20:46:41 +0000
commit67dfac52328469df1fb78b8fe42812237f86fe58 (patch)
treea9f55b0172c670f77eb896c93e0606e512f83f90
parentf15398ef83e74b78224f5ee63ff6ef658c8fc6d8 (diff)
downloadgdb-67dfac52328469df1fb78b8fe42812237f86fe58.zip
gdb-67dfac52328469df1fb78b8fe42812237f86fe58.tar.gz
gdb-67dfac52328469df1fb78b8fe42812237f86fe58.tar.bz2
* alpha-tdep.c (alpha_extract_return_value): Use internal_error.
(alpha_store_return_value): Likewise.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/alpha-tdep.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f85e00c..6bea154 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-02 Richard Henderson <rth@redhat.com>
+
+ * alpha-tdep.c (alpha_extract_return_value): Use internal_error.
+ (alpha_store_return_value): Likewise.
+
2003-06-02 David Carlton <carlton@math.stanford.edu>
* block.c (contained_in): Add 'const' to arguments.
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 11d46ce..9e69eda 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -438,7 +438,7 @@ alpha_extract_return_value (struct type *valtype, struct regcache *regcache,
break;
default:
- abort ();
+ internal_error (__FILE__, __LINE__, "unknown floating point width");
}
break;
@@ -462,7 +462,7 @@ alpha_extract_return_value (struct type *valtype, struct regcache *regcache,
break;
default:
- abort ();
+ internal_error (__FILE__, __LINE__, "unknown floating point width");
}
break;
@@ -517,7 +517,7 @@ alpha_store_return_value (struct type *valtype, struct regcache *regcache,
error ("Cannot set a 128-bit long double return value.");
default:
- abort ();
+ internal_error (__FILE__, __LINE__, "unknown floating point width");
}
break;
@@ -542,7 +542,7 @@ alpha_store_return_value (struct type *valtype, struct regcache *regcache,
error ("Cannot set a 128-bit long double return value.");
default:
- abort ();
+ internal_error (__FILE__, __LINE__, "unknown floating point width");
}
break;