[patch] fix gdb.cp/ovsrch.exp pathname regexp fails
Stan Shebs
stanshebs@earthlink.net
Wed Apr 3 15:26:00 GMT 2013
On 4/2/13 10:34 AM, Sandra Loosemore wrote:
> We run remote i686-mingw32 host testing of our Canadian cross
> toolchains, and have observed that most of the gdb.cp/ovsrch.exp tests
> are failing across multiple targets in this test configuration.
>
> The problem is that the test harness is copying each source file into
> its working directory on the remote host and compiling it there, so that
> the source filename passed to g++ is just e.g.
> "ovsrch1.cc" instead of "/path/to/ovsrch1.cc". So, the debug
> information encoded in the file doesn't include a pathname prefix, and
> the file reported in the breakpoint hits doesn't include a pathname
> prefix, either. But, the regexp in ovrsrch.exp is expecting one.
>
> This one-character fix allows these tests to pass in this configuration.
> OK to commit?
Yes, this is fine, and thanks!
Stan
>
> -Sandra
>
> 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
>
> gdb/testsuite/
> * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
> empty directory in file reported for breakpoint hit.
>
More information about the Gdb-patches
mailing list