aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-04-15 16:53:08 +0200
committerTom de Vries <tdevries@suse.de>2022-04-15 16:53:08 +0200
commit552a161c8d9305aa1b6017de5bd5d9a4da55ea02 (patch)
treeb2399b0f25890db65e0d110dcc805d0d4f8e284b /gdb/configure
parent64bc82adf32f74d2d11aff6c8bf8690775491e91 (diff)
downloadgdb-552a161c8d9305aa1b6017de5bd5d9a4da55ea02.zip
gdb-552a161c8d9305aa1b6017de5bd5d9a4da55ea02.tar.gz
gdb-552a161c8d9305aa1b6017de5bd5d9a4da55ea02.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/configure')
0 files changed, 0 insertions, 0 deletions