diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2008-07-17 19:01:44 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2008-07-17 19:01:44 +0000 |
commit | becf64774cdedd594ecd268e5822bf7fc60333bc (patch) | |
tree | 89a5a0e0f54d9720b0e66f162947e96ffca21d36 | |
parent | 55028dd05b7b77b7930955b1025bf965eaba318e (diff) | |
download | gdb-becf64774cdedd594ecd268e5822bf7fc60333bc.zip gdb-becf64774cdedd594ecd268e5822bf7fc60333bc.tar.gz gdb-becf64774cdedd594ecd268e5822bf7fc60333bc.tar.bz2 |
Fix for gdb.base/corefile.exp failure on Linux
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/coremaker.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 377cff1..ae84e06 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com> + + * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp + 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com> * 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 2cfa15a..d743cc6 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; } - |