-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected "Remote connection closed" with GDB PIPE and RISC-V #234
Comments
Can you rerun this, adding |
It looks like gdb decided to disconnect after it received the list of registers from OpenOCD. Where exactly did your gdb come from? Also, in the original report you mentioned that it works on Linux. What platform are you using that it fails on? |
@palmer-dabbelt reported that it works on Linux yesterday.
macOS. See full steps:
|
On Tue, Apr 3, 2018 at 3:03 PM, Ivan Kravets ***@***.***> wrote:
Where exactly did your gdb come from?
- https://www.sifive.com/products/tools/
- https://bintray.com/platformio/dl-packages/toolchain-riscv/
1.70200.0#files
Which one did you use? Or are you saying the failure occurs with either
one?
|
I already said, the problem is linked with Mac |
Yes, but you linked to two sets of tools. Which of these two sets shows the problem? Have you tried to start OpenOCD separately from gdb so it listens on a port instead of using the pipe mechanism? Unfortunately I don't have easy access to a Mac to reproduce your problem. |
Both sets show the problem. Yes, it works separately without pipe. The main problem here if GDB process dies, openOCD will continue to work. In case with pipe, openOCD will die as only you kill GDB. that is the reason why “pipe” was added to OpenOCD. To make developers happy who use IDEs. |
@timsifive Do you have time to look at this? It's blocking Ivan from getting Platform IO up and running. |
Closing due to inactivity. |
See ilg-archived/openocd#25
/cc @palmer-dabbelt
The text was updated successfully, but these errors were encountered: