<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Hi,</div>
<div><br>
</div>
<div>I am porting lldb for our DSP architecture, starting with Process (our target does not support the GDB remote protocol) and ABI plugins.</div>
<div><br>
</div>
<div>The issue I am facing is that lldb expects the pc to be a byte address, whereas our architecture encodes it as a dword address. </div>
<div><br>
</div>
<div>I do the translation from dword to byte pointer in our implementations of RegisterContext::ReadRegister and ABI::FixCodeAddress.</div>
<div><br>
</div>
<div>With those modifications, I get the pc in bytes for frame #0. But frame #1 gets a dword pc from the UnwindPlan created by our ABI::CreateDefaultUnwindPlan implementation, and I do not see ABI::FixCodeAddress called for that address.</div>
<div><br>
</div>
<div>Are there other places I should modify to ensure that all pc addresses are translated?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><span style="font-size: 10pt;">-Philippe</span></div>
</div>
</body>
</html>