Alpha: Fix the datatypes of some values read from the simulated kernel.
This commit is contained in:
@@ -103,7 +103,7 @@ class ThreadInfo
|
||||
int32_t
|
||||
curTaskPID(Addr thread_info = 0)
|
||||
{
|
||||
Addr offset;
|
||||
int32_t offset;
|
||||
if (!get_data("task_struct_pid", offset))
|
||||
return -1;
|
||||
|
||||
@@ -116,7 +116,7 @@ class ThreadInfo
|
||||
int64_t
|
||||
curTaskStart(Addr thread_info = 0)
|
||||
{
|
||||
Addr offset;
|
||||
int32_t offset;
|
||||
if (!get_data("task_struct_start_time", offset))
|
||||
return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user