aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-10 17:49:50 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-10 17:49:50 +0000
commitfc720350ee481d7b05bff2233ae5209f74235389 (patch)
treec0a09aa1bb891ea2543743b25dce4c3c9ef6ac83
parent9a1dd1ad41602fc94cf9c2192b795623f68777e6 (diff)
downloadgdb-fc720350ee481d7b05bff2233ae5209f74235389.zip
gdb-fc720350ee481d7b05bff2233ae5209f74235389.tar.gz
gdb-fc720350ee481d7b05bff2233ae5209f74235389.tar.bz2
2004-06-10 Andrew Cagney <cagney@gnu.org>
* mn10300-tdep.c (mn10300_type_align): Call internal_error instead of abort.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/mn10300-tdep.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a6a8838..8a7cf2c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2004-06-10 Andrew Cagney <cagney@gnu.org>
+ * mn10300-tdep.c (mn10300_type_align): Call internal_error instead
+ of abort.
+
* ns32k-tdep.c (ns32k_push_arguments): New function.
(ns32k_gdbarch_init): Set deprecated_push_arguments.
* infcall.c (call_function_by_hand): Call error instead of
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c
index dba52e2..35345a2 100644
--- a/gdb/mn10300-tdep.c
+++ b/gdb/mn10300-tdep.c
@@ -246,7 +246,7 @@ mn10300_type_align (struct type *type)
return mn10300_type_align (check_typedef (type));
default:
- abort ();
+ internal_error (__FILE__, __LINE__, "bad switch");
}
}