* breakpoint.h (enum bpstat_what_main_action): Remove
authorDaniel Jacobowitz <drow@false.org>
Wed, 23 May 2007 11:39:17 +0000 (11:39 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 23 May 2007 11:39:17 +0000 (11:39 +0000)
BPSTAT_WHAT_THROUGH_SIGTRAMP.
* infrun.c (process_event_stop_test): Do not check for it.

gdb/ChangeLog
gdb/breakpoint.h
gdb/infrun.c

index d24db0b80100d8a0bf696bd97c510d61893491ad..450bbeedd019452142d1e6d178f4d1843ae7f73e 100644 (file)
@@ -1,3 +1,9 @@
+2007-05-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * breakpoint.h (enum bpstat_what_main_action): Remove
+       BPSTAT_WHAT_THROUGH_SIGTRAMP.
+       * infrun.c (process_event_stop_test): Do not check for it.
+
 2007-05-22  Chris Dearman  <chris@mips.com>
             Maciej W. Rozycki  <macro@mips.com>
 
index 639f991b0a96871a2294d68a97fa4e0b933e5597..9f0b940d66621bf69e0a29aa6439dbd54e150f05 100644 (file)
@@ -486,10 +486,6 @@ enum bpstat_what_main_action
     /* Clear step resume breakpoint, and keep checking.  */
     BPSTAT_WHAT_STEP_RESUME,
 
-    /* Clear through_sigtramp breakpoint, muck with trap_expected, and keep
-       checking.  */
-    BPSTAT_WHAT_THROUGH_SIGTRAMP,
-
     /* Check the dynamic linker's data structures for new libraries, then
        keep checking.  */
     BPSTAT_WHAT_CHECK_SHLIBS,
index dccd9ec07315c23839a85ac7cd76811179c3b777..f90a556e0e7526bfa5139d10fca37d4d9c30e482 100644 (file)
@@ -2178,15 +2178,6 @@ process_event_stop_test:
          }
        break;
 
-      case BPSTAT_WHAT_THROUGH_SIGTRAMP:
-        if (debug_infrun)
-         fprintf_unfiltered (gdb_stdlog, "infrun: BPSTAT_WHAT_THROUGH_SIGTRAMP\n");
-       /* If were waiting for a trap, hitting the step_resume_break
-          doesn't count as getting it.  */
-       if (trap_expected)
-         ecs->another_trap = 1;
-       break;
-
       case BPSTAT_WHAT_CHECK_SHLIBS:
       case BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK:
        {