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,7 +1691,12 @@ public class Rendering extends Composite implements IDebugEventSetListener
|
|||
fIsDisplayLittleEndian = littleEndian;
|
||||
|
||||
fireSettingsChanged();
|
||||
layoutPanes();
|
||||
Display.getDefault().asyncExec(new Runnable(){
|
||||
public void run()
|
||||
{
|
||||
layoutPanes();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void setBytesPerColumn(int byteCount)
|
||||
|
|
|
@ -1183,7 +1183,15 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
|
|||
Display display = DebugUIPlugin.getDefault().getWorkbench().getDisplay();
|
||||
display.asyncExec(new Runnable() {
|
||||
public void run() {
|
||||
TraditionalRendering.this.fRendering.refresh();
|
||||
try
|
||||
{
|
||||
fBigBaseAddress = TraditionalRendering.this.fRendering.getMemoryBlock().getBigBaseAddress();
|
||||
TraditionalRendering.this.fRendering.gotoAddress(fBigBaseAddress);
|
||||
TraditionalRendering.this.fRendering.refresh();
|
||||
}
|
||||
catch (DebugException e)
|
||||
{
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue