Re: [patch/rfc/testsuite] Test GDB on not-so-little core files

Andrew Cagney
2004-01-14T15:07:54Z

>> testcase /house/chastain/gdb/s1/gdb/testsuite/gdb.base/bigcore.exp completed in 183 seconds
>> testcase src/gdb/testsuite/gdb.base/bigcore.exp completed in 4 seconds
>
>
> Figures prove: Linux dumps core faster! :)
>
> Part of the difference is that I'm using an NFS file system.

Nope. I'm using NFS on a weasly little 450mhz P2.

> But a lot of it may be sparse file support in Linux.

Yep. While sparse file support is a standard part of UFS, it appears
that only the Linux Kernel thought to exploit it when writing the core file!

> I can't comment on the program itself right now, maybe later.

Hmm, can you think of an efficient way of soaking up most of the stack
...? :-) On GNU/Linux, alloca() proved to be useless :-(

Andrew