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 a6a88389ccd16228190c94ae883ec6bddaeedd37..8a7cf2cf78d2ee95f7cae8ca7ce78b2430650050 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 dba52e283a58b8574d64cb3cb2deeab9109694ed..35345a2b374004cfc39bfc83e33376f6f725334d 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");
     }
 }