daily update
[deliverable/binutils-gdb.git] / gdb / infrun.c
index d0ff62a152faeabf8a51c6ef54edec6c433aee80..27b6d20d7d3caf60d8bde186660f30e6c1adea88 100644 (file)
@@ -3040,20 +3040,6 @@ init_infwait_state (void)
   infwait_state = infwait_normal_state;
 }
 
-void
-error_is_running (void)
-{
-  error (_("Cannot execute this command while "
-          "the selected thread is running."));
-}
-
-void
-ensure_not_running (void)
-{
-  if (is_running (inferior_ptid))
-    error_is_running ();
-}
-
 static int
 stepped_in_from (struct frame_info *frame, struct frame_id step_frame_id)
 {
@@ -4990,7 +4976,8 @@ process_event_stop_test:
 
        tmp_sal = find_pc_line (ecs->stop_func_start, 0);
        if (tmp_sal.line != 0
-           && !function_pc_is_marked_for_skip (ecs->stop_func_start))
+           && !function_name_is_marked_for_skip (ecs->stop_func_name,
+                                                 &tmp_sal))
          {
            if (execution_direction == EXEC_REVERSE)
              handle_step_into_function_backward (gdbarch, ecs);
This page took 0.02366 seconds and 4 git commands to generate.