This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/688: GDB/MI does not send the interrupt to the inferior.


>Number:         688
>Category:       gdb
>Synopsis:       GDB/MI does not send the interrupt to the inferior.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 10 07:38:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     alain@qnx.com
>Release:        unknown-1.0
>Organization:
>Environment:
Solaris SunOS 5.8
gdb-5.2.0
>Description:

Simple hello world with a sleep()

gdb -i mi ./hello -tty /dev/ptys/8
....
r
&"r\n"
^C^C^C^C

If run without the '-tty' things seems to work ok.
I guess gdb relies on the terminal behaviour to send the interrupt to the 
inferior.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]