This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug remote/8637] 'target remote' fails with named pipe
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 01 Jul 2013 13:20:32 +0000
- Subject: [Bug remote/8637] 'target remote' fails with named pipe
- Auto-submitted: auto-generated
- References: <bug-8637-4717 at http dot sourceware dot org/bugzilla/>
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.