mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Started with some simulation to determine 'step into' symbol lookup
This commit is contained in:
parent
9413d3ded4
commit
6412a27f97
6 changed files with 118 additions and 20 deletions
|
@ -11710,15 +11710,16 @@ String WinDebugger::FindLineCallAddresses(intptr inAddress)
|
|||
if (!mDebugTarget->DecodeInstruction(addr, &inst))
|
||||
break;
|
||||
|
||||
*registers.GetPCRegisterRef() = addr;
|
||||
if (inst.IsCall())
|
||||
{
|
||||
bool addSymbol = true;
|
||||
|
||||
if (addr < (addr_target)inAddress)
|
||||
callAddresses += "-";
|
||||
callAddresses += EncodeDataPtr(addr, false);
|
||||
callAddresses += EncodeDataPtr(addr, false);
|
||||
|
||||
addr_target targetAddr = inst.GetTarget(®isters);
|
||||
addr_target targetAddr = inst.GetTarget(this, ®isters);
|
||||
if (targetAddr != 0)
|
||||
{
|
||||
String outSymbol;
|
||||
|
@ -11784,6 +11785,7 @@ String WinDebugger::FindLineCallAddresses(intptr inAddress)
|
|||
callAddresses += "\n";
|
||||
}
|
||||
|
||||
inst.PartialSimulate(this, ®isters);
|
||||
addr += inst.GetLength();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue