Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: experimental/linux_debug_server/debugger/core/debuggee_process.h

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/linux_debug_server/debugger/core/debuggee_process.h
diff --git a/experimental/linux_debug_server/debugger/core/debuggee_process.h b/experimental/linux_debug_server/debugger/core/debuggee_process.h
deleted file mode 100755
index 97973089c0a3b7301fe0b7fa891fa5c61d431482..0000000000000000000000000000000000000000
--- a/experimental/linux_debug_server/debugger/core/debuggee_process.h
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright (c) 2011 The Native Client Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-#ifndef DEBUGGER_CORE_DEBUGGEE_PROCESS_H_
-#define DEBUGGER_CORE_DEBUGGEE_PROCESS_H_
-
-#include <deque>
-#include <map>
-#include <string>
-#include "debugger/base/debug_blob.h"
-#include "debugger/core/debug_event.h"
-
-namespace debug {
-class DebugAPI;
-class DebuggeeThread;
-
-class DebuggeeProcess {
- public:
- explicit DebuggeeProcess (DebugAPI* debug_api);
- virtual ~DebuggeeProcess ();
-
- /// @param[out] debug_event received debug event.
- /// @return true if debug event is received, dispatched and process is halted.
- /// Some debug events are ignored - and thread allowed to continue execution.
- /// For example, all debug events for non-NaCl threads are ignored.
- bool WaitForDebugEventAndDispatchIt(DebugEvent* debug_event);
-
- /// @param tid thread id
- /// @return pointer to traced thread object, or NULL if there's no thread
- /// with requested tid. Only NaClApp threads are been traced.
- /// ExecutionEngine owns returned object, caller shall not delete it.
- DebuggeeThread* GetThread(int tid);
-
- /// @param[out] pids list of all tracked threads
- void GetThreadsIds(std::deque<int>* tids) const;
-
- uint64_t nexe_mem_base() const { return nexe_mem_base_; }
-
- void Continue(int tid);
-
- protected:
- /// Handler of debug events.
- /// @param[in] debug_event debug event received from debuggee process
- /// @return true if process is halted.
- bool OnDebugEvent(const DebugEvent& debug_event);
-
- DebugAPI& debug_api() { return debug_api_; }
-
- void StopAllThreads();
- bool AllThreadStopped();
- void DeleteThread(int tid);
-
- typedef std::deque<DebuggeeThread*>::const_iterator ThreadConstIter;
- typedef std::deque<DebuggeeThread*>::iterator ThreadIter;
-
- private:
- std::deque<DebuggeeThread*> threads_;
- DebugAPI& debug_api_;
- uint64_t nexe_mem_base_;
- bool stopping_treads_;
- bool is_first_event_;
-
- DebuggeeProcess (const DebuggeeProcess &); // DISALLOW_COPY_AND_ASSIGN
- void operator=(const DebuggeeProcess &);
-};
-} // namespace debug
-
-#endif // DEBUGGER_CORE_DEBUGGEE_PROCESS_H_
-

Powered by Google App Engine
This is Rietveld 408576698