binutils-gdb/gdb/doc
Tom Tromey 5e92f71a86 introduce parallel mode
This introduces parallel mode for the test suite.

It doesn't fully work yet in the sense that if you do a fully parallel
run, you will encounter some file-name clashes, but this has to start
somewhere, and it seemed best to add some infrastructure now, so that
you can follow along and test subsequent patches if you care to.

This patch has two parts.

First, it checks for the GDB_PARALLEL variable.  If this is set (say,
on the runtest command line), then the test suite assumes "parallel
mode".  In this mode, files are put into a subdirectory named after
the test.  That is, for DIR/TEST.exp, the outputs are put into
./outputs/DIR/TEST/.

This first part has various follow-on changes coming in subsequent
patches.  This is why the code in this patch also makes "temp" and
"cache" directories.

Second, this adds an "inotify" mode.  If you have the inotifywait
command (part of inotify-tools), you can set the GDB_INOTIFY variable.
This will tell the test suite to watch for changes outside of the
allowed output directories.

This mode is useful for debugging the test suite, as it issues a
report whenever a possibly parallel-unsafe file open is done.

2013-08-13  Tom Tromey  <tromey@redhat.com>
	    Yao Qi  <yao@codesourcery.com>

	* lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
	* lib/gdb.exp: Handle GDB_PARALLEL.
	(default_gdb_version): Kill inotify_pid if it exists.
	(default_gdb_exit): Emit warning if the inotify log is not
	empty.
	(standard_output_file): Respect GDB_PARALLEL.
	(standard_temp_file): Likewise.
	(gdb_init): Start inotifywait if requested.

	* gdbint.texinfo (Testsuite): Use @table, not @itemize.
	Document GDB_PARALLEL and GDB_INOTIFY.
2013-08-13 16:12:04 +00:00
..
ChangeLog introduce parallel mode 2013-08-13 16:12:04 +00:00
Makefile.in move version.in from gdb/common back to gdb 2013-06-28 18:59:51 +00:00
a4rc.sed
agentexpr.texi Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
all-cfg.texi Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
annotate.texinfo Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
fdl.texi 2010-06-21 Stan Shebs <stan@codesourcery.com> 2010-06-21 16:24:59 +00:00
gdb.texinfo doc: gdbserver allows for subsequent and not for multiple simultaneous connections. 2013-08-05 15:39:25 +00:00
gdbint.texinfo introduce parallel mode 2013-08-13 16:12:04 +00:00
gpl.texi * gpl.texi: Update to version 3 of the GPL. 2009-12-21 07:30:10 +00:00
lpsrc.sed
observer.texi gdb/doc: 2013-02-06 14:45:20 +00:00
psrc.sed
refcard.tex Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
stabs.texinfo Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
stack_frame.eps From Jeremy Bennett <jeremy.bennett@embecosm.com>: 2009-03-21 14:35:04 +00:00
stack_frame.pdf From Jeremy Bennett <jeremy.bennett@embecosm.com>: 2009-03-21 10:24:35 +00:00
stack_frame.png From Jeremy Bennett <jeremy.bennett@embecosm.com>: 2009-03-21 10:24:35 +00:00
stack_frame.svg From Jeremy Bennett <jeremy.bennett@embecosm.com>: 2009-03-21 10:24:35 +00:00
stack_frame.txt From Jeremy Bennett <jeremy.bennett@embecosm.com>: 2009-03-21 10:24:35 +00:00