#
d3173f34 |
| 29-May-2015 |
Chaoren Lin <chaorenl@google.com> |
Refactor many file functions to use FileSpec over strings.
Summary: This should solve the issue of sending denormalized paths over gdb-remote if we stick to GetPath(false) in GDBRemoteCommunicationC
Refactor many file functions to use FileSpec over strings.
Summary: This should solve the issue of sending denormalized paths over gdb-remote if we stick to GetPath(false) in GDBRemoteCommunicationClient, and let the server handle any denormalization.
Reviewers: ovyalov, zturner, vharron, clayborg
Reviewed By: clayborg
Subscribers: tberghammer, emaste, lldb-commits
Differential Revision: http://reviews.llvm.org/D9728
llvm-svn: 238604
show more ...
|
#
9c9ecce0 |
| 27-May-2015 |
Tamas Berghammer <tberghammer@google.com> |
Make log options uniform betwwen lldb-platform and lldb-gdbserver
This change also get rid of an unused Debugger instance in GDBRemoteCommunicationServerLLGS and the command interpreter from lldb-pl
Make log options uniform betwwen lldb-platform and lldb-gdbserver
This change also get rid of an unused Debugger instance in GDBRemoteCommunicationServerLLGS and the command interpreter from lldb-platform what was used only for enabling logging.
Differential revision: http://reviews.llvm.org/D9876
llvm-svn: 238319
show more ...
|
Revision tags: llvmorg-3.6.1 |
|
#
d50ea2fc |
| 15-May-2015 |
Ilia K <ki.stfu@gmail.com> |
Fix a few compile warnings
llvm-svn: 237425
|
Revision tags: llvmorg-3.6.1-rc1 |
|
#
3eb4b458 |
| 29-Apr-2015 |
Chaoren Lin <chaorenl@google.com> |
Remove trap code from disassembly.
Summary: NativeProcessProtocol uses ReadMemory internally for setting/checking breakpoints but also for generic memory reads (Handle_m), this change adds a ReadMem
Remove trap code from disassembly.
Summary: NativeProcessProtocol uses ReadMemory internally for setting/checking breakpoints but also for generic memory reads (Handle_m), this change adds a ReadMemoryWithoutTrap for that purpose. Also fixes a bunch of misuses of addr_t as size/length.
Test Plan: `disassemble` no longer shows the trap code.
Reviewers: jingham, vharron, clayborg
Reviewed By: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D9330
llvm-svn: 236132
show more ...
|
#
43d79053 |
| 15-Apr-2015 |
Vince Harron <vince@nethacker.com> |
Fixed remote failures in TestCPP11EnumTypes, probably others
Typically, LLGS only sends stdout/stderr notifications when the inferior process is running.
Because LLGS reads stdout from the process
Fixed remote failures in TestCPP11EnumTypes, probably others
Typically, LLGS only sends stdout/stderr notifications when the inferior process is running.
Because LLGS reads stdout from the process in a separate thread, sometimes these stdout notifications can be received after the server has sent a thread stop message. The host isn't expecting stdout to be generated by the target after a stop message and these messages interfere with the host's request/ response paradigm.
Differential Revision: http://reviews.llvm.org/D9024
llvm-svn: 234995
show more ...
|
#
db264a6d |
| 31-Mar-2015 |
Tamas Berghammer <tberghammer@google.com> |
Move several plugin to its own namespace
Affected paths: * Plugins/Platform/Android/* * Plugins/Platform/Linux/* * Plugins/Platform/gdb-server/* * Plugins/Process/Linux/* * Plugins/Process/gdb-remot
Move several plugin to its own namespace
Affected paths: * Plugins/Platform/Android/* * Plugins/Platform/Linux/* * Plugins/Platform/gdb-server/* * Plugins/Process/Linux/* * Plugins/Process/gdb-remote/*
Differential revision: http://reviews.llvm.org/D8654
llvm-svn: 233679
show more ...
|
#
7cb18bf5 |
| 24-Mar-2015 |
Tamas Berghammer <tberghammer@google.com> |
Fetch module specification from remote process also
Previously the remote module sepcification was fetched only from the remote platform. With this CL if we have a remote process then we ask it if i
Fetch module specification from remote process also
Previously the remote module sepcification was fetched only from the remote platform. With this CL if we have a remote process then we ask it if it have any information from a given module. It is required because on android the dynamic linker only reports the name of the SO file and the platform can't always find it without a full path (the process can do it based on /proc/<pid>/maps).
Differential revision: http://reviews.llvm.org/D8547
llvm-svn: 233061
show more ...
|
#
00bdca68 |
| 19-Mar-2015 |
Tamas Berghammer <tberghammer@google.com> |
Don't close pseudo terminal master file descriptor on EOF
Some application on Linux an all application on android close stdout and stderr during the libc exit stage. Previously the master file descr
Don't close pseudo terminal master file descriptor on EOF
Some application on Linux an all application on android close stdout and stderr during the libc exit stage. Previously the master file descriptor of the pseudo terminal used to communicate with the inferior was closed on an EOF causing a race condition and a possible SIGHUP on process exit. After this change the master file descriptor will be closed by the destructor of the GDBRemoteCommunicationServerLLGS class.
Differential revision: http://reviews.llvm.org/D8436
llvm-svn: 232724
show more ...
|
Revision tags: llvmorg-3.5.2, llvmorg-3.5.2-rc1 |
|
#
655b87f9 |
| 17-Mar-2015 |
Tamas Berghammer <tberghammer@google.com> |
Remove unused handler registreation from GDBRemoteCommunicationServerLLGS
llvm-svn: 232488
|
#
90aff47c |
| 03-Mar-2015 |
Zachary Turner <zturner@google.com> |
Fix errors building on linux.
llvm-svn: 231169
|
#
93749ab3 |
| 03-Mar-2015 |
Zachary Turner <zturner@google.com> |
Further reduce the header footprint of Process.h
No functional change here, only deletes unnecessary headers and moves one function's body from the .h file to the .cpp.
llvm-svn: 231145
|
Revision tags: llvmorg-3.6.0 |
|
#
8bc34f4d |
| 19-Feb-2015 |
Oleksiy Vyalov <ovyalov@google.com> |
Prevent LLGS from crashing when exiting - make NativeProcessLinux to wait until ThreadStateCoordinator is fully stopped before entering ~NativeProcessLinux.
http://reviews.llvm.org/D7692
llvm-svn:
Prevent LLGS from crashing when exiting - make NativeProcessLinux to wait until ThreadStateCoordinator is fully stopped before entering ~NativeProcessLinux.
http://reviews.llvm.org/D7692
llvm-svn: 229875
show more ...
|
Revision tags: llvmorg-3.6.0-rc4 |
|
#
caf31142 |
| 17-Feb-2015 |
Chaoren Lin <chaorenl@google.com> |
Send default register number instead of GDB register number in StopReplyPacket.
Summary: Using GDB register numbers confuses ProcessGDBRemote since the rest of LLGS (qRegisterInfo, p, P) uses the de
Send default register number instead of GDB register number in StopReplyPacket.
Summary: Using GDB register numbers confuses ProcessGDBRemote since the rest of LLGS (qRegisterInfo, p, P) uses the default register numbers instead.
Test Plan: dosep.py --options --arch x86 ...
Reviewers: ovyalov, vharron, sivachandra
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D7635
llvm-svn: 229505
show more ...
|
#
e0c6ab59 |
| 17-Feb-2015 |
Chaoren Lin <chaorenl@google.com> |
Fix small assignment mistake.
llvm-svn: 229503
|
#
4a8abd3f |
| 13-Feb-2015 |
Vince Harron <vharron@google.com> |
Fix TestProcessIO.py when run against a remote target
Fixed test case to copy redirected stdout/stderr files from remote target to host
llgs wasn't bothering to put the pty master file handle in th
Fix TestProcessIO.py when run against a remote target
Fixed test case to copy redirected stdout/stderr files from remote target to host
llgs wasn't bothering to put the pty master file handle in the right place if stdout/stderr were redirected to a file. It is still needed for stdin.
Corrected some log message text
llvm-svn: 229141
show more ...
|
Revision tags: llvmorg-3.6.0-rc3 |
|
#
e13c2731 |
| 11-Feb-2015 |
Tamas Berghammer <tberghammer@google.com> |
Separate monolithic GDBRemoteCommunicationServer class into 4 part
GDBRemoteCommunicationServer: Basic packet handling, handler registration LLDBCommonPacketHandler: Common packet handling for lldb-
Separate monolithic GDBRemoteCommunicationServer class into 4 part
GDBRemoteCommunicationServer: Basic packet handling, handler registration LLDBCommonPacketHandler: Common packet handling for lldb-platform and lldb-gdbserver LLDBPlatformPacketHandler: lldb-platform specific packet handling LLGSPacketHandler: lldb-gdbserver specific packet handling
Differential Revision: http://reviews.llvm.org/D7538
llvm-svn: 228823
show more ...
|