From fc720350ee481d7b05bff2233ae5209f74235389 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 10 Jun 2004 17:49:50 +0000 Subject: [PATCH] 2004-06-10 Andrew Cagney * mn10300-tdep.c (mn10300_type_align): Call internal_error instead of abort. --- gdb/ChangeLog | 3 +++ gdb/mn10300-tdep.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a6a88389ccd..8a7cf2cf78d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2004-06-10 Andrew Cagney + * 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 dba52e283a5..35345a2b374 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"); } } -- 2.30.2