[llvm-bugs] [Bug 27719] New: No way to send stdin to remote process from command line

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 11 17:48:55 PDT 2016


            Bug ID: 27719
           Summary: No way to send stdin to remote process from command
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: vince at nethacker.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

When I connect to a remote process, I get the (lldb) prompt back after
launching a process that needs stdin

vharron at tifa:~/ll/tot/lldb/test$ ../../build/host/bin/lldb
(lldb) log enable -Tpn -f /tmp/packet.log gdb-remote all
(lldb) log enable -Tpn -f /tmp/lldb.log lldb all
(lldb) platform select remote-linux
  Platform: remote-linux
 Connected: no
(lldb) platform connect connect://
  Platform: remote-linux
    Triple: x86_64--linux-gnu
OS Version: 3.13.0 (3.13.0-32-generic)
    Kernel: #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014
  Hostname: ubuntu
 Connected: yes
WorkingDir: /home/vharron/host
(lldb) platform settings --working-dir /tmp
option[4] --user-write has a short option -w that conflicts with option[0]
--working-dir, short option won't be used for --user-write
(lldb) file ~/ll/tot/lldb/test/python_api/process/io/process_io
Current executable set to '~/ll/tot/lldb/test/python_api/process/io/process_io'
(lldb) process launch -e /tmp/error.txt
Process 6436 launched:
Hello world.
error: No auto repeat.
(lldb) kill
Process 6436 stopped
Process 6436 exited with status = 9 (0x00000009) 
(lldb) process launch
Process 6460 launched:
Hello world.

We also need a test to protect this functionality once implemented.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160512/4794c67c/attachment.html>

More information about the llvm-bugs mailing list