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 Remote Debugging failing with PTY Process Builder #126

Open
raghavadasyam opened this issue Sep 22, 2022 · 0 comments
Open

GDB Remote Debugging failing with PTY Process Builder #126

raghavadasyam opened this issue Sep 22, 2022 · 0 comments

Comments

@raghavadasyam
Copy link

raghavadasyam commented Sep 22, 2022

We are creating process from PTY Process Builder, with in the same process we are trying the attach gdb launch configuration programmatically . it is failing with "exec_pty(92): returning due to error: Bad file descriptor"

Above Error is coming for while executing below command:
gdb --interpreter mi2 --nx -q --interpreter console -ex new-ui mi /dev/pts/41 -ex set pagination off -ex show version

Mainly it is failing with -ex new-ui mi /dev/pts/41 with this process created from pty4j process builder. do we have any work around or solution to overcome this.
This is happening with gdb 9.2 version
Advance thanks for your support.

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

No branches or pull requests

1 participant