* linux-low.c (linux_wait_for_event): Correct comment typos.
(linux_resume_one_process): Call check_removed_breakpoint. (linux_send_signal): New function. (linux_target_ops): Add linux_send_signal. * remote-utils.c (putpkt, input_interrupt): Use send_signal instead of kill. * target.h (struct target_ops): Add send_signal.
This commit is contained in:
parent
c82b20e457
commit
e5379b03cf
4 changed files with 36 additions and 8 deletions
|
@ -46,8 +46,6 @@ static int remote_desc;
|
|||
extern int using_threads;
|
||||
extern int debug_threads;
|
||||
|
||||
extern int signal_pid;
|
||||
|
||||
/* Open a connection to a remote debugger.
|
||||
NAME is the filename used for communication. */
|
||||
|
||||
|
@ -326,7 +324,7 @@ putpkt (char *buf)
|
|||
|
||||
/* Check for an input interrupt while we're here. */
|
||||
if (buf3[0] == '\003')
|
||||
kill (signal_pid, SIGINT);
|
||||
(*the_target->send_signal) (SIGINT);
|
||||
}
|
||||
while (buf3[0] != '+');
|
||||
|
||||
|
@ -363,7 +361,7 @@ input_interrupt (int unused)
|
|||
return;
|
||||
}
|
||||
|
||||
kill (signal_pid, SIGINT);
|
||||
(*the_target->send_signal) (SIGINT);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue