mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user