This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.base/bigcore.c ...
- From: cagney at sourceware dot org
- To: gdb-cvs at sources dot redhat dot com
- Date: 24 Sep 2004 18:44:56 -0000
- Subject: src/gdb/testsuite ChangeLog gdb.base/bigcore.c ...
CVSROOT: /cvs/src
Module name: src
Changes by: cagney@sourceware.org 2004-09-24 18:44:56
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: bigcore.c bigcore.exp
Log message:
2004-09-24 Andrew Cagney <cagney@redhat.com>
David Anderson <anderson@redhat.com>
* gdb.base/bigcore.exp (extract_heap): If the expect "file size"
command fails, assume things will work.
* gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
(_GNU_SOURCE): Define.
(print_unsigned, print_hex): Change parameter to "long long".
(print_byte_count): New function, use to print byte counts.
(large_off_t, large_lseek, O_LARGEFILE): Define dependant on
O_LARGEFILE.
(main): Compute an upper bound on a corefile in max_core_size.
Limit memory chunk size to max_core_size. Limit total memory
allocated to max_core_size.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1035&r2=1.1036
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/bigcore.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/bigcore.exp.diff?cvsroot=src&r1=1.9&r2=1.10