* Add interface TeamTypeInformation and implement in TeamDebugInfo. Pass along
to various classes that need a reference to it in order to allow value nodes to look up type information from the target team. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42354 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -252,7 +252,8 @@ TeamDebugger::Init(team_id teamID, thread_id threadID, bool stopInMain)
|
||||
|
||||
// create a team object
|
||||
fTeam = new(std::nothrow) ::Team(fTeamID, fDebuggerInterface,
|
||||
fDebuggerInterface->GetArchitecture(), teamDebugInfo);
|
||||
fDebuggerInterface->GetArchitecture(), teamDebugInfo,
|
||||
teamDebugInfo);
|
||||
if (fTeam == NULL)
|
||||
return B_NO_MEMORY;
|
||||
|
||||
@@ -625,9 +626,8 @@ TeamDebugger::ValueNodeValueRequested(CpuState* cpuState,
|
||||
// schedule the job
|
||||
status_t error = fWorker->ScheduleJob(
|
||||
new(std::nothrow) ResolveValueNodeValueJob(fDebuggerInterface,
|
||||
fDebuggerInterface->GetArchitecture(), cpuState, container,
|
||||
valueNode),
|
||||
this);
|
||||
fDebuggerInterface->GetArchitecture(), cpuState,
|
||||
fTeam->GetTeamTypeInformation(), container, valueNode), this);
|
||||
if (error != B_OK) {
|
||||
// scheduling failed -- set the value to invalid
|
||||
valueNode->SetLocationAndValue(NULL, NULL, error);
|
||||
|
||||
Reference in New Issue
Block a user