Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: core files in testsuite directory
@ 2003-09-27  4:33 Michael Elizabeth Chastain
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Elizabeth Chastain @ 2003-09-27  4:33 UTC (permalink / raw)
  To: drow, gdb

drow> If the other tests _are_ supposed to generate core files (I don't
drow> know), then they should probably run in similar subdirectories.

Sounds good to me (but I admit I haven't looked at the code).

Also I regret that I approved gdb.c++/annota3.exp with the same
name as gdb.base/annota3.exp.  Dunno if we can move it now.
Certainly gdb.cp/annota3.exp has very little history to lose.

Michael C


^ permalink raw reply	[flat|nested] 5+ messages in thread
* core files in testsuite directory
@ 2003-09-26 17:40 David Carlton
  2003-09-26 17:49 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: David Carlton @ 2003-09-26 17:40 UTC (permalink / raw)
  To: gdb

My testsuite directory is littered with core files.  They're from
annota1, annota3 (the one in gdb.base, not the one in gdb.cp), and
signals.  The first two tests attempt to remove a file named 'core',
but the core files are actually named 'core.PID', so they stay around.

Some questions:

* I assume that all these tests are generating core files for
  legitimate reasons?  It's not entirely clear to me why they're being
  generated, but I don't really understand what signals lead to core
  files in the first place.

Assuming that's the case, we should presumably change the core file
cleanup function (and move it to lib/gdb.exp, for ease of sharing, and
have signals.exp call it as well).  So:

* What should the new cleanup function do?  Should it just try to
  remove core.*?  Or should it be passed the PID of the process in
  question, and only try to remove core.PID and core?

David Carlton
carlton@kealia.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-09-26 21:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-27  4:33 core files in testsuite directory Michael Elizabeth Chastain
  -- strict thread matches above, loose matches on Subject: below --
2003-09-26 17:40 David Carlton
2003-09-26 17:49 ` Daniel Jacobowitz
2003-09-26 18:12   ` David Carlton
2003-09-26 21:19     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox