From: Tom Hughes Date: Mon, 4 Apr 2005 07:15:04 +0000 (+0000) Subject: Removed references to client_stack_base which no longer exists. X-Git-Tag: svn/VALGRIND_3_0_0~799 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eaea598d4182496b3a45da38af026afcfe6767ef;p=thirdparty%2Fvalgrind.git Removed references to client_stack_base which no longer exists. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3519 --- diff --git a/coregrind/amd64-linux/syscalls.c b/coregrind/amd64-linux/syscalls.c index c9d39e8cbf..21dda51c14 100644 --- a/coregrind/amd64-linux/syscalls.c +++ b/coregrind/amd64-linux/syscalls.c @@ -364,10 +364,8 @@ static Int do_clone(ThreadId ptid, only go down to the start of the mmaped segment. */ seg = VG_(find_segment)((Addr)rsp); if (seg) { - ctst->client_stack_base = seg->addr; ctst->client_stack_highest_word = (Addr)PGROUNDUP(rsp); - ctst->client_stack_szB = ctst->client_stack_highest_word - - ctst->client_stack_base; + ctst->client_stack_szB = ctst->client_stack_highest_word - seg->addr; if (debug) VG_(printf)("tid %d: guessed client stack range %p-%p\n", @@ -375,7 +373,6 @@ static Int do_clone(ThreadId ptid, } else { VG_(message)(Vg_UserMsg, "!? New thread %d starts with RSP(%p) unmapped\n", ctid, rsp); - ctst->client_stack_base = 0; ctst->client_stack_szB = 0; }