This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] fix remote host test failures in gdb.base/dup-sect.exp


On 04/04/2013 05:09 AM, Pedro Alves wrote:
On 04/04/2013 04:15 AM, Sandra Loosemore wrote:
The two tests at the end of gdb.base/dup-sect.exp have been failing in remote-host
i686-mingw32 testing because the file containing the stripped debug information isn't
being made available on the remote host.  I stole this fix from another test case
that also uses gdb_gnu_strip_debug to produce separate debug info.

Hmm, from which test?  I can't seem to find any that does this.
Could it be you've copied from a local change in some other test?

It looks like both this test and gdb_gnu_strip_debug run the
build machine's strip/objcopy.  How did that work?  Did you
happen to have i686-mingw32-strip / i686-mingw32-objcopy in the path
in the build machine?

Ah, you are right -- we have a local patch that hacks gdb_gnu_strip_debug to DTRT and adds the remote-host copy code to gdb.base/sepdebug.exp.

I'll withdraw this patch since we clearly need to merge it with the other unsubmitted changes. Or, a simpler but less useful change would be do disable all the tests that depend on separate debug information in remote-host testing.

-Sandra


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