aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/target.c
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/gdbserver/target.c
parent4dea914eb19fe30278afad9133121634b3e04484 (diff)
downloadgdb-03f4463bfce516cf7275ec2deb211c1bf2b5c67d.zip
gdb-03f4463bfce516cf7275ec2deb211c1bf2b5c67d.tar.gz
gdb-03f4463bfce516cf7275ec2deb211c1bf2b5c67d.tar.bz2
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/gdbserver/target.c')
-rw-r--r--gdb/gdbserver/target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/target.c b/gdb/gdbserver/target.c
index c95b2f0..d63e211 100644
--- a/gdb/gdbserver/target.c
+++ b/gdb/gdbserver/target.c
@@ -137,7 +137,7 @@ mywait (ptid_t ptid, struct target_waitstatus *ourstatus, int options,
/* See target/target.h. */
void
-target_stop_ptid (ptid_t ptid)
+target_stop_and_wait (ptid_t ptid)
{
struct target_waitstatus status;
int was_non_stop = non_stop;
@@ -156,7 +156,7 @@ target_stop_ptid (ptid_t ptid)
/* See target/target.h. */
void
-target_continue_ptid (ptid_t ptid)
+target_continue_no_signal (ptid_t ptid)
{
struct thread_resume resume_info;