* infrun.c (inferior_stop_reason, print_stop_reason): Remove
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 22 Feb 2007 15:14:12 +0000 (15:14 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 22 Feb 2007 15:14:12 +0000 (15:14 +0000)
BREAKPOINT_HIT and STOP_UNKNOWN.

gdb/ChangeLog
gdb/infrun.c

index 5d84add15c8de329c5aeccfcc4e4b48090f5116d..a1bdf895169b6eade5e68c499e6cfc00fe69b866 100644 (file)
@@ -1,3 +1,8 @@
+2007-02-22  Markus Deuling  <deuling@de.ibm.com>
+
+       * infrun.c (inferior_stop_reason, print_stop_reason): Remove
+       BREAKPOINT_HIT and STOP_UNKNOWN.
+
 2007-02-22  Markus Deuling  <deuling@de.ibm.com>
 
        * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. 
index 7b1caeea59cd85c52e5d90434798c193eb87890a..1cdfadfa2d78d1e75d56c0cedf6ddc04b5b6d239 100644 (file)
@@ -904,12 +904,8 @@ enum infwait_states
    to the interface from within handle_inferior_event(). */
 enum inferior_stop_reason
 {
-  /* We don't know why. */
-  STOP_UNKNOWN,
   /* Step, next, nexti, stepi finished. */
   END_STEPPING_RANGE,
-  /* Found breakpoint. */
-  BREAKPOINT_HIT,
   /* Inferior terminated by signal. */
   SIGNAL_EXITED,
   /* Inferior exited. */
@@ -2986,10 +2982,6 @@ print_stop_reason (enum inferior_stop_reason stop_reason, int stop_info)
 {
   switch (stop_reason)
     {
-    case STOP_UNKNOWN:
-      /* We don't deal with these cases from handle_inferior_event()
-         yet. */
-      break;
     case END_STEPPING_RANGE:
       /* We are done with a step/next/si/ni command. */
       /* For now print nothing. */
@@ -3001,10 +2993,6 @@ print_stop_reason (enum inferior_stop_reason stop_reason, int stop_info)
            (uiout, "reason",
             async_reason_lookup (EXEC_ASYNC_END_STEPPING_RANGE));
       break;
-    case BREAKPOINT_HIT:
-      /* We found a breakpoint. */
-      /* For now print nothing. */
-      break;
     case SIGNAL_EXITED:
       /* The inferior was terminated by a signal. */
       annotate_signalled ();