aboutsummaryrefslogtreecommitdiff
path: root/gdb/source-cache.h
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-04-15 16:54:21 +0200
committerTom de Vries <tdevries@suse.de>2022-04-15 16:54:21 +0200
commit04f521a6ef30fd6cffabb5c5c26574fd6474a2e9 (patch)
treeeb6aca670082a087563f979a5a5353f5b9e51ad4 /gdb/source-cache.h
parentd0632031920eeb48e28664ab18e0402a93b9f224 (diff)
downloadgdb-04f521a6ef30fd6cffabb5c5c26574fd6474a2e9.zip
gdb-04f521a6ef30fd6cffabb5c5c26574fd6474a2e9.tar.gz
gdb-04f521a6ef30fd6cffabb5c5c26574fd6474a2e9.tar.bz2
[gdb/testsuite] Fix gdb.go/methods.exp with check-readmore
When running test-case gdb.go/methods.exp with make check we have: ... (gdb) break main.T.Foo^M Function "main.T.Foo" not defined.^M Make breakpoint pending on future shared library load? (y or [n]) n^M (gdb) XFAIL: gdb.go/methods.exp: gdb_breakpoint: set breakpoint at main.T.Foo ... but with make check-readmore the XFAIL fails to trigger: ... (gdb) break main.T.Foo^M Function "main.T.Foo" not defined.^M Make breakpoint pending on future shared library load? (y or [n]) n^M (gdb) FAIL: gdb.go/methods.exp: gdb_breakpoint: set breakpoint at main.T.Foo ... This happens because this gdb_test_multiple "maintenance print symbols" regexp: ... -re "\r\n$gdb_prompt $" { ... matches the entire command output. Fix this by adding the missing ^ at the regexp start. Tested on x86_64-linux. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29064
Diffstat (limited to 'gdb/source-cache.h')
0 files changed, 0 insertions, 0 deletions