Alpha: Fix the datatypes of some values read from the simulated kernel.

This commit is contained in:
Yi Xiang 2011-03-08 21:43:11 -08:00
parent 674b941282
commit d7b5508875

View file

@ -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;