GPU: Make the debug_context variable a member of the frontend instead of a global.
This commit is contained in:
parent
2c785bd06c
commit
0ce52b1da2
7 changed files with 40 additions and 19 deletions
|
@ -23,8 +23,6 @@
|
|||
|
||||
namespace Tegra {
|
||||
|
||||
std::shared_ptr<DebugContext> g_debug_context;
|
||||
|
||||
void DebugContext::DoOnEvent(Event event, void* data) {
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(breakpoint_mutex);
|
||||
|
|
|
@ -160,6 +160,4 @@ private:
|
|||
std::list<BreakPointObserver*> breakpoint_observers;
|
||||
};
|
||||
|
||||
extern std::shared_ptr<DebugContext> g_debug_context;
|
||||
|
||||
} // namespace Tegra
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue