mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-28 04:23:37 +01:00
gdb: ignore SIGINT from the bridge when gdb is in foreground
^C can be used within gdb to break a running target, handeling it from the bridge would kill the connection
This commit is contained in:
parent
d5697e6add
commit
4d664f9e05
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ int main(int argc, char **argv)
|
|||
goto end;
|
||||
|
||||
struct sigaction action = {
|
||||
.sa_handler = SIGINT_SIGCHLD_handler,
|
||||
.sa_handler = opts.bridge_only ? SIGINT_SIGCHLD_handler : SIG_IGN,
|
||||
};
|
||||
sigaction(SIGINT, &action, NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue