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.
This commit is contained in:
parent
d7592e9747
commit
f5e4608433
|
@ -1,3 +1,8 @@
|
||||||
|
2020-02-28 Simon Marchi <simon.marchi@efficios.com>
|
||||||
|
|
||||||
|
* lib/trace-support.exp (get_in_proc_agent): Adjust path to
|
||||||
|
libinproctrace.so.
|
||||||
|
|
||||||
2020-02-28 Luis Machado <luis.machado@linaro.org>
|
2020-02-28 Luis Machado <luis.machado@linaro.org>
|
||||||
|
|
||||||
* gdb.arch/aarch64-fp.exp: Switch from "info registers" command
|
* gdb.arch/aarch64-fp.exp: Switch from "info registers" command
|
||||||
|
|
|
@ -374,7 +374,7 @@ proc get_in_proc_agent {} {
|
||||||
if [target_info exists in_proc_agent] {
|
if [target_info exists in_proc_agent] {
|
||||||
return [target_info in_proc_agent]
|
return [target_info in_proc_agent]
|
||||||
} else {
|
} else {
|
||||||
return $objdir/../gdbserver/libinproctrace.so
|
return $objdir/../../gdbserver/libinproctrace.so
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue