aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-03-24 14:24:53 +0000
committerPedro Alves <palves@redhat.com>2015-03-24 18:35:40 +0000
commitf3263aa47ec109871a124a1a2d5370e42a907690 (patch)
tree9e8ae761640a3660cb4b5169f65a9e876bf39765 /gdb/infrun.h
parent2bf6fb9d85394f90abb3e21ee037a732b6e4c983 (diff)
downloadgdb-f3263aa47ec109871a124a1a2d5370e42a907690.zip
gdb-f3263aa47ec109871a124a1a2d5370e42a907690.tar.gz
gdb-f3263aa47ec109871a124a1a2d5370e42a907690.tar.bz2
Shuffle user_visible_resume_ptid
... and move comment to declaration. gdb/ChangeLog: 2015-03-24 Pedro Alves <palves@redhat.com> * infrun.c (user_visible_resume_ptid): Rewrite going from most-locked to unlocked instead of the opposite. Move comment ... * infrun.h (user_visible_resume_ptid): ... here.
Diffstat (limited to 'gdb/infrun.h')
-rw-r--r--gdb/infrun.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/infrun.h b/gdb/infrun.h
index ab97eea..1f09e41 100644
--- a/gdb/infrun.h
+++ b/gdb/infrun.h
@@ -95,7 +95,13 @@ extern void proceed (CORE_ADDR, enum gdb_signal);
extern void resume (enum gdb_signal);
/* Return a ptid representing the set of threads that we will proceed,
- in the perspective of the user/frontend. */
+ in the perspective of the user/frontend. We may actually resume
+ fewer threads at first, e.g., if a thread is stopped at a
+ breakpoint that needs stepping-off, but that should not be visible
+ to the user/frontend, and neither should the frontend/user be
+ allowed to proceed any of the threads that happen to be stopped for
+ internal run control handling, if a previous command wanted them
+ resumed. */
extern ptid_t user_visible_resume_ptid (int step);
extern void wait_for_inferior (void);