Debugger: Minor refactor.
TeamDebugger: - Rather than instantiating the DebuggerInterface directly, we now expect it to be given to us externally. This allows TeamDebugger to be agnostic of where the team actually resides. Debugger: - Create and initialize DebuggerInterface before passing it on to TeamDebugger. No functional change.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright 2009, Ingo Weinhold, [email protected].
|
||||
* Copyright 2013-2015, Rene Gollent, [email protected].
|
||||
* Copyright 2013-2016, Rene Gollent, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef TEAM_DEBUGGER_H
|
||||
@@ -42,8 +42,8 @@ public:
|
||||
SettingsManager* settingsManager);
|
||||
~TeamDebugger();
|
||||
|
||||
status_t Init(team_id teamID, thread_id threadID,
|
||||
int argc,
|
||||
status_t Init(DebuggerInterface* interface,
|
||||
thread_id threadID, int argc,
|
||||
const char* const* argv,
|
||||
bool stopInMain);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user