#5424: [gdb] hang after Ctrl-C -----------------------------------------------+----------------------- Reporter: Adek336 | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/Command Line Tools | Version: R1/alpha1 Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All -----------------------------------------------+----------------------- Comment (by siarzhuk): Replying to [comment:2 Freeman]: > Can I use sigint to detect the user input and exit the program? I have just compared gdb behavior with my FreeBSD box - on pressing Ctrl-C it prints "Quit" in the input line and left gdb running. I suspect gdb/readline uses more sophisticated signals handling (posix signals?) and cannot be fixed by adding just another handler. AFAIR the "tree" version of gdb/readline was ported much earlier than posix signals support was implemented in Haiku - so it can have some "forgotten" hacks and workarounds to let it work. I suggest to port actual version of gdb for Haiku separately (or check if it is alrteady available in HaikuPorter) and try to reproduce the problem. gdb is 3rd-party software and will be outsorced soon - there are no sense to bother with outdated "tree" version anyway. -- Ticket URL: <http://dev.haiku-os.org/ticket/5424#comment:3> Haiku <http://dev.haiku-os.org> Haiku - the operating system.