mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 20:12:01 +08:00
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.
This commit is contained in:
@ -3030,7 +3030,7 @@ target_stop (ptid_t ptid)
|
||||
/* 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;
|
||||
@ -3047,7 +3047,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)
|
||||
{
|
||||
target_resume (ptid, 0, GDB_SIGNAL_0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user