diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2014-08-28 15:46:54 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2014-08-28 15:46:54 +0000 |
commit | a9882cee50d3ba5716ca39ba831b43ea82c34183 (patch) | |
tree | 8b8d40a7af353787acc35496d9f795feaae11ef0 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h | |
parent | a8833f0c28c86c86d1d059484fe0f44d371eaa47 (diff) | |
download | bcm5719-llvm-a9882cee50d3ba5716ca39ba831b43ea82c34183.tar.gz bcm5719-llvm-a9882cee50d3ba5716ca39ba831b43ea82c34183.zip |
llgs: add proper exec support for Linux.
This change:
* properly captures execs in NativeProcessLinux.
* clears out all non-main-thread thread metadata in NativeProcessLinux on exec.
* adds a DidExec() method to the NativeProcessProtocol delegate.
* clears out the auxv data cache when we exec (on Linux).
This is a small part of the llgs for local Linux debugging work going on here:
https://github.com/tfiala/lldb/tree/dev-llgs-local
I'm breaking it into small patches.
llvm-svn: 216670
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h index 412b591e6ec..13c037c0287 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h @@ -218,6 +218,9 @@ public: void ProcessStateChanged (lldb_private::NativeProcessProtocol *process, lldb::StateType state) override; + void + DidExec (lldb_private::NativeProcessProtocol *process) override; + protected: lldb::PlatformSP m_platform_sp; lldb::thread_t m_async_thread; @@ -534,6 +537,9 @@ private: void MaybeCloseInferiorTerminalConnection (); + void + ClearProcessSpecificData (); + //------------------------------------------------------------------ // For GDBRemoteCommunicationServer only //------------------------------------------------------------------ |