[lldb-dev] [Bug 27719] New: No way to send stdin to remote process from command line
via lldb-dev
lldb-dev at lists.llvm.org
Wed May 11 17:48:55 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27719
Bug ID: 27719
Summary: No way to send stdin to remote process from command
line
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://192.168.100.132:5432
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'
(x86_64).
(lldb) process launch -e /tmp/error.txt
Process 6436 launched:
'/usr/local/google/home/vharron/ll/tot/lldb/test/python_api/process/io/process_io'
(x86_64)
Hello world.
(lldb)
error: No auto repeat.
(lldb) kill
Process 6436 stopped
Process 6436 exited with status = 9 (0x00000009)
(lldb) process launch
Process 6460 launched:
'/usr/local/google/home/vharron/ll/tot/lldb/test/python_api/process/io/process_io'
(x86_64)
Hello world.
(lldb)
We also need a test to protect this functionality once implemented.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160512/8395629a/attachment-0001.html>
More information about the lldb-dev
mailing list