mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[248084] [traditional memory rendering] IMemoryBlockConnection adapter should track BigBaseAddress
This commit is contained in:
parent
fb9f3b039c
commit
2160dbc2d3
2 changed files with 15 additions and 2 deletions
|
@ -1691,8 +1691,13 @@ public class Rendering extends Composite implements IDebugEventSetListener
|
||||||
fIsDisplayLittleEndian = littleEndian;
|
fIsDisplayLittleEndian = littleEndian;
|
||||||
|
|
||||||
fireSettingsChanged();
|
fireSettingsChanged();
|
||||||
|
Display.getDefault().asyncExec(new Runnable(){
|
||||||
|
public void run()
|
||||||
|
{
|
||||||
layoutPanes();
|
layoutPanes();
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
public void setBytesPerColumn(int byteCount)
|
public void setBytesPerColumn(int byteCount)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1183,8 +1183,16 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
|
||||||
Display display = DebugUIPlugin.getDefault().getWorkbench().getDisplay();
|
Display display = DebugUIPlugin.getDefault().getWorkbench().getDisplay();
|
||||||
display.asyncExec(new Runnable() {
|
display.asyncExec(new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
try
|
||||||
|
{
|
||||||
|
fBigBaseAddress = TraditionalRendering.this.fRendering.getMemoryBlock().getBigBaseAddress();
|
||||||
|
TraditionalRendering.this.fRendering.gotoAddress(fBigBaseAddress);
|
||||||
TraditionalRendering.this.fRendering.refresh();
|
TraditionalRendering.this.fRendering.refresh();
|
||||||
}
|
}
|
||||||
|
catch (DebugException e)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue