forked from qt-creator/qt-creator
Disassembler: Force disassembler reload when switching output flavor
Change-Id: I8356cba5766a0afc519c66f120c24d1755c840e4 Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "disassembleragent.h"
|
||||
|
||||
#include "breakhandler.h"
|
||||
#include "debuggeractions.h"
|
||||
#include "debuggercore.h"
|
||||
#include "debuggerengine.h"
|
||||
#include "debuggerinternalconstants.h"
|
||||
@@ -214,6 +215,12 @@ bool DisassemblerAgent::isMixed() const
|
||||
&& d->location.functionName() != _("??");
|
||||
}
|
||||
|
||||
void DisassemblerAgent::reload()
|
||||
{
|
||||
d->cache.clear();
|
||||
d->engine->fetchDisassembler(this);
|
||||
}
|
||||
|
||||
void DisassemblerAgent::setLocation(const Location &loc)
|
||||
{
|
||||
d->location = loc;
|
||||
|
||||
Reference in New Issue
Block a user