diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2005-03-27 00:18:55 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2005-03-27 00:18:55 +0000 |
commit | f3fb768d95b481c8ea49e100fe36bd0344923c57 (patch) | |
tree | d62b8b160fc985e10d0c25d3915ee838febf911d /gdb/testsuite | |
parent | a507073b25a138c2c3e5808c456137a499b270a0 (diff) | |
download | gdb-f3fb768d95b481c8ea49e100fe36bd0344923c57.zip gdb-f3fb768d95b481c8ea49e100fe36bd0344923c57.tar.gz gdb-f3fb768d95b481c8ea49e100fe36bd0344923c57.tar.bz2 |
* gdb.base/bigcore.c (main): Add missing mode argument in open
call.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/bigcore.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 55318f8..9d3f469 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-03-27 Andreas Schwab <schwab@suse.de> + + * gdb.base/bigcore.c (main): Add missing mode argument in open + call. + 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com> * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver diff --git a/gdb/testsuite/gdb.base/bigcore.c b/gdb/testsuite/gdb.base/bigcore.c index 9215b5a..5d0b4db 100644 --- a/gdb/testsuite/gdb.base/bigcore.c +++ b/gdb/testsuite/gdb.base/bigcore.c @@ -178,7 +178,8 @@ main () int fd; large_off_t tmp; unlink ("bigcore.corefile"); - fd = open ("bigcore.corefile", O_RDWR | O_CREAT | O_TRUNC | O_LARGEFILE); + fd = open ("bigcore.corefile", O_RDWR | O_CREAT | O_TRUNC | O_LARGEFILE, + 0666); for (tmp = 1; tmp > 0; tmp <<= 1) { if (large_lseek (fd, tmp, SEEK_SET) > 0) |