Do not increment of decrement enums
[deliverable/binutils-gdb.git] / gdb / arm-tdep.c
index f3a6325b5ddd7c7196a46cf106af7f590a3d18a0..4f9bb40bd46cc6ee7bec5209543ad8b5f0c8b8d6 100644 (file)
@@ -9405,7 +9405,7 @@ static void
 set_fp_model_sfunc (char *args, int from_tty,
                    struct cmd_list_element *c)
 {
-  enum arm_float_model fp_model;
+  int fp_model;
 
   for (fp_model = ARM_FLOAT_AUTO; fp_model != ARM_FLOAT_LAST; fp_model++)
     if (strcmp (current_fp_model, fp_model_strings[fp_model]) == 0)
@@ -9442,7 +9442,7 @@ static void
 arm_set_abi (char *args, int from_tty,
             struct cmd_list_element *c)
 {
-  enum arm_abi_kind arm_abi;
+  int arm_abi;
 
   for (arm_abi = ARM_ABI_AUTO; arm_abi != ARM_ABI_LAST; arm_abi++)
     if (strcmp (arm_abi_string, arm_abi_strings[arm_abi]) == 0)
This page took 0.023882 seconds and 4 git commands to generate.