compnerd / compnerd/ds2

handle Ctrl-C interrupt packet when inferior is already stopped on non-Linux platforms

Open
#129 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
20
Forks
4
PR merge metrics
No merged PRs in 30d

Description

c6617e5f26182c3352581f8bb510ae1ed80677ad fixes an issue with Linux/Android where ds2 would not respond to Ctrl-C `\x03` packets when the inferior process is already stopped. A similar fix likely needs to be applied to Darwin and FreeBSD.

The issue was reproduceable on Linux and Android by running these lldb test cases:
```
TestExitDuringExpression.TestExitDuringExpression.test_exit_before_one_thread_no_unwind
TestExitDuringExpression.TestExitDuringExpression.test_exit_before_one_thread_unwind
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.