Re: [obish] Convert attach.exp to gdb_test_multiple

Michael Elizabeth Chastain
2004-07-12T18:25:22Z

mec> add a couple lines at the top:
mec> netbsd/ppc
mec> kernel version number
mec> compiler name and version number
mec> mail to gdb-testers@

ac> Should there be a gdb/gdb_XXX.sh script that does this, or the
ac> generation of the file made part of make check?

This is one of my projects, when I get some more round tuit's.

My test bed generates a gdb-test-run.xml file for each test run.
Here is one of the files:

<gdb-test-run version='11' uuid='1a7cf0fa-611f-4563-976e-555e9223b05e' group='2004-06-19' target='native' host='i686-pc-linux-gnu' osversion='redhat-8.0' dejagnu='1.4.4' expect='5.41' tcl='8.4.6' gdb='HEAD' suite='HEAD' gcc='3.3.3' as='2.15' ld='2.15' glibc='2.2.93-5-rh' gformat='dwarf-2' glevel='2'/>

This DTD needs some more work. The fields 'gcc', 'as', and 'ld'
assume that I am using gnu tools. I need to generalize it to something
like:

<compiler name='gcc' version='3.3.3'/>
<compiler name='hpacc' version='A.03.45'/>

Also the version of 'gdb' does not include the cvs timestamp when
it was checked out.

My plan is to work on the XML format some more, and then have 'make
check' emit this chunk of XML at the beginning of gdb.sum and gdb.log.
Then we can collect gdb.sum files from divers sources and crunch them
all together. We could even revive Terf and have people submit their
gdb.sum files to it.

Michael C