This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Lazy DECL_RTL breakage for weak alias


>How do I run the GDB testsuite?  What is a good GDB to use for
>testing?

This works generally the same way as gcc.  cvs co, configure, make, make check.
If you have a combined gcc/gdb tree, gdb will use the gcc in the combined tree.
Otherwise, gdb will use the gcc on your path, which means you need to install
your gcc build before you can test it against the gdb testsuite.

For a read-only checkout, you can do
cvs -z9 -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src login
{enter "anoncvs" as the password}
cvs -z9 -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src co gdb dejagnu
This is what is recommended by the gdb project page on sources.redhat.com.

I've been playing around a bit, but I can't create any testcases that lose
debug info other than the weak alias one I already have.  I think that is a
side-effect of how weak aliases work, and hence we may not find any other
similar problems.

Jim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]