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]

[patch] python testsuite disappearing py-objfile-script-gdb.py


this fixes that py-objfile-script-gdb.py disappears when running the
testsuite with an
in-tree build.

had to rename the source file, since the auto-loading API is expecting
the destination
file to use the current name.

I'd also tried special casing the
remote_file host delete ${remote_python_file}

but couldn't figure out some dejagnu equivalent of if is_remote ||
(!is_remote && ${srcdir} == ".")
that special casing leaves it attempting to copy the file onto itself,
but dejagnu
seems to silently ignore that error.

The file hasn't been modified since its initial commit, so we aren't
losing a bunch of history,
just the reference to the atomic commit/other files it was first added with.

2011-07-06  Matt Rice <ratmice@gmail.com>

        * gdb.python/py-objfile-script-gdb.py: Renamed to
        py-objfile-script-gdb.py.in.
        * gdb.python/py-objfile-script-gdb.py.in: Renamed from
        py-objfile-script-gdb.py.
        * gdb.python/py-objfile-script.exp: Update reference to
        py-objfile-script-gdb.py.

Attachment: foo.diff
Description: Binary data


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