Skip to content

Fix setting echo attribute in ptylib on Unix98 systems#491

Open
zyv wants to merge 2 commits intocs01:masterfrom
zyv:fix-solaris
Open

Fix setting echo attribute in ptylib on Unix98 systems#491
zyv wants to merge 2 commits intocs01:masterfrom
zyv:fix-solaris

Conversation

@zyv
Copy link

@zyv zyv commented Sep 7, 2024

  • I have added an entry to CHANGELOG.md, or an entry is not needed for this change

Summary of changes

gdbgui is unable to start the debugger on Unix98 systems like Solaris and AIX, because it attempts to set echo attribute on the master end of the pty pair. This is not allowed and should be done on the child end instead.

See also amoffat/sh#143.

Test plan

Tested by running gdbgui on OpenIndiana (Illumos kernel derived from Solaris).

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

Successfully merging this pull request may close these issues.

1 participant