summaryrefslogtreecommitdiff
path: root/gdb/target
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-09-22 11:33:59 +0100
committerGary Benson <gbenson@redhat.com>2014-09-22 11:33:59 +0100
commit03f4463bfce516cf7275ec2deb211c1bf2b5c67d (patch)
tree8df8b7640befe01e469301248631e9ada1c631a9 /gdb/target
parent4dea914eb19fe30278afad9133121634b3e04484 (diff)
Rename target_{stop,continue}_ptid
This commit renames target_stop_ptid as target_stop_and_wait and target_continue_ptid as target_continue_no_signal. Comments are updated to more fully describe the functions' behaviour. gdb/ChangeLog: * target/target.h (target_stop_ptid): Renamed as... (target_stop_and_wait): New function. Updated comment. All uses updated. (target_continue_ptid): Renamed as... (target_continue_no_signal): New function. Updated comment. All uses updated.
Diffstat (limited to 'gdb/target')
-rw-r--r--gdb/target/target.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/gdb/target/target.h b/gdb/target/target.h
index 99a79667e2..c8b9c8027a 100644
--- a/gdb/target/target.h
+++ b/gdb/target/target.h
@@ -59,15 +59,17 @@ extern int target_read_uint32 (CORE_ADDR memaddr, uint32_t *result);
extern int target_write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr,
ssize_t len);
-/* Make target stop in a continuable fashion. (For instance, under
- Unix, this should act like SIGSTOP). This function must be
- provided by the client. */
+/* Cause the target to stop in a continuable fashion--for instance,
+ under Unix, this should act like SIGSTOP--and wait for the target
+ to be stopped before returning. This function must be provided by
+ the client. */
-extern void target_stop_ptid (ptid_t ptid);
+extern void target_stop_and_wait (ptid_t ptid);
-/* Restart a target that was previously stopped by target_stop_ptid.
- This function must be provided by the client. */
+/* Restart a target previously stopped by target_stop_and_wait.
+ No signal is delivered to the target. This function must be
+ provided by the client. */
-extern void target_continue_ptid (ptid_t ptid);
+extern void target_continue_no_signal (ptid_t ptid);
#endif /* TARGET_COMMON_H */