[Bug cli/12260] New: async mode: SIGTTOU, Stopped

jan.kratochvil at redhat dot com sourceware-bugzilla@sourceware.org
Thu Nov 25 10:25:00 GMT 2010


           Summary: async mode: SIGTTOU, Stopped
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: minor
          Priority: P2
         Component: cli
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jan.kratochvil@redhat.com

./gdb -nx -ex 'set target-async 1' -ex start ./gdb
GNU gdb (GDB)
Starting program: .../gdb/gdb 
[1]+  Stopped                 ./gdb -nx -ex 'set target-async 1' -ex start

./gdb -nx -ex r --args ./gdb -nx -ex 'set target-async 1' -ex start ./gdb
Program received signal SIGTTOU, Stopped (tty output).
0x00007ffff63fad68 in tcsetattr () from /lib64/libc.so.6
(gdb) bt
#0  in tcsetattr () from /lib64/libc.so.6
#1  in _set_tty_settings (tty=0, tiop=0x7fffffffda50) at rltty.c:540
#2  in set_tty_settings (tty=0, tiop=0x7fffffffda50) at rltty.c:554
#3  in rl_prep_terminal (meta_flag=1) at rltty.c:712
#4  in _rl_callback_newline () at callback.c:82
#5  in rl_callback_handler_install (prompt=0x7fffffffdae0 "", linefunc=0x5a3d2d
<command_line_handler>) at callback.c:101
#6  in tui_command_loop (data=0x0) at ./tui/tui-interp.c:158
#7  in current_interp_command_loop () at interps.c:291
#8  in captured_command_loop (data=0x0) at ./main.c:228
#9  in catch_errors (func=0x450c86 <captured_command_loop>, func_args=0x0,
errstring=0x7a9987 "", mask=6) at exceptions.c:518
#10 in captured_main (data=0x7fffffffdd60) at ./main.c:912
#11 in catch_errors (func=0x450ccb <captured_main>, func_args=0x7fffffffdd60,
errstring=0x7a9987 "", mask=6) at exceptions.c:518
#12 in gdb_main (args=0x7fffffffdd60) at ./main.c:921
#13 in main (argc=7, argv=0x7fffffffde68) at gdb.c:34

Missing some target_terminal_ours() probably.

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the Gdb-prs mailing list