Skip to content
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

GDB debugger does not use the Windows ConPTY API in lieu of openpty API #2908

Closed
DrChat opened this issue Apr 7, 2021 · 0 comments
Closed
Assignees
Milestone

Comments

@DrChat
Copy link

DrChat commented Apr 7, 2021

On Windows, attempting to use any GDB debugger results in an UnsatisfiedLinkError when Ghidra attempts to link to the system's openpty API.
This is because Windows does not have an openpty API.

However, Windows does have an equivalent API called ConPTY, which can be used in the same manner as Linux's PTY.
This is a usage example of the new API.

As such, it should be possible to abstract out the openpty and ConPTY APIs into a generic platform-independent interface and use that on both platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants