2004-06-10 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Thu, 10 Jun 2004 17:49:50 +0000 (17:49 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 10 Jun 2004 17:49:50 +0000 (17:49 +0000)
* mn10300-tdep.c (mn10300_type_align): Call internal_error instead
of abort.

gdb/ChangeLog
gdb/mn10300-tdep.c

index a6a8838..8a7cf2c 100644 (file)
@@ -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
index dba52e2..35345a2 100644 (file)
@@ -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");
     }
 }