This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/testsuite] gdb.base/selftest.exp: work with optimization
- From: David Carlton <carlton at math dot stanford dot edu>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: gdb-patches at sources dot redhat dot com, fnasser at redhat dot com
- Date: 11 Dec 2002 14:27:19 -0800
- Subject: Re: [rfa/testsuite] gdb.base/selftest.exp: work with optimization
- References: <200212112215.gBBMFqh08988@duracef.shout.net>
On Wed, 11 Dec 2002 16:15:52 -0600, Michael Elizabeth Chastain <mec@shout.net> said:
> David Carlton writes:
> + # "current_directory initialization" possibilities happen to
> + # me with GCC 3.1 on i686-pc-linux-gnu when I compile with
> + # optimization.
> That is twice today you said "gcc 3.1" -- is that a think for gcc 3.2.1,
> or are you really testing with gcc 3.1?
I really am testing with GCC 3.1 most of the time: on my work machine,
that's what's installed in /usr/local/bin (though other GCC's are
installed elsewhere, and they sometimes get used).
Obviously it's not the most important version of GCC to test with, but
I haven't yet run into a compelling reason to upgrade to a more recent
version; and it probably doesn't hurt to have somebody testing GDB
with compilers other than 2.95-variants and 3.2.1. (Though your test
matrix now handles that issue quite nicely.) In the comment quoted
above, I have no reason to believe that the problem is specific to
3.1, but it seemed like a situation where it was worthwhile mentioning
the compiler that I happened to be using.
David Carlton
carlton@math.stanford.edu