Fix for gdb.base/corefile.exp failure on Linux

This commit is contained in:
Paul Pluzhnikov
2008-07-17 19:01:44 +00:00
parent 55028dd05b
commit becf64774c
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -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
+2 -1
View File
@@ -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;
}