|
From: Craig C. <cc...@us...> - 2005-07-07 17:35:26
Attachments:
sigaltstack.patch
|
Hi, This patch applies to Paul Mackerras' latest Valgrind PPC port (http://valgrind.org/downloads/pmk/valgrind-2.4.0-ppc.tar.bz2). When returning from a signal running on a stack specified with the sigaltstack() call, we were invalidating all of the memory between the location of the sigaltstack and the original stack location. The attached patch corrects this by detecting the alternate stack in the signal_return code, and modifying the area of invalidated memory as appropriate. Thanks, Craig -- Craig Chaney cc...@us... |