PERFORCE change 169019 for review

Stanislav Sedov stas at FreeBSD.org
Tue Sep 29 17:13:31 UTC 2009


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

Change 169019 by stas at 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


More information about the p4-projects mailing list