Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
To: brobecker@gnat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFA/testsuite] Some feedback about bigcore.exp...
Date: Sat, 13 Mar 2004 02:08:00 -0000	[thread overview]
Message-ID: <20040313020758.511364B104@berman.michael-chastain.com> (raw)
Message-ID: <20040313020800.pFPTAZWOALyABwK40yT7f5kKJm3AXmm0bqDCmoeIQTo@z> (raw)

My thoughts ...

It's really more of a per-site thing, which to me means an environment
variable.  I know the dejagnu way would be to set a variable in site.exp
but I really prefer to work with environment variables.

The default is to run the test in order to flush out more bugs on more
architectures but perhaps we could have an easy way to suppress this
test and then document that way.  It's tough to run a regression test
suite when one of the 300 test scripts bangs so many operating systems
so hard.

The core file should not fill up the disk as long as the operating
system and the file system dump core files as sparse files.
(Cheat sheet: think of a file as an array of blocks.  For a "sparse
file", the file system does not store blocks which are all 0's.
All the system calls like read(2) and write(2) work normally but there
are less blocks needed on the disk than the size of the file.)

I'm running red hat linux 8 with kernel 2.4.8-14 on an ext3 file system
and my core files are sparse.  What kernel/file-system do you have
where the core files actually take up that much space?

I wish there were a portable way to compress sparse files quickly and
easily.  I'm using "tar cSf ..." to manage these files followed by bzip2
but that is gnu-specific.

Michael C


             reply	other threads:[~2004-03-13  2:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-19  0:09 Michael Elizabeth Chastain [this message]
2004-03-13  2:08 ` Michael Elizabeth Chastain
2004-03-19  0:09 ` Joel Brobecker
2004-03-13  4:42   ` Joel Brobecker
2004-03-19  0:09   ` Daniel Jacobowitz
2004-03-13 16:58     ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2004-03-19  0:09 Joel Brobecker
2004-03-12 22:21 ` Joel Brobecker
2004-03-19  0:09 ` Andrew Cagney
2004-03-15 16:26   ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040313020758.511364B104@berman.michael-chastain.com \
    --to=mec.gnu@mindspring.com \
    --cc=brobecker@gnat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox