|
From: Tom H. <th...@cy...> - 2005-01-16 12:37:53
|
CVS commit by thughes:
Removed stack_guard_size from the thread state as it is no longer used.
M +0 -4 core.h 1.64
M +0 -1 vg_scheduler.c 1.210
M +0 -2 x86-linux/syscalls.c 1.13
--- valgrind/coregrind/core.h #1.63:1.64
@@ -675,8 +675,4 @@ struct _ThreadState {
Addr stack_base;
- /* The allocated size of this thread's stack's guard area (permanently
- zero if this is ThreadId == 0, since we didn't allocate its stack) */
- UInt stack_guard_size;
-
/* Address of the highest legitimate word in this stack. This is
used for error messages only -- not critical for execution
--- valgrind/coregrind/vg_scheduler.c #1.209:1.210
@@ -621,5 +621,4 @@ void VG_(scheduler_init) ( void )
VG_(threads)[i].stack_size = 0;
VG_(threads)[i].stack_base = (Addr)NULL;
- VG_(threads)[i].stack_guard_size = 0;
VG_(threads)[i].stack_highest_word = (Addr)NULL;
--- valgrind/coregrind/x86-linux/syscalls.c #1.12:1.13
@@ -276,5 +276,4 @@ static Int do_clone(ThreadId ptid,
ctst->stack_base = seg->addr;
ctst->stack_size = (Addr)PGROUNDUP(esp) - seg->addr;
- ctst->stack_guard_size = 0;
if (debug)
@@ -286,5 +285,4 @@ static Int do_clone(ThreadId ptid,
ctst->stack_base = 0;
ctst->stack_size = 0;
- ctst->stack_guard_size = 0;
}
|