From: Paul Pluzhnikov Date: Thu, 17 Jul 2008 19:01:44 +0000 (+0000) Subject: Fix for gdb.base/corefile.exp failure on Linux X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=becf64774cdedd594ecd268e5822bf7fc60333bc;p=binutils-gdb.git Fix for gdb.base/corefile.exp failure on Linux --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 377cff1224e..ae84e068e7a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-07-17 Paul Pluzhnikov + + * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp + 2008-07-15 Paul Pluzhnikov * gdb.cp/class2.exp: fix for failure on spu-elf diff --git a/gdb/testsuite/gdb.base/coremaker.c b/gdb/testsuite/gdb.base/coremaker.c index 2cfa15aee45..d743cc6b439 100644 --- a/gdb/testsuite/gdb.base/coremaker.c +++ b/gdb/testsuite/gdb.base/coremaker.c @@ -96,6 +96,8 @@ mmapdata () return; } } + /* Touch buf2 so kernel writes it out into 'core'. */ + buf2[0] = buf1[0]; } void @@ -137,4 +139,3 @@ int main () func1 (); return 0; } -