This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] Dwarf2 testsuite
- From: Michael Chastain <mec dot gnu at mindspring dot com>
- To: gdb-patches at sources dot redhat dot com, drow at false dot org
- Date: Fri, 08 Oct 2004 15:45:28 -0400
- Subject: Re: [rfa] Dwarf2 testsuite
- References: <20041008183500.GA6625@nevyn.them.org>
Okay, I threw this in my in-queue and I'll reply on Sunday (estimated).
Some random comments:
. It's okay to have tests that execute on some systems and not others,
as long as gnu/hurd and gnu/linux are included. This is actually
covered in section 6, "platforms to support", in
http://www.fsf.org/prep/maintain/maintain.html
. Makefile.in needs a copyright notice. Actually all those little
subdirectories shouldn't even need configure/makefile stuff,
but I don't wanna get into that right now.
. The self-documenting bit is cool, just leave a comment
"compile the file and run readelf -w to see what is going on".
In fact you might want to strip the comments from this file,
because when I go to debug something with a file like this,
I don't trust the comments in the file anyways.
. We definitely need some infrastructure to return what the
debug format is, but you can just ignore that and do whatever
for now, as long as it doesn't totally blow up when I explicitly
test with "runtest /gdb:debug_flags=-gstabs+ -g2".
More on Sunday.
Michael
2004-10-08 Daniel Jacobowitz <dan@debian.org>
* configure.in: Add gdb.dwarf2.
* configure: Regenerated.
* Makefile.in: Add gdb.dwarf2.
* gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c, gdb.dwarf2/file1.txt,
gdb.dwarf2/file2.txt: New files.