aboutsummaryrefslogtreecommitdiff
path: root/gprof/hist.c
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2018-02-01 14:50:23 +0000
committerYao Qi <yao.qi@linaro.org>2018-02-01 14:50:23 +0000
commitd4d38844faaff1576b021558d0835dedbd415e8d (patch)
tree7d232d7c5af53fe3b6c4c5a35cee718eb7e8a772 /gprof/hist.c
parente99955cd8eca9ac8eff828e8c7b676955fd46e04 (diff)
downloadbinutils-d4d38844faaff1576b021558d0835dedbd415e8d.zip
binutils-d4d38844faaff1576b021558d0835dedbd415e8d.tar.gz
binutils-d4d38844faaff1576b021558d0835dedbd415e8d.tar.bz2
Fix gdb.base/attach.exp fails when gdb is configured --with-sysroot=/
I see some test fails in gdb.base/attach.exp when gdb is configured --with-sysroot=/. FAIL: gdb.base/attach.exp: attach2, with no file FAIL: gdb.base/attach.exp: load file manually, after attach2 (re-read) (got interactive prompt) FAIL: gdb.base/attach.exp: attach when process' a.out not in cwd If gdb is configured this way, sysroot is "/" in default, and if binfile is a absolute path, the regexp pattern $sysroot$escapedbinfile is incorrect. There are different ways to fix it, but I don't want to complicate the test, so I choose this naive way. gdb/testsuite: 2018-02-01 Yao Qi <yao.qi@linaro.org> * gdb.base/attach.exp (do_attach_tests): Set sysroot to "\[^\r\n\]*".
Diffstat (limited to 'gprof/hist.c')
0 files changed, 0 insertions, 0 deletions