Update libinproctrace.so path in lib/trace-support.exp
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 28 Feb 2020 23:58:17 +0000 (18:58 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 28 Feb 2020 23:58:37 +0000 (18:58 -0500)
commitf5e4608433541a29da8dddc0ceeb63d36c12dda5
treed86af74ce1fdc3a6fd29936deeebe6b4dc7a8b86
parentd7592e974706637058867b02626c52a30ef0a2ee
Update libinproctrace.so path in lib/trace-support.exp

Following the move to gdbserver to the top-level, the path to
libinproctrace.so in testsuite/lib/trace-support.exp is no longer valid.
This can be observed by running:

    $ make check TESTS="gdb.trace/ftrace.exp" RUNTESTFLAGS="--target_board=native-gdbserver"
    ...
    ERROR: error copying "/home/smarchi/build/binutils-gdb/gdb/testsuite/../gdbserver/libinproctrace.so": no such file or directory

Adjust the path to libinproctrace.so by adding a "..".  With this patch,
the test mentioned above runs fine.

gdb/testsuite/ChangeLog:

* lib/trace-support.exp (get_in_proc_agent): Adjust path to
libinproctrace.so.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/trace-support.exp
This page took 0.024897 seconds and 4 git commands to generate.