Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2009 17:13:30 GMT
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 169019 for review
Message-ID:  <200909291713.n8THDULj007937@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=169019

Change 169019 by stas@stas_yandex on 2009/09/29 17:12:38

	- Correctly initialize valgrind stack parameters.

Affected files ...

.. //depot/projects/valgrind/coregrind/m_syswrap/syswrap-amd64-freebsd.c#13 edit

Differences ...

==== //depot/projects/valgrind/coregrind/m_syswrap/syswrap-amd64-freebsd.c#13 (text+ko) ====

@@ -181,6 +181,8 @@
    ctst->tmp_sig_mask = ptst->sig_mask;
 
    /* Linux has to guess, we don't */
+   ctst->client_stack_highest_word = (Addr)tp.stack_base + tp.stack_size;
+   ctst->client_stack_szB = tp.stack_size;
    VG_(register_stack)((Addr)tp.stack_base, (Addr)tp.stack_base + tp.stack_size);
 
    /* Assume the thr_new will succeed, and tell any tool that wants to



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909291713.n8THDULj007937>