This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug remote/8637] 'target remote' fails with named pipe


http://sourceware.org/bugzilla/show_bug.cgi?id=8637

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com
            Summary|'target remote xxx' can     |'target remote' fails with
                   |cause segmentation fault in |named pipe
                   |arm-elf-gdb                 |

--- Comment #2 from Tom Tromey <tromey at redhat dot com> ---
(In reply to nm127 from comment #0)

> Tring to use a named pipe (fifo) as target remote gives some error.

Now I get:

(gdb) target  remote /tmp/QQQ
get_tty_state failed: Inappropriate ioctl for device
set_tty_state failed: Inappropriate ioctl for device
Remote debugging using /tmp/QQQ
get_tty_state failed: Inappropriate ioctl for device
set_tty_state failed: Inappropriate ioctl for device
Bogus trace status reply from target: qTStatus


gdb assumes that a file name given to "taret remote" is
a tty.  It should probably check this with isatty before
applying ioctls to the fd; or use ser-pipe.c for named
pipes as well.

I'm changing the bug description as the SEGV problem
seems to be fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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