This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFA] New constvars.exp tests
On Oct 17, 1:31pm, Kevin Buettner wrote:
> On Oct 17, 4:06pm, Fernando Nasser wrote:
>
> > This looks good. If I am not mistaken, your patch that fixes the
> > printing has been already committed so these tests will either PASS or
> > XFAIL.
>
> You're right; the patch is in, but I recall seeing XPASSes for my new
> tests (along with a lot of other tests) when I used Dwarf 2. I
> suspect that something's going wrong with the following code:
>
> proc local_compiler_xfail_check { } {
> global gcc_compiled;
>
> if {$gcc_compiled} then {
> if { ![test_debug_format "HP"] \
> && ![test_debug_format "DWARF 2"] } then {
> setup_xfail "*-*-*"
> }
> }
> }
>
> I'm double checking and looking into it now...
It turns out that the above check is okay. It's gdb's ``info source''
command which is having problems. When I configure & build gdb using
absolute paths, I'm NOT seeing the problem, but when I'm using relative
paths, I am. Still haven't completely figured it out yet.
Anyway, I don't think it's a testsuite problem, but a gdb problem
instead.
Kevin