From: Philippe Waroquiers Date: Fri, 13 Apr 2012 17:27:40 +0000 (+0000) Subject: Fix 297992 Support systems missing WIFCONTINUED (e.g. pre-2.6.10 Linux) X-Git-Tag: svn/VALGRIND_3_8_0~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69c15d080ca8212709741bff8c8034ad8f23f54c;p=thirdparty%2Fvalgrind.git Fix 297992 Support systems missing WIFCONTINUED (e.g. pre-2.6.10 Linux) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12503 --- diff --git a/NEWS b/NEWS index 1f4bd55555..65e79f8519 100644 --- a/NEWS +++ b/NEWS @@ -80,6 +80,7 @@ where XXXXXX is the bug number as listed below. n-i-bz s390x: Shadow registers can now be examined using vgdb 297078 gdbserver signal handling problems caused by diff vki nr/gdb nr and non reset of "C-ontinued" signal +297992 Support systems missing WIFCONTINUED (e.g. pre-2.6.10 Linux) Release 3.7.0 (5 November 2011) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/coregrind/vgdb.c b/coregrind/vgdb.c index 06e37e6792..46b2cfd688 100644 --- a/coregrind/vgdb.c +++ b/coregrind/vgdb.c @@ -439,8 +439,10 @@ char *status_image (int status) if (WIFSTOPPED(status)) APPEND ("WIFSTOPPED %d ", WSTOPSIG(status)); +#ifdef WIFCONTINUED if (WIFCONTINUED(status)) APPEND ("WIFCONTINUED "); +#endif return result; #undef APPEND