Skip to content

GDB Remote Debugging failing with PTY Process Builder #126

@raghavadasyam

Description

@raghavadasyam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions