aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-mi.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-11-29 16:10:46 +0000
committerAndrew Burgess <aburgess@redhat.com>2023-12-08 18:06:27 +0000
commitcff71358132db440b82747707b3c7c99efca6670 (patch)
treecee69b4345aed3217e0691c07ee19a7e286274ca /gdb/python/py-mi.c
parente59d0ad9bf8dfc4002835c8eee9e70e951c63d64 (diff)
downloadbinutils-cff71358132db440b82747707b3c7c99efca6670.zip
binutils-cff71358132db440b82747707b3c7c99efca6670.tar.gz
binutils-cff71358132db440b82747707b3c7c99efca6670.tar.bz2
gdb/testsuite: tighten up some end-of-line patterns
Following on from the previous commit, I searched the testsuite for places where we did: set eol "<some pattern>" in most cases the <some pattern> could be replaced with "\r\n" though in the stabs test I've switched to using the multi_line proc as that seemed like a better choice. In gdb.ada/info_types.exp I did need to add an extra use of $eol as the previous pattern would match multiple newlines, and in this one place we were actually expecting to match multiple newlines. The tighter pattern only matches a single newline, so we now need to be explicit when multiple newlines are expected -- I think this is a good thing. All the tests are still passing for me after these changes. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/py-mi.c')
0 files changed, 0 insertions, 0 deletions